Commit Graph

16729 Commits

Author SHA1 Message Date
Stefano Avallone
9362cea5bd wifi: WifiMacQueue Peek methods return pointers to non-const items
MPDUs stay in the queue until acknowledged or discarded. Normal operations
on the TX path consist in peeking one or more frames and transmit them.
Operations performed before transmission, such as aggregation, setting the
QoS Ack policy, setting the Duration/ID, etc., require the ability to
modify the frames.
2022-09-11 13:03:30 +00:00
Gabriel Ferreira
c9c01e7e2b core: Replace OS specific implementations with std::filesystem 2022-09-10 14:41:43 +00:00
Tommaso Pecorella
1c240ca80a internet: some optimizations to GlobalRouting 2022-09-10 00:04:48 +02:00
Tommaso Pecorella
a181599749 core: remove empty.h 2022-09-07 21:54:04 +00:00
Sébastien Deronne
20238f67aa wifi: Fix double precision issues on some machines for OFDM mask slopes tests 2022-09-07 23:30:50 +02:00
Sébastien Deronne
581ac4c6fe wifi: Only use modulation class in WifiRemoteStationManager::NeedRts 2022-09-07 21:16:53 +02:00
Sébastien Deronne
d52a4553ba wifi: Use SetHeMuUserInfo to set TRIGVECTOR in PHY OFDMA tests 2022-09-07 21:15:59 +02:00
Sébastien Deronne
30c7e39a6c wifi: Cleanup puncturing test logs 2022-09-07 21:14:04 +02:00
Sébastien Deronne
cf39dad6f7 wifi: Improve OFDM mask slopes tests 2022-09-07 21:04:16 +02:00
Stefano Avallone
a922361e41 Update RELEASE_NOTES 2022-09-07 10:11:08 +00:00
Stefano Avallone
2f3039eb6b wifi: Ensure at most one ADDBA_RESPONSE frame per agreement is in the MAC queue 2022-09-07 10:11:08 +00:00
Stefano Avallone
fa51183362 wifi: Pass an MPDU to QosTxop::PushFront() 2022-09-07 10:11:08 +00:00
Stefano Avallone
da9965197e wifi: Recipient BA agreements are in effect if ADDBA_RESPONSE is acknowledged 2022-09-07 10:11:08 +00:00
Stefano Avallone
55ebf1ed73 wifi: MPDUs pushed at the front shall not be dropped if queue is full 2022-09-07 10:11:08 +00:00
Stefano Avallone
8196e23878 wifi: Disable logging in wifi transmit mask test 2022-09-06 17:09:28 +02:00
Eduardo Almeida
72042ad46e nix-vector-routing: Simplify conditional statements 2022-09-05 15:13:06 +00:00
Stefano Avallone
b348edb951 wifi: Refactor StaWifiMac::Receive() 2022-09-05 10:11:27 +02:00
Stefano Avallone
825ab44017 wifi: Add insertion operator for StaWifiMac::ApInfo 2022-09-05 10:11:27 +02:00
Stefano Avallone
1d8bc5ccb1 wifi: StaWifiMac makes use of the Association Manager 2022-09-05 10:11:27 +02:00
Stefano Avallone
384b506ed9 wifi: Add Association Manager base class and default subclass 2022-09-05 10:11:27 +02:00
Stefano Avallone
8b57c8a5e5 wifi: Improve STA wifi MAC diagram
Credit goes to asciiflow.com
2022-09-05 10:11:27 +02:00
Stefano Avallone
4b45f6e640 wifi: Add PHY attribute to prohibit changing PHY band 2022-09-05 10:11:27 +02:00
Stefano Avallone
8c6918ef4c wifi: Add a ProbeDelay attribute to StaWifiMac 2022-09-05 10:11:27 +02:00
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