Commit Graph

13024 Commits

Author SHA1 Message Date
Tom Henderson
3ded031fbe wifi: Remove obsolete file wifi-phy-tag.h 2022-02-18 06:32:35 -08:00
Tom Henderson
71c5417d0a wifi: Remove obsolete file wifi-phy-tag.cc 2022-02-17 14:38:58 -08:00
Tom Henderson
5367f1fed7 bindings: Rescan APIs of most modules 2022-02-16 15:59:27 -08:00
Tom Henderson
4cbc131aa4 wifi: (#470 postfix) Align third-distributed.cc Wi-Fi config with third.cc 2022-02-15 15:32:23 -08:00
Hossam Khader
d579d1816f build: add missing CMake entry for uan-ipv6-example 2022-02-15 18:15:50 +00:00
Tom Henderson
f50ba3169c wifi: (fixes #470) Update default Wi-Fi standard to 802.11ax 2022-02-14 12:26:32 -08:00
Gabriel Ferreira
ce68f89109 click: add missing library 2022-02-11 16:13:07 -03:00
Gabriel Ferreira
4b01479b04 build: additional CMake and ns3 fixes
Includes:
- add additional find_external_library default search paths
- add option to enable/disable DPDK and make it disable by default
- skip test-ns3.py test cases if dependencies are not installed
- improve searching in library parent directories
- replace FindPython with FindPythonInterp and FindPythonLibs
- stub targets for doxygen/sphinx when dependencies are missing
2022-02-11 16:13:07 -03:00
Stefano Avallone
07b4ad8efd wifi: Inactivity callback must be setup on originator, not on recipient 2022-02-09 06:02:00 +00:00
Gabriel Ferreira
ec94e47acb lte: Keep PHY and MAC trace files open 2022-02-08 20:07:55 -03:00
Gabriel Ferreira
531b99251c build: add code to build test/perf/perf-io.cc 2022-02-08 18:40:10 -03:00
Gabriel Ferreira
8ac52d83cf build: versioning and find_external_library fixes
Includes:
- Producing version.cache file if --enable-build-version/NS3_ENABLE_BUILD_VERSION=ON
- Consume version.cache file if the git commit history is not available
- Crash the configuration if neither the git commit history or version.cache file are
available when NS3_ENABLE_BUILD_VERSION=ON
- Warn user to reconfigure the project with NS3_ENABLE_BUILD_VERSION=ON to check
the version
- Only try to remove duplicates if there is a list in find_external_library
2022-02-05 23:46:06 +00:00
Stefano Avallone
aa89420cd7 wifi: Check TRIGVECTOR when processing SIG-A of HE TB PPDUs 2022-02-01 19:25:02 +01:00
Stefano Avallone
e53f91fc31 wifi: Add operators to compare HeMuUserInfoMap objects 2022-02-01 19:25:02 +01:00
Stefano Avallone
9bf7682e04 wifi: Set length field of the TXVECTOR reconstructed from PPDU 2022-02-01 19:25:02 +01:00
Stefano Avallone
05178a4a7a wifi: HE FEM passes a TRIGVECTOR to HE PHY 2022-02-01 19:25:02 +01:00
Stefano Avallone
b035ad56f0 wifi: Set TXVECTOR's RU PHY indices in HePpdu constructor
This is a better place than WifiPhy::Send() because it is an operation
specific to HE. Also, we avoid copying the WifiTxVector to pass to
WifiPhy::Send().
2022-02-01 19:25:02 +01:00
Stefano Avallone
039121640d wifi: Restore definitions of MAC callback types
They got lost in the merge of WifiMac and RegularWifiMac, but they
are used to indicate the type of the callbacks when adding the corresponding
trace sources to the WifiMac TypeId.
2022-02-01 18:38:45 +01:00
Tommaso Pecorella
1eac22c4b0 documentation: Doxygen post fixes 2022-01-31 22:19:11 +00:00
Tommaso Pecorella
4861eaa020 tests: refactor to use variadic templates and fix doxygen 2022-01-31 19:52:08 +00:00
Tommaso Pecorella
e47cb242d7 buildings: doxygen fixes 2022-01-30 12:06:53 -06:00
Tommaso Pecorella
f33366d1e1 tests: doxygen fixes 2022-01-30 12:06:53 -06:00
Tommaso Pecorella
0b3b639524 sixlowpan: doxygen fixes 2022-01-30 12:06:53 -06:00
Tommaso Pecorella
2182bb0ece mpi: doxygen fixes 2022-01-30 12:06:53 -06:00
Tommaso Pecorella
48e6ac5405 spectrum: doxygen fixes 2022-01-30 12:06:53 -06:00
Tommaso Pecorella
df97e13ffa antenna: doxygen fixes 2022-01-30 12:06:53 -06:00
Tommaso Pecorella
0a0222c299 propagation: doxygen fixes 2022-01-30 12:06:53 -06:00
Tommaso Pecorella
fb3b80f271 stats: doxygen fixes 2022-01-30 12:06:53 -06:00
Tommaso Pecorella
fcd6678a01 openflow: doxygen fixes 2022-01-30 12:06:53 -06:00
Tommaso Pecorella
d5dff3a6c5 energy: doxygen fixes 2022-01-30 12:06:53 -06:00
Tommaso Pecorella
5813be9cd5 brite: doxygen fixes 2022-01-30 12:06:53 -06:00
Tommaso Pecorella
8ac0116193 core: doxygen fixes 2022-01-30 12:06:53 -06:00
Gabriel Ferreira
7814ddf5b9 build: silence no-stringop-trunction warning for the openflow module 2022-01-29 16:03:08 -03:00
Gabriel Ferreira
da72879f4c build: better emulate find_package behavior and replace FindSQLite3
Includes:
- refactoring of find_external_library with argument parsing
2022-01-29 16:03:08 -03:00
Gabriel Ferreira
bbe67f5fc2 build: check if visualizer is in the enabled modules list 2022-01-28 15:37:27 -03:00
Gabriel Ferreira
6564afda68 build: move sqlite checking back to macros_and_definitions 2022-01-28 14:08:53 -03:00
Gabriel Ferreira
41aacec626 build: CMake refactoring
Includes:
- refactor build_lib and build_lib_example macros
    - unify src and contrib macros
    - replace macro with function not to leak definitions
    - parse list of arguments
- different cmake-format file for modules to list one item per line
2022-01-28 10:20:18 -03:00
Gabriel Ferreira
113c3744fc build: CMake and ns3 fixes and improvements
Includes:
- fix python warnings and wrap pkgconfig_interface_include_directories in quotes to treat it as a string
- prevent failure when Python is not found
- refactor python bindings checks and error messages
- export 3rd-party include directories and linked libraries
    - Adding a NS3_REEXPORT_THIRD_PARTY_LIBRARIES option to always export include directories and libraries used by a module, making it automatically available to 3rd-party modules
    - Making NS3_REEXPORT_THIRD_PARTY_LIBRARIES option enabled by default
- replace colliding shortcuts with list of non-ambiguous shortcuts
- remove unnecessary code blocks from click
- warn users that doxygen target requires examples and tests
    - These are used to generate introspected documentation and guarantee proper dependency checking and build order
2022-01-27 17:28:38 -03:00
Tommaso Pecorella
e1e07f2ffd core: skip results checking when introspecting the command line 2022-01-27 17:28:38 -03:00
Akash Mondal
bd7a35f821 internet: fix errors in IPv6 Path MTU discovery. 2022-01-26 23:42:10 +00:00
Gabriel Ferreira
9342082c53 bindings, build: fix bindings and visualizer build
Includes:
- scan python scripts
- run python scripts from ns3
- replace visualizer file copy with configure_file to prevent cmake refreshes
- replace ns__init__.py file copy with configure_file to prevent cmake refreshes
- fix bindings scanning with cmake
- pass include directories to modulegen for castxml consumption
- add missing parameters of Recv in python-unit-tests.py
- change apiscan targets from apiscan-module to libmodule-apiscan
- change bindings targets from module-bingings to libmodule-bindings
- scanning and bindings build tests
- scan scratch python scripts
- replace FindPython3 with FindPython to be compatible with CMake 3.10
- do not export private visual-simulator-impl.h
- do not export udp-socket-impl.h
- use .so suffix for bindings on Mac instead of .dylib
2022-01-26 01:53:28 -03:00
Tom Henderson
192019ce94 wifi: Rescan python bindings 2022-01-25 07:53:05 -08:00
Stefano Avallone
e3c9a887e0 wifi: Addr1 of Probe Requests does not have to be broadcast 2022-01-24 09:04:40 +00:00
Stefano Avallone
ca589eadbd wifi: Fill in Block Ack Parameter Set field as per specs 2022-01-24 09:04:40 +00:00
Stefano Avallone
c37f7fa784 wifi: Fix calculation of the duration of S-MPDUs 2022-01-24 05:52:32 +00:00
Stefano Avallone
e10d6c9467 wifi: Fix non-HT mode to MCS conversion in TableBasedErrorRateModel 2022-01-24 05:52:32 +00:00
Gabriel Ferreira
bbe2128abe build: more ns3 and CMake fixes
Includes:
- inform ns3 user cmake was not found, or an unsupported version was found
- replace open-mpi environment variables with command-line arguments
- mark more variables as advanced
- add -v and --verbose option to run and only output the programs output by default
- fix scratch subdir prefixes and add tests
- prevent cmake crash when scratch sources do not have a main function
- disable MPI module by default
- wrap cmakelists_content in quotes to prevent failure of filter_libraries
- install pkgconfig files and add tests
- pkg-config generation (still missing installation)
- forward PYTHONPATH to modulegen
- fix dependency search for brite, click and openflow
2022-01-23 17:30:08 -03:00
Tom Henderson
f78ca76519 Include additional missing headers 2022-01-22 09:26:17 -08:00
Biljana Bojovic
167aaada6e antenna, buildings, lr-wpan, lte, netanim, propagation, spectrum, wifi, wimax: Update Python bindings 2022-01-22 11:43:31 +01:00
Biljana Bojovic
33097e47d9 spectrum: GetAntenna supports antenna arrays (address Tommaso Zugno's comment on !686) 2022-01-22 11:43:31 +01:00