Commit Graph

16706 Commits

Author SHA1 Message Date
Stefano Avallone
31bd09673d wifi: Avoid potential failures in the wifi-he-network example 2022-09-05 10:11:27 +02:00
Stefano Avallone
b711d35cb2 wifi: Add a struct to hold STA scanning parameters 2022-09-05 10:11:26 +02:00
Stefano Avallone
24bcb4de33 wifi: Make some StaWifiMac methods public
...so that they can be called by the Association Manager
2022-09-05 10:11:26 +02:00
Stefano Avallone
ad5e7d2cd1 wifi: Unify derivation of AP info from management frames 2022-09-05 10:11:26 +02:00
Stefano Avallone
0e81b38e0a wifi: Mark GetSupportedRates() as const 2022-09-05 10:11:26 +02:00
Stefano Avallone
c6eeecdd0c wifi: Add StaWifiMac method to check supported rates indicated in Beacon/Probe Response frames 2022-09-05 10:11:26 +02:00
Stefano Avallone
27076a2fdf wifi: Use a single SCANNING state for StaWifiMac 2022-09-05 10:11:26 +02:00
Stefano Avallone
fa3ea8158e wifi: Use shared_ptr to handle states in WifiRemoteStationManager
shared_ptr is better suited than raw pointers to handle pointer aliases
(for MLDs, two entries in m_states point to the same WifiRemoteStationState
object)
2022-09-05 10:11:26 +02:00
Stefano Avallone
bb7d590e8b wifi: Store the MLD MAC Address in WifiRemoteStationState objects 2022-09-05 10:11:26 +02:00
Heun
406343084b build: Fix static build with Clang on macOS 2022-09-05 02:19:30 +00:00
Tommaso Pecorella
403aec2aa3 ci: save compilation cache also for failed jobs 2022-09-04 21:54:28 +02:00
Tommaso Pecorella
832405f4a5 Fix trailing whitespaces 2022-09-04 21:53:48 +02:00
Peter D. Barnes, Jr
d635a72cbc Use variadic argument lists in various Helpers.
QosWaveMacHelper::SetType() and NqosWaveMacHelper::SetType() were
virtual, but then they can't be templated to handle variadic
argument lists.  The base class is not virtual, and nothing derives from
these classes, so virtual doesn't seem to be required.
2022-09-04 12:01:11 -07:00
Sébastien Deronne
af782862c4 wifi: Fix missing default in switch case 2022-09-04 09:55:55 +02:00
Stefano Avallone
8a392db1e1 wifi: Add Multi-Link Element support to management frames 2022-09-03 09:06:07 +00:00
Stefano Avallone
3d03421133 wifi: Add a test suite for EHT Information Elements 2022-09-03 09:06:07 +00:00
Stefano Avallone
3364db4eb1 wifi: Add the Multi-Link element 2022-09-03 09:06:07 +00:00
Stefano Avallone
e9364ee5c5 wifi: Construct WifiPhyOperatingChannel from iterator on channel set 2022-09-03 09:06:07 +00:00
Stefano Avallone
8a44424bb7 wifi: Handle distinct per-link BSSIDs
Also, BSSID is now stored by the FEM instead of the MAC.
This is because the link MAC address (which matches the
BSSID for APs) is notified directly to and stored by the FEM.
2022-09-03 09:06:07 +00:00
Stefano Avallone
c6e88b8c37 wifi: Include RNR elements in Beacon frames sent by EHT APs 2022-09-03 09:06:07 +00:00
Stefano Avallone
a4ab293c86 wifi: Fix deserialization of RNR elements
... with multiple TBTT Information fields per Neighbor AP Information field.
2022-09-03 09:06:07 +00:00
Stefano Avallone
b9b6dbc48d wifi: Fix getting operating channel from RNR element 2022-09-03 09:06:07 +00:00
Stefano Avallone
3e20515664 core: Use std::function to implement callbacks 2022-09-02 19:04:38 +00:00
Tommaso Pecorella
b2cd3d7264 lte: fix some missing override 2022-09-02 17:44:08 +00:00
Stefano Avallone
4cbde630e2 wifi: Fix condition in WifiPpdu::DoesOverlapChannel 2022-09-02 08:29:25 +02:00
Zhiheng Dong
87fb2ddcbf internet: GSoC-22 generate ARP/NDISC cache automatically 2022-09-02 00:47:17 +00:00
Gabriel Ferreira
5334c1e460 build: Add quotes to prevent parsing errors in the WSLv1 check
Fixes #732
2022-09-01 18:42:57 -03:00
Eduardo Almeida
3f76d3eef3 lte: Fix static method accessed through instance 2022-09-01 13:43:07 +01:00
Sébastien Deronne
5b958d942a wifi: Update doc to indicate 802.11ax PHY preamble puncturing is supported 2022-08-31 18:38:29 +00:00
Sébastien Deronne
c1a4446b83 wifi: Add PHY puncturing tests 2022-08-31 18:38:29 +00:00
Sébastien Deronne
472c7dc283 wifi: Do not use reconstructed TXVECTOR from PPDU for PHY TX functions 2022-08-31 18:38:29 +00:00
Sébastien Deronne
fe60645362 wifi: Fix band stop index when DC subcarrier is skipped 2022-08-31 18:38:29 +00:00
Sebastien Deronne
18a0cd9ecd wifi: Extend transmit mask tests for 802.11ax puncturing 2022-08-31 18:38:29 +00:00
Sebastien Deronne
d8f3fa3fe3 wifi: Rework TX PSD mask tests 2022-08-31 18:38:29 +00:00
Sebastien Deronne
51bbc29921 wifi: Pass puncturing information to contruct PSDs 2022-08-31 18:38:29 +00:00
Sebastien Deronne
cca324617d wifi: Use per-20 MHz OFDM mask to transmit non-HE portion 2022-08-31 18:38:29 +00:00
Sebastien Deronne
e60c81c416 wifi: Split DL MU transmission in non-HE portion and HE portion 2022-08-31 18:38:29 +00:00
Sebastien Deronne
6723c9d997 spectrum: Apply puncturing mask to HE transmit PSD 2022-08-31 18:38:29 +00:00
Sebastien Deronne
83db8b2c36 spectrum: Do not allocate power to subcarriers that belongs to an inactive 20 MHz subchannel 2022-08-31 18:38:29 +00:00
Sébastien Deronne
33807b6e46 spectrum: Fix allocated power per subcarrier in 802.11n PSD 2022-08-31 18:38:29 +00:00
Sebastien Deronne
a2c5cb8f4a spectrum: Reduce copy-pasted code in WifiSpectrumValueHelper 2022-08-31 18:38:29 +00:00
Sebastien Deronne
3e7e735c25 wifi: Check primary 20 MHz channel is not punctured 2022-08-31 18:38:29 +00:00
Sebastien Deronne
4d3bcef366 wifi: Add INACTIVE_SUBCHANNELS to TXVECTOR for preamble puncturing 2022-08-31 18:38:29 +00:00
Sebastien Deronne
3c2cb309db wifi: Rework HE TX PSD flags to avoid redundant information and to follow naming conventions from standard 2022-08-31 18:38:29 +00:00
Sebastien Deronne
990cc9cef4 spectrum: Add TX PSD to transmit duplicated OFDM signals over multiple 20 MHz subchannels 2022-08-31 18:38:29 +00:00
Tom Henderson
9126b6b0f3 Update tests for random variable stream perturbations 2022-08-31 07:46:56 -07:00
Tom Henderson
52025304b9 propagation: Do not assign same stream to two variables 2022-08-31 07:46:56 -07:00
Tom Henderson
89a32564f7 propagation: Add AssignStreams to ThreeGppV2vUrbanPropagationLossModel 2022-08-31 07:46:56 -07:00
Tom Henderson
9080fdc458 lte: Random variable stream assignments on EPC nodes 2022-08-31 07:46:56 -07:00
Stefano Avallone
7193a5f96d network: Add a function to test header (de)serialization 2022-08-31 07:16:10 +00:00