Commit Graph

13153 Commits

Author SHA1 Message Date
Stefano Avallone
6c334e036a wifi: Update documentation 2022-01-08 19:23:12 +01:00
Stefano Avallone
a640191ae5 wifi: Add a channel switching test 2022-01-08 19:23:12 +01:00
Stefano Avallone
5d7acdcf19 wifi: QosTxop skips frames that cannot be forwarded to the destination 2022-01-08 19:23:12 +01:00
Stefano Avallone
2a1d009116 wifi: Separate wifi standard and PHY band 2022-01-08 19:23:12 +01:00
Stefano Avallone
02c078b3c0 wifi: Delete PHY entities before changing PHY band 2022-01-08 19:23:12 +01:00
Stefano Avallone
52d84a6346 wifi: MAC is notified of channel switching and takes appropriate actions
NOTE 1: the purpose of calling the PHY capabilities changed callback in
WifiPhy::DoChannelSwitch was to have a station sending a Reassociation
Request after changing the channel width. However, changing channel width
implies a channel switching. Therefore, the station requires to associate
again and hence it is useless to invoke such callback.

NOTE 2: MAC queues were flushed upon channel switching. This is now removed
because station and AP may move to the same channel; hence, why dropping all
pending frames? Also, in case of (future) 11be multi-link devices, a channel
switching on a single link does not prevent to continue using the other links.
2022-01-08 19:23:12 +01:00
Stefano Avallone
50779c64d4 wifi: Create VhtConfiguration independently of the PHY band 2022-01-08 19:23:12 +01:00
Stefano Avallone
44771472ec wifi: MAC configures PHY dependent parameters when setting the PHY
This is in preparation for the removal of the band from the wifi standard.
2022-01-08 19:23:11 +01:00
Stefano Avallone
58f00a3677 wifi: WifiMac creates FEM based on the configured standard 2022-01-08 19:23:11 +01:00
Stefano Avallone
7c3c3f4980 wifi: WifiNetDevice holds the wifi standard 2022-01-08 19:23:11 +01:00
Tommaso Pecorella
8853f7ee14 building: doxygen tweaks 2022-01-07 23:58:20 -06:00
Peter Barnes
762494924e core: avoid GCC compiler error 2022-01-07 22:25:39 +00:00
Tommaso Pecorella
247a597f43 doxygen: fix warnings in various modules 2022-01-07 12:13:17 -06:00
Tommaso Pecorella
ee6b3cb0af visualizer: fix doxygen warnings 2022-01-05 20:58:23 -06:00
Tommaso Pecorella
a8fc1b6235 doxygen: fix warnings in various modules 2022-01-05 00:22:31 -06:00
Tom Henderson
12dee93f70 fd-net-device: (merges !811) Remove PlanetLab helper 2022-01-02 11:46:59 -08:00
Ameya Deshpande
fcc095b05c core: Use std::invoke_result instead of std::result_of
C++17 introduces `std::invoke_result`, and deprecates
the usage of `std::result_of`.

Signed-off-by: Ameya Deshpande <ameyanrd@outlook.com>
2021-12-28 09:06:53 -08:00
Eduardo Almeida
0001916d89 propagation: Fix a6a97ab5 and redeclare DoCalcRxPower() as private 2021-12-28 08:51:10 -08:00
Tom Henderson
447bf043d1 stats: Simplify dia figures 2021-12-28 08:29:37 -08:00
Tom Henderson
15e5a7915a wifi: Rescan python bindings 2021-12-27 18:36:11 -08:00
Tom Henderson
da5cdff2da click: Rescan python bindings 2021-12-27 18:04:58 -08:00
Stefano Avallone
2eef1471c9 wifi: (fixes #507) Set CS Required field according to 802.11ax specs 2021-12-27 15:07:44 +00:00
Peter Barnes
3dd74f2017 core: refactor ObjectBase::ConstructSelf 2021-12-24 00:08:09 +00:00
Peter Barnes
7f3d883f75 core: fix doxy warnings 2021-12-21 17:06:57 +00:00
Peter Barnes
0e685cbdbb Use [[maybe_unused]] attribute directly, instead of NS_UNUSED 2021-12-21 10:32:43 +00:00
Peter Barnes
1d0c81dea4 core: pre-event hook, to facilitate chaining SimulatorImpls 2021-12-20 21:59:44 +00:00
Gabriel Ferreira
715232ea96 build: fix dependency checks for the test module
And formatting fixes
2021-12-19 11:43:47 -03:00
Tom Henderson
aad79536bf bindings: Rescan all APIs 2021-12-18 16:41:52 -08:00
Eduardo Almeida
96ec88cd59 core: Remove NonCopyable class 2021-12-18 16:41:39 -08:00
Eduardo Almeida
4ebdc0c6c6 Mark deleted ctors and operator= with delete keyword 2021-12-18 15:22:44 -08:00
Stefano Avallone
a4626d178a wifi: Set TXOP holder when receiving a Trigger Frame 2021-12-18 18:36:27 +01:00
Tom Henderson
9588ad7fe6 internet: Update Python bindings 2021-12-17 15:46:55 -08:00
Tommaso Pecorella
2d3389005b internet: further NSC cleanup 2021-12-17 13:59:48 -08:00
Chandrakant jena
0510f36078 internet: change NS_ASSERT to NS_TEST_ASSERT* in tests 2021-12-17 19:45:36 +01:00
Peter D. Barnes, Jr
9c5fec6697 Define NS_DEPRECATED_3_36 2021-12-17 17:24:11 +00:00
Peter D. Barnes, Jr
ccb21e8887 Use C++-14 [[deprecated (msg)]], convert NS_DEPRECATED to function macro 2021-12-17 17:24:11 +00:00
Peter Barnes
6f319e48fc core: (bugzilla 2203) MakeEvent from a lambda 2021-12-17 17:23:45 +00:00
Stefano Avallone
a36733d8b1 doc: Document the TrafficControlHelper::Uninstall method 2021-12-17 17:49:34 +01:00
Stefano Avallone
3bbdd7bb59 traffic-control: Trace packets dropped by the traffic control layer 2021-12-17 17:47:22 +01:00
Stefano Avallone
7fd2d476ba traffic-control: Allow to disable flow control for devices supporting it 2021-12-17 17:47:07 +01:00
Peter Barnes
4dc0ec0682 core: (fixes #141) Print parent attributes from CommandLine --PrintAttributes 2021-12-17 01:04:14 +00:00
Peter Barnes
dd1d254a9f core: html-encode in CommandLine::PrintDoxygenUsage 2021-12-16 23:32:15 +00:00
Gabriel Ferreira
9d9f765ba6 build: additional CMake and ns3 bugfixes 2021-12-16 02:29:59 +00:00
Peter Barnes
8b0d0e7044 core: symbolic names for EventId reserved Uid values 2021-12-13 23:04:15 +00:00
Gabriel Ferreira
eda1c6af51 build: Stop manually refreshing the cmake cache to speed up build 2021-12-11 12:04:15 -03:00
Peter Barnes
c333dbc0cd core: forward ScheduleNow(...) to Schedule(0, ...) 2021-12-10 22:41:33 +00:00
Tom Henderson
2c19b5b453 internet: Remove Network Simulation Cradle (NSC) 2021-12-10 09:07:03 -08:00
Gabriel Ferreira
f6ef415392 build: CMake bugfixes
Fixes include:
- Handling of relative paths used as output directories
- Accepting comma separated lists of modules to enable/disable
- Echoing all CMake commands at the end of the execution of ns3 script
- More informative optional features summary output
- Replace absolute paths with relative paths in the printed CMake output for less verbose output
- Set debug build type on the CMake side to ensure ccmake doesn't crash
- Prefix INT64X64 with NS3 to indicate user switch
- Compiler version check
- Removal of verbose option
- Suppress empty enabled/disabled module tables

Features include:
- Test for installation/uninstallation of ns-3 as a CMake package
- Test importing ns-3 as a CMake package and use in a 3rd-party project
- Test to check VERSION usage
- ns3 option to enable/disable sanitizers
- Associate headers to libraries targets
2021-12-10 02:13:43 +00:00
Tommaso Pecorella
deaec64d36 core: remove NS_TEST_*_INTERNAL 2021-12-09 01:25:52 +00:00
Stefano Avallone
d40173fb50 wifi: (fixes #500) Clear PHY RX event if switching channel in IDLE and CCA_BUSY state (patch from Ohad Klausner) 2021-12-07 12:02:08 +01:00