Commit Graph

18888 Commits

Author SHA1 Message Date
Stefano Avallone
fc4df268bd wifi: Move actions AP takes when an EMLSR client starts a TXOP to a separate method 2024-05-06 07:33:00 +00:00
Stefano Avallone
1bc60dae3e wifi: Split calculation and setting of the TXOP holder 2024-05-06 07:33:00 +00:00
Stefano Avallone
f08ba56b33 wifi: Improve detection of TXOP end when AP MLD receives first frame from an EMLSR client 2024-05-06 07:33:00 +00:00
Stefano Avallone
48be64ff34 wifi: Stop beacon generation in EMLSR test when no longer needed
Avoids that beacon frames interfere with data frames making the test
fail.
2024-05-06 07:33:00 +00:00
Stefano Avallone
4b34ad4f5c wifi: Switch main PHY back to primary link only if no TXOP is ongoing on another EMLSR link
Aux PHY sends RTS and schedules main PHY switch; no CTS is received and
CTS timeout occurs while main PHY is switching. Do not unconditionally
schedule switching the main PHY back to the primary link when the
ongoing channel switch terminates; indeed, channel access may be
obtained in the meantime and the main PHY will be requested to switch
the link on which channel access has been obtained.
2024-05-06 07:33:00 +00:00
Stefano Avallone
30f653a91c wifi: Extend EMLSR unit test to check that links are unblocked after UL TXOP terminated by CF-End 2024-05-06 07:33:00 +00:00
Stefano Avallone
cb308bd3dd wifi: Pass the TXOP holder to EHT FEM TxopEnd()
because TxopEnd() may be called when the TXOP holder has been already
reset, e.g., when a TXOP is terminated with a CF-End frame
2024-05-06 07:33:00 +00:00
Stefano Avallone
2333d491b6 wifi: Cancel main PHY channel switch if RTS sent by aux PHY to start UL TXOP failed 2024-05-06 07:33:00 +00:00
Stefano Avallone
58d3bde8db wifi: CTS after ICF cannot be sent if main PHY is switching or operating on another link
This situation may occur when an aux PHY is not TX capable.
2024-05-06 07:33:00 +00:00
Stefano Avallone
f65cef7479 examples: Add more EMLSR options to wifi-eht-network 2024-05-06 07:33:00 +00:00
Gabriel Ferreira
b7d097657c spectrum: Allow for a change in the number of antenna elements in 3GPP channel model 2024-05-03 19:57:24 +00:00
Gabriel Ferreira
5b6902b5b0 doc: Add a subsection on how to build perf for WSLv2 2024-05-03 18:21:11 +00:00
Gabriel Ferreira
8ce6c6f8f7 build: Add dia as a Sphinx dependency
It is required by the manual
2024-05-03 18:21:11 +00:00
Gabriel Ferreira
02d2c11d9c visualizer: (fixes #1074) Remove tricks used in cppyy 2 2024-05-03 18:21:11 +00:00
Gabriel Ferreira
bbc822f74a lte: Initialize InterfaceType_t 2024-05-03 18:21:11 +00:00
Gabriel Ferreira
d147dc3627 spectrum: Avoid GetHElemsPerPort calls to save up on divisions 2024-05-03 18:21:11 +00:00
Sébastien Deronne
908230f605 wifi: Fix assert when logs are enabled in some tests 2024-05-03 15:49:59 +00:00
Sébastien Deronne
8fdb3a6fa0 examples: Use fatal error in wifi network examples when incorrect configuration is provided 2024-05-02 19:25:44 +00:00
Sébastien Deronne
b6a05a83d2 examples: Skip 800ns guard interval for UL OFDMA in HE/EHT examples 2024-05-02 19:25:44 +00:00
Sébastien Deronne
460ab5014b wifi: Random seed and run of RAA example can be changed by command-line arguments 2024-05-02 19:25:44 +00:00
Sébastien Deronne
4503025d99 examples: Allow seed and run of wifi network examples to be configured by command-line arguments 2024-05-02 19:25:44 +00:00
Sébastien Deronne
63514f53e7 examples: Fix randomness in wifi network examples 2024-05-02 19:25:44 +00:00
Sébastien Deronne
1c0809c31e examples: Fix conditions to check boundaries of measured throughput for wifi HT/VHT/HE/EHT networks 2024-05-02 19:25:44 +00:00
Stefano Avallone
8c8af78cb5 wifi: Restore ASCII diagram in TXOP test after clang format 2024-05-02 08:40:21 +00:00
Stefano Avallone
867885c9c5 wifi: Extend TXOP test to use TX duration based RTS/CTS threshold 2024-05-02 08:40:21 +00:00
Stefano Avallone
4dccdc0e4d wifi: Extend TXOP test to HE stations 2024-05-02 08:40:21 +00:00
Stefano Avallone
73751ccbde wifi: Add TX duration threshold to enable RTS/CTS protection 2024-05-02 08:40:21 +00:00
Stefano Avallone
10b048ddeb wifi: Simplify WifiTxParameters::GetSizeIfAggregateMsdu() 2024-05-02 08:40:21 +00:00
Stefano Avallone
be2f46e5ad wifi: Remove redundant computation of PPDU TX duration 2024-05-02 08:40:21 +00:00
Stefano Avallone
f0a4c4d187 wifi: Aggregate MSDU to TX params before calling protection and ack managers
In this way, updated TX duration is made available to protection and ack managers
2024-05-02 08:40:21 +00:00
Stefano Avallone
7fb148be8b wifi: Add MPDU to TX params before calling protection and ack managers
In this way, updated TX duration is made available to protection and ack managers
2024-05-02 08:40:21 +00:00
Stefano Avallone
2d9a2bb22f wifi: Make WifiAcknowledgment::acknowledgmentTime optional
...instead of relying on Time::Min() as blank value
2024-05-02 08:40:21 +00:00
Stefano Avallone
d3b3ae2bcd wifi: Make WifiProtection::protectionTime optional
...instead of relying on Time::Min() as blank value
2024-05-02 08:40:21 +00:00
Stefano Avallone
f9238adc3c wifi: Make WifiTxParameters::m_txDuration optional
...instead of relying on Time::Min() as blank value
2024-05-02 08:40:21 +00:00
Stefano Avallone
0ae38498fb wifi: Extend TXOP unit test to check the SingleRtsPerTxop attribute 2024-05-02 08:40:21 +00:00
Stefano Avallone
cc53100cfc wifi: Add a SingleRtsPerTxop attribute to prevent more than one protection per TXOP 2024-05-02 08:40:21 +00:00
Tom Henderson
655455bf04 propagation: Clarify units and range on Friis SystemLoss attribute 2024-05-01 22:47:30 +00:00
Tom Henderson
f0fda976f8 spectrum: Avoid newline in SpectrumValue ostream operator 2024-05-01 13:59:10 +00:00
Gabriel Ferreira
f008b0c9ab build: Lower optimization of GCC 9 default builds from -Os to -O2
A bug in GCC can result in crashes due to excessive memory usage (>10GB)
2024-04-29 14:30:25 +02:00
Gabriel Ferreira
4676dcdb8a tests: Add test fullness option for test.py when running examples 2024-04-27 21:30:05 +00:00
Eduardo Almeida
381d62561a ci: Add --disable-logs flag to per-commit-disabled-asserts job and use clang 2024-04-27 14:47:04 +00:00
Gabriel Ferreira
53e653b262 build: Fix trailing semicolon check for GCC pedantic warnings 2024-04-27 11:57:04 +02:00
Eduardo Almeida
ea058843e9 core: Add ns-3 version to deprecated message 2024-04-26 18:27:22 +00:00
Eduardo Almeida
65e9fb7427 Fix trailing whitespace, tabs and indentation 2024-04-26 14:46:05 +00:00
Eduardo Almeida
0bd18b88e7 check-style: Extend list of files analyzed by check-style-clang-format.py 2024-04-26 14:46:05 +00:00
Gabriel Ferreira
c92c3b1ca6 lte: Initialize variables 2024-04-25 13:23:19 +00:00
Gabriel Ferreira
2142f76392 antenna: Retrieve inclination and azimuth to let compiler fuse sincos 2024-04-25 10:08:05 +02:00
Gabriel Ferreira
b6892d1364 spectrum: Save up pow()'s and memory allocations in GenerateChannelParameters 2024-04-25 10:08:05 +02:00
Sébastien Deronne
387bfb0bca wifi: Fix PHY ID and operating channel reported in WifiPhy logs in case of multi link 2024-04-24 07:34:13 +02:00
Gabriel Ferreira
d8174c1ac8 bindings,docs: Update docs and script to support Cppyy 3 2024-04-22 22:25:34 +02:00