Commit Graph

13094 Commits

Author SHA1 Message Date
Gabriel Ferreira
8966f4c870 build: link libraries with no file extensions to the static ns-3 build 2022-04-23 13:21:14 -03:00
Gabriel Ferreira
4b83eb7085 build: Fix features and make pthread an explicit dependency
Includes:
- Include threads sources even when NS3_PTHREAD=OFF
- Do not include realtime sources if NS3_REALTIME=OFF
- Disable tap-bridge if emulation or realtime features are disabled
- Build tap examples when tap-netdevice is enabled
- Remove NS3_PTHREAD option and make it an explicit requirement
2022-04-23 13:21:13 -03:00
Tom Henderson
b6a03e74f5 netanim: Add file to track required netanim version 2022-04-21 14:14:41 -07:00
Gabriel Ferreira
f43c79b0a3 build: Only link DPDK libraries when enabled 2022-04-20 19:43:52 -03:00
Gabriel Ferreira
819877045f build: Remove unused CMake code 2022-04-20 18:39:33 -03:00
Tom Henderson
c5a2b513cd wifi: Small updates to three example programs.
* wifi-80211n-mimo.cc:  Add option to disable preamble detection
* wifi-bianchi.cc:  Update comment to account for more Wi-Fi standards
* wifi-simple-infra.cc:  Update stale comments and some minor style cleanup
2022-04-19 11:28:38 -07:00
Tom Henderson
a614114865 bindings: Rescan all APIs 2022-04-18 15:30:35 -07:00
Tom Henderson
c78ae3cc48 mesh: Remove forward declaration (for bindings) 2022-04-18 13:39:38 -07:00
Tom Henderson
8e4376a202 wifi: (reverts !899) Avoid return value conflicting with Python bindings
As discussed in #613, MR !899 introduced a return value that is causing
problems with the Python bindings.
2022-04-18 13:37:46 -07:00
Stefano Avallone
51b89bcf54 wifi: Fix L-SIG length computation for HE TB PPDUs 2022-04-18 13:19:37 -07:00
Tom Henderson
71e942a461 wifi: (fixes #628) Use ASSERT test macros outside of callbacks 2022-04-18 12:37:38 -07:00
Tom Henderson
fbb84923f2 traffic-control: (fixes #628) Use ASSERT test macros outside of callbacks 2022-04-18 12:31:08 -07:00
Gabriel Ferreira
55c36d8045 build: throw error when DPDK/MPI/Python bindings dependencies are unmet 2022-04-18 11:41:14 -03:00
Tom Henderson
fedb35d05b traffic-control: Clarify fqcodel-l4s-example.cc scenario variable 2022-04-18 06:53:45 -07:00
Stefano Avallone
a863f8f8ea wifi: Disable protection for DL MU PPDUs including more than one PSDU
...until MU-RTS is implemented
2022-04-18 06:28:36 -07:00
Stefano Avallone
0816eebc29 wifi: Enable protection for DL MU PPDUs including one PSDU 2022-04-18 06:28:36 -07:00
Tom Henderson
9ac351202b doc: Replace occurrences of sphinx.ext.pngmath 2022-04-17 15:25:43 -07:00
Tom Henderson
c7fc6b5430 mesh: (fixes #478, #472) Add forwarding delay; update examples, tests 2022-04-10 19:31:11 -07:00
Tom Henderson
eb99d8b36a mesh: Avoid non-ASCII characters in log output 2022-04-10 19:31:11 -07:00
Tom Henderson
c3506a4572 mpi: (postfix of #607, commit e6fbf39cf) Update reflogs 2022-04-06 15:32:09 -07:00
Tom Henderson
1c3b2998b6 traffic-control: (fixes #621) Enable traces based on scenario number 2022-04-06 14:39:03 -07:00
Peter D. Barnes, Jr
e6fbf39cf5 mpi: (fixes #607) call CommandLine correctly to generate docs 2022-04-03 14:10:10 -07:00
Peter D. Barnes, Jr
5be17e1f21 core: (fixes #487) Refactor double to int64x64 conversion test for platforms with less than 64 bit mantissa 2022-04-03 12:12:32 -07:00
Peter D. Barnes, Jr
e2ee75cd5a Explicit operator bool() for int64x64_t 2022-04-03 12:12:32 -07:00
Stefano Avallone
7617186e8f wifi: Fix Duration/ID setting when TXOP Limit is exceeded 2022-04-03 11:28:47 +00:00
Gabriel Ferreira
c7553687d7 build: enable colorized CMake and g++/clang++ when using ns3 2022-04-02 21:11:16 -03: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
592a6b4c8d build: use symlinks to headers and fallback to stub headers in unsupported platforms 2022-04-01 14:50:21 -03: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
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
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
1621b331c1 mobility: initialize variables 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
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
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