Commit Graph

1964 Commits

Author SHA1 Message Date
Tom Henderson
9fbb26f04f Silence additional compiler warnings about lack of return value 2022-05-14 21:45:42 -07:00
Gabriel Ferreira
6473b7ec98 build: rollback linking to globally searched libraries 2022-05-13 18:50:55 -03:00
Gabriel Ferreira
ea7ca9b690 build: include and link to globally searched libraries 2022-05-12 19:15:48 -03:00
Sebastien Deronne
021696a5e9 wifi: Add possibility to set InterferenceHelper from PHY helpers 2022-05-10 08:16:41 +00:00
Sebastien Deronne
c62c648459 wifi: Use templates in WifiHelper 2022-05-10 08:16:41 +00:00
Sebastien Deronne
3622965747 wifi: WifiPhy holds a Ptr to InterferenceHelper 2022-05-10 08:16:41 +00:00
Sebastien Deronne
679ce12636 wifi: Make InterferenceHelper inherit from Object 2022-05-10 08:16:41 +00:00
Stefano Avallone
a1afa86410 wifi: IdealWifiManager uses the appropriate default mode 2022-05-07 18:53:18 +02:00
Stefano Avallone
a13e5e6789 wifi: Add a method to find the default mode to use to transmit to a station 2022-05-07 18:50:41 +02:00
Stefano Avallone
973b0fe9b6 wifi: Do not change protection when aggregating MSDU to DL MU PPDU 2022-05-06 14:20:12 +02:00
Stefano Avallone
cecf0fa749 wifi: (fixes #639) Remove FCS before deserializing Wi-Fi frames 2022-05-05 21:36:12 +00:00
Stefano Avallone
a387d0cd1e Rescan python bindings 2022-05-04 15:31:30 +02:00
Sebastien Deronne
faacbe02c9 wifi: Do no longer pass CCA busy duration to SwitchFromSleep and SwitchFromOff 2022-05-04 12:45:30 +00:00
Sebastien Deronne
e736151b27 wifi: Do not recalculate RX duration in PhyEntity::StartReceivePreamble 2022-05-04 12:45:30 +00:00
Sebastien Deronne
e5b30b5c0e wifi: Always add PPDU received with unsupported modulation as interference 2022-05-04 12:45:30 +00:00
Sebastien Deronne
719d4ff458 wifi: Use std::min to update m_endCcaBusy upon channel switching 2022-05-04 12:45:30 +00:00
Sebastien Deronne
38177f08b0 wifi: Cleanup ListenersI typedef from WifiPhyStateHelper 2022-05-04 12:45:30 +00:00
Sebastien Deronne
e943fe4beb wifi: Cleanup duplicated code in WifiPhyStateHelper 2022-05-04 12:45:30 +00:00
Sebastien Deronne
cc25eeea92 wifi: Check CCA once transmission is completed 2022-05-04 12:45:30 +00:00
Sebastien Deronne
29789e78bb wifi: Fix VHT Operation Channel Width encoding 2022-05-04 12:45:30 +00:00
Sebastien Deronne
23aac7bf9c wifi: Use range-based for loop to notify PHY listeners 2022-05-04 12:45:30 +00:00
Sebastien Deronne
f9f534cc38 wifi: Fix legacy casts 2022-05-04 12:45:30 +00:00
Stefano Avallone
8e3491112d wifi: Fix computation of maximum allowed channel width 2022-05-04 12:45:30 +00:00
Stefano Avallone
db98872fb0 wifi: Check that PHY band is allowed when setting channel 2022-05-04 12:45:30 +00:00
Tom Henderson
33bbbe5b9c wifi: Fix broken links in Doxygen 2022-04-29 16:10:34 -07:00
Tom Henderson
d09ff25846 wifi: Rescan Python bindings 2022-04-25 18:15:22 -07:00
Stefano Avallone
14af5af4db wifi: Clear PSDU map of HE FEM when needed 2022-04-25 21:49:31 +02: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
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
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
Stefano Avallone
7617186e8f wifi: Fix Duration/ID setting when TXOP Limit is exceeded 2022-04-03 11:28:47 +00: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
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
Stefano Avallone
ee2a5e4fd2 wifi: Avoid possible crashes in WifiMac::GetQosTxop() 2022-03-23 18:47:31 +01: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
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
Stefano Avallone
e6709c8bee wifi: Align behavior of WifiMac::GetTxopQueue to that of WifiMac::GetQosTxop 2022-03-04 13:37:55 +01: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