Commit Graph

19091 Commits

Author SHA1 Message Date
Stefano Avallone
1f23f4ea33 wifi: Fix assignment of unique AIDs to non-AP STAs/MLDs
Reported by Sharan Naribole that SLDs operating on distinct
links could be assigned the same AID by an AP MLD
2024-07-02 10:15:19 +02:00
Stefano Avallone
b5f649297e wifi: Wait until Ack is sent after ADDBA Req/Resp before taking actions
Reported by Rami Abdallah
2024-07-02 10:15:18 +02:00
Stefano Avallone
7a1e90f39f wifi: Move processing of BlockAck action frames to HT FEM 2024-07-02 10:07:47 +02:00
Stefano Avallone
f573706a74 wifi: Make WifiHelper::AssignStreams() static
Suggested by Sharan Naribole
2024-07-02 10:07:47 +02:00
Stefano Avallone
0159f57a37 wifi: Avoid firing WifiMac::DroppedMpdu trace twice
Reported by Sharan Naribole
2024-07-02 10:07:47 +02:00
Stefano Avallone
b31caee0e3 wifi: Remove unused functions 2024-07-02 10:07:47 +02:00
Stefano Avallone
3652a2ef51 wifi: Remove old Enqueue methods and use new ones 2024-07-02 10:07:47 +02:00
Stefano Avallone
35d4921402 wifi: Add new WifiMac::Enqueue methods to avoid code duplication
At this stage, these methods are not yet used.
2024-07-02 10:07:47 +02:00
Stefano Avallone
12d8a340bf wifi: Cache the result of ChannelAccessManager::GetAccessGrantStart()
Also, cleanup its implementation
2024-07-02 10:07:47 +02:00
Sébastien Deronne
6a2b47cf95 wifi: No need to indicate whether HT and/or VHT is supported in Extended Capabilities IEs 2024-07-02 10:07:46 +02:00
Sébastien Deronne
25a3714759 wifi: Zero initialization of all fields in WifiMacHeader 2024-07-02 10:07:46 +02:00
Eduardo Almeida
a88bb6e918 ci: Keep only clang-format jobs for the min and max versions 2024-07-01 15:51:17 +00:00
Eduardo Almeida
70eda40b47 check-style: Add notes on how to use the script to fix formatting 2024-07-01 15:21:38 +01:00
Eduardo Almeida
1d03ba7700 doc: Expand clang-format Git integration instructions 2024-07-01 15:21:36 +01:00
Sébastien Deronne
75b4976dba wifi: Prepare some functions to receive multiple center frequencies to generate a PSD 2024-06-29 17:39:17 +02:00
Sébastien Deronne
c03e501e77 wifi: PPDU can be transmitted over multiple center frequencies (one per segment)
This will be a single one except for 80+80MHz when supported
2024-06-29 17:39:17 +02:00
Sébastien Deronne
1332517b24 wifi: Add function to retrieve the number of contiguous segments that are part of the operating channel 2024-06-29 17:39:17 +02:00
Sébastien Deronne
8e86b469d3 wifi: Add functions to retrieve the segment that contains the primary or secondary channel 2024-06-29 17:39:17 +02:00
Sébastien Deronne
5072136c8b wifi: WifiPhy::GetChannelWidth and ChannelWidth attribute return the total width 2024-06-29 17:39:17 +02:00
Sébastien Deronne
165c7babab wifi: Add function to retrieve the total channel width calculated over all contiguous channel segments 2024-06-29 17:39:17 +02:00
Sébastien Deronne
2873f8877f wifi: Extend WifiPhyOperatingChannel to retrieve the center frequency, the channel number and the width in MHz of a given segment 2024-06-29 17:39:12 +02:00
Sébastien Deronne
5f8abd65b2 wifi: WifiPhyOperatingChannel stores multiple contiguous segments 2024-06-29 17:10:41 +02:00
Alberto Gallegos Ramonet
d1f44345e5 lr-wpan: beacon improvements and jitter addition 2024-06-27 17:29:48 +09:00
André Apitzsch
9b6027b535 visualizer: Drop compatibility for Python < 3.7
Since Python 3.7 `threading` is always available.
2024-06-26 12:27:44 +00:00
André Apitzsch
215449d4e6 bindings,ci,docs: Raise minimal Python version to 3.8
Python 3.6 and 3.7 are EOL.
2024-06-26 12:27:44 +00:00
Jay C. Surani
43dafda7cb tcp: Add necessary logging for BBRv1 2024-06-25 07:31:49 +00:00
Aniket Singh
0480c75961 examples: Fix curTime format for TraceThroughput in tcp-bbr-example 2024-06-25 03:38:56 +00:00
Eduardo Almeida
e922ae97f1 ci: Upgrade clang-tidy to version 18 2024-06-24 16:54:20 +00:00
Tolik Zinovyev
cf00a3a733 wifi: pass unordered_map by const ref. 2024-06-22 21:59:49 -04:00
Satyarth Ratnani
d435b365a9 tcp: Add necessary Trace Sources for TcpBbr 2024-06-22 16:46:04 +00:00
Sébastien Deronne
1d35ebe5fe wifi: Cleanup WifiSpectrumModelId comparison operator 2024-06-22 10:40:34 +02:00
Sébastien Deronne
dcd464fedc wifi: Use uint16_t for center frequencies expressed in MHz for consistency 2024-06-22 10:40:34 +02:00
Sébastien Deronne
5853c015fd wifi: Fix WifiPhyOperatingChannel::FindFirst when band is not specified 2024-06-22 10:40:34 +02:00
Sébastien Deronne
10855129ca wifi: Add stream insertion operator for FrequencyChannelInfo 2024-06-22 10:40:34 +02:00
Sébastien Deronne
b6901a332c wifi: Rework FrequencyChannelInfo as a struct 2024-06-22 10:40:34 +02:00
Sébastien Deronne
4f955a55ed wifi: Move frequency channel types to a scoped enum in wifi-types.h 2024-06-22 10:40:34 +02:00
Sébastien Deronne
4802776a26 wifi: Prefer 'using' to 'typedef' for type aliases in WifiPhyOperatingChannel 2024-06-22 10:40:34 +02:00
Sébastien Deronne
302b377aa6 wifi: Do not directly access WifiPhy::m_operatingChannel from PhyEntity 2024-06-22 10:40:34 +02:00
Sébastien Deronne
11e430616c wifi: Extend operating channel class to return the channel width type 2024-06-22 10:40:34 +02:00
Sébastien Deronne
de75ce4830 wifi: Add channel width enum type and helper function to convert to MHz units 2024-06-22 10:40:34 +02:00
Sébastien Deronne
25e7c3536b wifi: Use type alias to express channel width in MHz 2024-06-22 10:40:34 +02:00
Sébastien Deronne
c805c90ed5 wifi: Introduce wifi-types header file 2024-06-22 10:40:34 +02:00
Sebastien Deronne
4c8203a7cb wifi: Rework HeRuMcsDataRateTestCase to avoid computing an approximation of the channel width 2024-06-22 10:40:34 +02:00
Sebastien Deronne
bd20e8d2d5 wifi: Fix number of bits to express channel width in HeRu 2024-06-22 10:40:34 +02:00
Sébastien Deronne
eb5bbffb42 wifi: Cleanup GetPrimaryChannelNumber 2024-06-22 10:40:34 +02:00
Sébastien Deronne
00842cdd42 wifi: Directly call WifiPhy::GetPrimaryChannelNumber 2024-06-22 10:40:34 +02:00
Sébastien Deronne
6289cd92c3 wifi: Use new overloaded variant of WifiPhy::SetOperatingChannel in association manager 2024-06-22 10:40:34 +02:00
Sébastien Deronne
d5ba1b98f1 wifi: Avoid logs in getter functions 2024-06-22 10:40:34 +02:00
Sebastien Deronne
13e0e370e4 wifi: Cleanup unused function 2024-06-22 10:40:34 +02:00
Eduardo Almeida
b582418e9e mobility: (fix #1101) Use std::abs() instead of abs() 2024-06-21 15:32:36 +00:00