Commit Graph

19285 Commits

Author SHA1 Message Date
Sébastien Deronne
578fecdcba wifi: Use time instead of uint16_t for guard interval duration 2024-09-03 20:19:29 +00:00
Sébastien Deronne
9cc2cb08ee wifi: Use double for frequencies 2024-09-03 20:19:29 +00:00
Sébastien Deronne
e287da982b wifi: Use double for ChannelWidthMhz 2024-09-03 20:19:29 +00:00
Sébastien Deronne
f5d48f4b57 wifi: Fix missing use of ChannelWidthMhz alias 2024-09-03 20:19:29 +00:00
Eduardo Almeida
0d69659882 core: (fixes #1122) Handle deserializing empty strings in ATTRIBUTE_VALUE_IMPLEMENT
Co-author: AlessioBugetti <alessiobugetti98@gmail.com>
2024-09-03 12:02:46 +00:00
Eduardo Almeida
59f5daff76 ci: Silence clang-tidy-diff exit code
The success of the CI/CD job is determined by the job logic, not the exit code.
2024-09-03 12:00:57 +00:00
Eduardo Almeida
a6f7a10445 ci: Trim empty lines in clang-tidy output file 2024-09-03 12:00:57 +00:00
André Apitzsch
2e589e6785 core: Deprecate struct TypeTraits 2024-09-03 01:48:37 +00:00
André Apitzsch
61e310c965 core, test: Use type trait functions from std header 2024-09-03 01:48:37 +00:00
AlessioBugetti
03f04681f5 core: Declare empty constructor as = default in attribute-helper.h 2024-09-02 21:25:06 +00:00
Federico Guerra
e266e0a2c8 uan: (fixes #1127) Fixed bug in energy update in UanPhyGen::RxEndEvent() (thanks to donghuiyong) 2024-09-02 14:27:41 +00:00
Sébastien Deronne
c288ebbbe7 wifi: Reduce amount of Watt/dBm conversion 2024-09-02 05:37:03 +00:00
Sébastien Deronne
7a8da34944 wifi: Prefer use of dBm instead of Watt 2024-09-02 05:37:03 +00:00
Sébastien Deronne
dc860e90fe wifi: Use std::optional instead of magic value 2024-09-02 05:37:03 +00:00
Sébastien Deronne
4aea7e751e wifi: Do not call WToDbm with value 0W 2024-09-02 05:37:03 +00:00
Sébastien Deronne
8aac077b8e wifi: Fix confusing noise floor calculation in wifi-manager-example 2024-09-02 05:37:03 +00:00
Sébastien Deronne
7903f6275f wifi: Fix secondary channel frequency calculation for 80+80MHz 2024-09-02 05:37:03 +00:00
Sébastien Deronne
9330795f83 wifi: Only print primary20 for first segment 2024-09-02 05:37:03 +00:00
Sébastien Deronne
a2b831cf3f wifi: Fix regressions when 802.11p is used 2024-09-02 05:37:03 +00:00
Sébastien Deronne
b15ef93938 wifi: Fix wifi-trans-example script 2024-09-02 05:37:03 +00:00
Sébastien Deronne
b611bb30ec wifi: Fix example left unadjusted when introducing WifiPhy::ChannelSettings attribute 2024-09-02 05:37:03 +00:00
Sébastien Deronne
7287d6f99c wifi: Add more info about bandwidths in assert 2024-09-02 05:37:03 +00:00
Sébastien Deronne
8c20a806ce wifi: Cleanup duplicated code between test and class under test 2024-09-02 05:37:03 +00:00
Sébastien Deronne
1f08159b64 wifi: Cleanup remaining log in test 2024-09-02 05:37:03 +00:00
Sébastien Deronne
5dfebea188 wifi: Rename test suite 2024-09-02 05:37:03 +00:00
Stefano Avallone
b3429183fe wifi: Allow ChannelAccessManagers to be accessed via attribute system 2024-09-01 15:38:15 +02:00
Stefano Avallone
ce71953eaf wifi: Add attribute to Advanced AP EMLSR Manager to handle CTS timeout after ICF 2024-09-01 15:38:15 +02:00
Stefano Avallone
4c0c96eaa7 wifi: Do not double CW if CTS missing after ICF because of EMLSR clients starting UL TXOPs 2024-09-01 15:38:15 +02:00
Stefano Avallone
69aa538451 wifi: Advanced AP EMLSR Manager may assume clients switch to listening mode after MAC header RX 2024-09-01 15:38:15 +02:00
Stefano Avallone
fe2e24f0e6 wifi: AP EMLSR Manager decides when AP MLD considers EMLSR client switching to listening mode 2024-09-01 15:38:15 +02:00
Stefano Avallone
b14ce3b2c0 wifi: EMLSR client switches to listening mode as soon as it is notified of the MAC header of an MPDU that is not addressed to it 2024-09-01 15:38:15 +02:00
Stefano Avallone
092c56d6b9 wifi: Advanced AP EMLSR Manager blocks transmissions to EMLSR client as soon as it receives a MAC header sent by the EMLSR client
...to start an UL TXOP
2024-09-01 15:38:15 +02:00
Stefano Avallone
55bae2ed3f wifi: FEM forwards PSDU RX error/OK notification to AP EMLSR manager 2024-09-01 15:38:15 +02:00
Stefano Avallone
9af4b544fb wifi: Add the Advanced AP EMLSR Manager 2024-09-01 15:38:15 +02:00
Stefano Avallone
9b3a637aa7 wifi: Add AP EMLSR Manager base class and default subclass 2024-09-01 15:38:15 +02:00
Stefano Avallone
c0a8b460e4 wifi: Add Advanced EMLSR Manager 2024-09-01 15:38:15 +02:00
Stefano Avallone
936d9c94d8 wifi: Extend wifi-aggregation test to check notification of MAC header reception 2024-09-01 15:38:15 +02:00
Stefano Avallone
32862b2022 wifi: FrameExchangeManager stores the MAC header of the MPDU being received 2024-09-01 15:38:14 +02:00
Stefano Avallone
34956c3ceb wifi: Add a trace source to WifiPhy to notify of MAC header reception 2024-09-01 15:38:14 +02:00
Stefano Avallone
f78be0a507 wifi: Add unit test to check ChannelAccessManager attributes 2024-09-01 15:38:14 +02:00
Stefano Avallone
7b31f77674 wifi: Proactively generate backoff if counter is zero and medium becomes busy 2024-09-01 15:38:14 +02:00
Stefano Avallone
f621969701 wifi: Extend EMLSR unit test to check aux PHYs that are not TX capable 2024-09-01 15:38:14 +02:00
Stefano Avallone
f73e943e6c wifi: Cleanup unused methods in ChannelAccessManager 2024-09-01 15:38:14 +02:00
Stefano Avallone
0b4ebba006 wifi: Generate in-device interference during transmissions on EMLSR links
...if the corresponding attribute is set to true
2024-09-01 15:38:14 +02:00
Stefano Avallone
84202aeec3 wifi: Let EMLSR Manager decide whether to allow or not an UL TXOP 2024-09-01 15:38:14 +02:00
Stefano Avallone
54a2c0032a Resume aux PHY from sleep directly (do not schedule) 2024-09-01 15:38:14 +02:00
Stefano Avallone
d30c67fd93 wifi: Main PHY can switch link if aux PHY is not TX capable 2024-09-01 15:38:14 +02:00
Stefano Avallone
b762cf2f3a wifi: Make ChannelAccessManager methods returning backoff start and end public and const 2024-09-01 15:38:12 +02:00
Stefano Avallone
c1c65a168a wifi: Extend EMLSR test to check that Aux PHYs are put in sleep mode 2024-09-01 15:31:36 +02:00
Stefano Avallone
fafd2d9306 wifi: Put Aux PHY in sleep mode if operating on the same link as the main PHY 2024-09-01 15:31:36 +02:00