Commit Graph

16236 Commits

Author SHA1 Message Date
Tom Henderson
d511fdce79 doc: Update Python API scanning commands 2022-04-02 13:32:30 -07:00
Stefano Avallone
e681096530 wifi: Fix assert condition in HeFEM::ReceiveMpdu()
Other FEMs have the correct condition.
2022-04-02 18:28:02 +02:00
Tommaso Pecorella
41992a8918 network: Simplify and trim down NixVector 2022-04-02 12:08:53 +02:00
Tommaso Pecorella
a08961be42 nix-vector-routing: (fixes #567) Rebuild NixVector if topology changes 2022-04-02 11:57:03 +02:00
Gabriel Ferreira
72e6105195 build: CMake and ns3 fixes
Includes:
- print error message instead of forwarding posix signals in ns3
- supress printing of "Finished executing commands..." for ./ns3 run
- fix ns3 typos and formatting issues
- add verbose options and make doxygen/doxygen-no-build verbose
- re-enable printing of build messages in ./ns3 run
- refactor ns3 dry_run, quiet, jobs and verbose arguments
- check if examples subdirectories have a CMakeLists.txt
2022-04-01 23:44:49 -03:00
Gabriel Ferreira
1a76009b69 build: do not treat deprecation warnings as errors 2022-04-01 19:33:41 -03:00
Gabriel Ferreira
d3f9e0742f build, doc: add "--trace-performance" argument to ns3 configure 2022-04-01 14:50:21 -03:00
Gabriel Ferreira
592a6b4c8d build: use symlinks to headers and fallback to stub headers in unsupported platforms 2022-04-01 14:50:21 -03:00
Pierre Wendling
7b24d1fafb core-config: Fix header detection and conflict.
- Fixed `sys/stat.h` detection.
- Fixed `HAVE_PTHREAD_H` define to avoid warning with Python includes.
- Added missing quotes for the semaphore include check.
2022-03-31 20:52:35 -04:00
Tom Henderson
f5de69a424 wifi: Add missing space before context string 2022-03-31 16:31:10 -07:00
Stefano Avallone
59bd588698 wifi: (fixes #609) STA checks that a Multi-STA BA is sent by the AP it is associated with 2022-03-29 19:09:43 +02:00
Stefano Avallone
c01e14c43f wifi: Workaround to avoid a crash when expecting a TB PPDU and receiving a pre-11ax PPDU
A real fix requires to review the PHY design so that a PHY entity can
somehow control the reception of PPDUs of previous modulation classes.
2022-03-29 19:02:35 +02:00
Tommaso Pecorella
77a70fb5c7 lte: fix uninitialized warning in tests 2022-03-28 01:18:12 +02:00
Tommaso Pecorella
9dc17ea4a7 ci: fix fedora build 2022-03-28 00:43:32 +02:00
Gabriel Ferreira
cbb7628473 build, docs: fixes find_external_library header search paths and docs
Includes:
- search for headers in the library directory when using find_external_library
- prevent module processing (brite, click and openflow) from continuing if ${dependency_name}_FOUND is not set
2022-03-25 23:30:04 -03:00
Gabriel Arrobo
9beeff24f3 Replace Ptr (this) with this 2022-03-24 11:24:14 -07:00
Stefano Avallone
ee2a5e4fd2 wifi: Avoid possible crashes in WifiMac::GetQosTxop() 2022-03-23 18:47:31 +01:00
Tolik Zinovyev
07f9bd4ccb core: Simplify a line in int64x64-128.cc. 2022-03-22 09:51:17 -07:00
Davide Magrin
df05ad1210 wifi: Set wifi-spatial-reuse.cc to use 20 MHz BW
This commit adapts the example to use the new way of specifying channel,
bandwidth and band via the ChannelSettings attribute, solving a
regression that caused it to use an 80 MHz bandwidth instead of the 20
MHz it was originally calibrated with.

In addition, it also expands the script description to reflect the
discussions in !873 and #566.
2022-03-21 13:57:12 -07:00
Tommaso Pecorella
d5ca973afb examples: Clarify variable names in tcp-variants-comparison.cc 2022-03-21 13:50:10 -07:00
Tommaso Pecorella
e576878f22 examples: (fix #575) Update tcp-variants-comparison to log multiple flows 2022-03-21 13:48:37 -07:00
Mohit P. Tahiliani
452750347b examples: Hook trace source after application starts in BBR example 2022-03-20 18:30:18 +05:30
Gabriel Ferreira
e5c6d63c5c build: search for "lib" prefix before trying to remove it
Fixes https://gitlab.com/nsnam/ns-3-dev/-/issues/601
2022-03-18 15:14:37 -03:00
Gabriel Ferreira
3ee4eb41cb build: fix remaining "lib" prefix removal steps in CMake 2022-03-17 21:48:01 -03:00
Gabriel Ferreira
6a6b785c5f build,test: fixing CMake and ns3 issues and adding a test case
Includes:
- refactoring lib prefix removal and library dependency checking (fixes #598)
- add new test case for test-ns3.py to test library names
- fix ns3 issue, not accepting to build contrib libraries
- ignore gitlab-ci-local directory in test-ns3.py
2022-03-17 13:55:54 -03:00
Gabriel Ferreira
7a3cf8ce8d git: ignore gitlab-ci-local directory 2022-03-17 13:55:54 -03:00
Sharan Naribole
c124d8b387 wifi: (fixes #600) Fix HT Operation Primary Channel setting 2022-03-17 11:48:37 +01:00
Stefano Avallone
a8ed77f66f wifi: Release sequence numbers of MPDUs dropped after CTS timeout
...if MPDUs have never been transmitted
2022-03-17 09:19:06 +01:00
Stefano Avallone
815942a5cc wifi: Ensure ADDBA Request frame is queued 2022-03-17 09:19:02 +01:00
Tolik Zinovyev
f3c2163658 wifi: Return a const reference from WifiMode::GetUniqueName() 2022-03-15 09:35:01 +00:00
Gabriel Arrobo
10d4dd2023 network: Remove unnecessary casts 2022-03-14 12:29:24 -07:00
Gabriel Ferreira
dcd0ed947c build: fix --enable-sudo behavior when set during configuration 2022-03-13 22:34:13 -03:00
Eduardo Almeida
c1bef60926 build: Automatically detect file changes in scratch directory 2022-03-13 22:16:00 +00:00
Gabriel Ferreira
1621b331c1 mobility: initialize variables 2022-03-13 21:23:47 +00:00
Gabriel Ferreira
cd1308e3ad test: reconfigure ns-3 between bindings and ambiguity tests 2022-03-13 21:23:47 +00:00
Gabriel Ferreira
26f548fe6c lte,bindings: return string instead of reference to fix python bindings 2022-03-13 21:23:47 +00:00
Gabriel Ferreira
2298d97452 doc: update build profile docs and add CMake profiling subsection 2022-03-13 21:23:47 +00:00
Gabriel Ferreira
7652192eb6 util: fix create-module.py example source file 2022-03-13 21:23:47 +00:00
Gabriel Ferreira
fbebb61a6f build: refactoring CMake and ns3
Includes:
- summarize ns3 commands on top-level --help
- add --quiet as a post-positional argument
- refactor verbose variable names
- aggregate ./ns3 --check-config|profile|version into ./ns3 show config|profile|version
- remove ns3 --check deprecated option
- set VERBOSE environment variable when building/running with -v/--verbose
  https://gitlab.com/nsnam/ns-3-dev/-/issues/590#note_870520212
- enable verbose Makefiles when NS3_VERBOSE is enabled
  https://gitlab.com/nsnam/ns-3-dev/-/issues/590
- introduce default build profile and refactor others
  https://gitlab.com/nsnam/ns-3-dev/-/issues/591
- use "-Og" in "CMAKE_BUILD_TYPE=Debug"/"ns3 -d debug"
- add back FindPython3 and fallback to FindPythonInterp if needed
- redirect pybindgen apiscan output to apiscan.log
- enable CMAKE_FIND_DEBUG_MODE with NS3_VERBOSE and CMake >= 3.17
- add search path logging to find_external_library
  Requires NS3_VERBOSE=ON. This is an anternative to CMAKE_FIND_DEBUG_MODE=true available in CMake >= 3.17
- remove C support
- reduce Int128 checks
- fuse Boost Units Quantity and SI header checks
- replace not found messages with skipping
2022-03-13 21:23:47 +00:00
Gabriel Ferreira
f728b1f8d0 doc: complement how CMake searches for external libraries 2022-03-13 21:23:47 +00:00
Tommaso Pecorella
a18442eb95 sixlowpan: prevent confusion in traces origin 2022-03-13 22:21:00 +01:00
Robin Lee
221b3deb79 Fix #592: Update lte-rrc-protocol-ideal.cc to solve SIB2 repeatedly reception issue 2022-03-10 09:14:21 +00:00
Stefano Avallone
2422e2dc4d wifi: Remove WifiPhy deprecated functions 2022-03-08 10:17:38 +01:00
Stefano Avallone
424fbd53fe wifi: Add TX center frequency to WifiSpectrumSignalParameters
In this way, SpectrumWifiPhy::StartRx() does not have to obtain
the transmitting PHY just to retrieve the TX center frequency. Also,
the current approach does not work with multi-link devices because the
receiver should be able to know which PHY was used on the transmitter
side to send the frame.
2022-03-08 10:15:43 +01:00
Tommaso Pecorella
1ada1e8db1 doc: add section on GitLab CI skip option 2022-03-05 03:24:03 +01:00
Stefano Avallone
e6709c8bee wifi: Align behavior of WifiMac::GetTxopQueue to that of WifiMac::GetQosTxop 2022-03-04 13:37:55 +01:00
Szymon Szott
bd5a7b4ff1 wifi: fix typo in wifi-backward-compatibility.cc 2022-03-02 09:21:19 +00:00
Gabriel Ferreira
fbc729459c build: GSL and ns3/CMake fixes
Includes:
- add GSL include directories and libraries for wifi
- expose enable/disable GSL option in ns3
- refactor ns3 options list
- cmake formatting
2022-03-01 12:36:28 -03:00
Stefano Avallone
5ddc687725 wifi: Remove unused QosTxop member variable 2022-03-01 11:16:27 +01:00
Tom Henderson
97b2b5e597 lte: (merges !810) Fix doxygen warnings, documentation, logging, style 2022-02-28 12:44:29 -08:00