Commit Graph

18509 Commits

Author SHA1 Message Date
Stefano Avallone
6a2e56c9fe wifi: Allow creation of A-MSDUs containing a single MSDU 2023-12-06 09:24:49 +01:00
Stefano Avallone
9569165b06 wifi: Extend aggregation unit test 2023-12-06 09:24:49 +01:00
Stefano Avallone
0d693ef45e wifi: Stop A-MSDU aggregation if an A-MSDU is found in the queue
A-MSDUs with no assigned sequence number may be found in the queue
after an RTS/CTS failure.
2023-12-06 09:24:49 +01:00
Stefano Avallone
d6db2e45de wifi: Do not start A-MSDU aggregation if an A-MSDU is found in the queue
A-MSDUs with no assigned sequence number may be found in the queue
after an RTS/CTS failure.
2023-12-06 09:24:49 +01:00
Sébastien Deronne
c24de8e319 network: use 32 bits instead of 16 bits to support larger packets 2023-12-05 20:31:07 +00:00
Eduardo Almeida
be0d02ab51 examples,dsr,lte,olsr,tc: Remove unused config-store includes 2023-12-05 16:22:06 +00:00
Sébastien Deronne
d1d538ef46 wifi: Document implementation choice regarding Block Ack agreement setup 2023-12-03 15:49:56 +01:00
Stefano Avallone
7f1c31b5ec wifi: WifiPhyStateHelper keeps a list of weak pointers to PHY listeners 2023-11-30 09:43:30 +00:00
Stefano Avallone
5be1025887 wifi: Prevent changes to list of PHY listeners while iterating over it 2023-11-30 09:43:30 +00:00
Stefano Avallone
5bd77d712d wifi: Avoid code duplication in WifiPhyStateHelper 2023-11-30 09:43:30 +00:00
Stefano Avallone
7165cf22af wifi: Use shared pointers to pass PhyListeners to WifiPhyStateHelper via WifiPhy 2023-11-30 09:43:30 +00:00
Sébastien Deronne
28feec2d63 Update RELEASE_NOTES.md 2023-11-28 20:00:36 +01:00
Stefano Avallone
f8819a4966 wifi: Set the initiator flag in DELBA frames 2023-11-28 20:00:36 +01:00
Sébastien Deronne
3fd9a97df8 wifi: Make sure access to channel is requested when a DELBA frame is enqueued 2023-11-28 07:04:40 +00:00
Sébastien Deronne
473f67949f wifi: Agreement is torn down once a DELBA frame is acknowledged 2023-11-28 07:04:40 +00:00
Sébastien Deronne
eb360100f3 Update CHANGES.md and RELEASE_NOTES.md 2023-11-27 19:07:19 +01:00
Sébastien Deronne
337763e514 wifi: Update RtsCtsThreshold attribute to be in line with dot11RTSThreshold from latest standard 2023-11-27 19:06:22 +01:00
Biljana Bojovic
ceceec682e Update CHANGES.md and RELEASE_NOTES.md to describe !1337 2023-11-27 15:39:52 +01:00
Biljana Bojovic
04305d347c antena, spectrum: Rename in PhasedArrayModel GetNumberOfElements() to GetNumElems() 2023-11-27 15:37:30 +01:00
Sandra Lagen
90f65e13bc spectrum: Add test case for MIMO using dual polarization
spectrum: Fix test auto -> size_t
spectrum: Fix polarization test case
spectrum: Remove std::cout from the test
spectrum: Fix ThreeGppChannelTestSuite Doxygen
spectrum: Fix test IsPolarized->IsDualPolarized
spectrum: Fix index type to be size_t instead of auto
spectrum: Expand the polarization test suite
spectrum: Use different polarization slant angle test cases
fix doxygen of test
2023-11-27 15:37:30 +01:00
Sandra Lagen
17a05485fd spectrum: Add test case for long term matrix generation with multiple ports 2023-11-27 15:37:30 +01:00
Biljana Bojovic
1791a52e36 spectrum: Extensions for MIMO support (multiple TX/RX antenna ports, polarizations, freq.domain ch. matrix)
spectrum: Remove obsolete code line
spectrum: Fix MatrixBasedChannelModel Doxygen
spectrum: Fix SpectrumSignalParameters Doxygen
spectrum: Fix ThreeGppSpectrumPropagationLossModel Doxygen
spectrum: Rename get horizontal number of elements in the port
spectrum: Rename GetElem->Elem
spectrum: More consistent usage of auto in ThreeGppChannelExample
spectrum: ThreeGppSpectrum to use HermitianTranspose that is a member of MatrixArray
spectrum: GetPolAngle->GetPolSlant MR2
spectrum: Rename IsPolDual -> IsDualPol, and IsPolarized->IsDualPolarized
spectrum: Replace GetNumPolarization with simple code
spectrum: Remove unnecessary copy of rxParams
spectrum: Rename sAntElmnts/uAntElmnts to more intuitive sPortElems/uPortElems
spectrum: Improve comment in CalcBeamformingGain, add line breaks
spectrum: Fix comment in spectrum-signal-parameters
spectrum: Simplify the code for spectrum channel matrix calculation
fix spell check type vice-versa
Add <map> include
spectrum: Update variables to use size_t instead of uint16_t
spectrum: Refactor the code related to polarization and move it to antenna
spectrum: Documents the full MIMO extensions
spectrum: fix doxygen y comments
spectrum: fix documentation
fix spectrum doc
spectrum: Minor documentation cleaning
spectrum: Simplify the interface
Minor fixes in spectrum 3gpp
spectrum: Add a reference and a comment in the code for the multi-port
model and 3GPP sub-array partition model for the TXRU virtualization
2023-11-27 15:37:30 +01:00
Biljana Bojovic
adeecb9abd antenna: Extend antenna array to support multiple ports and dual pol. of antenna elements
antenna: Fix PhasedArrayAntennaModel Doxygen
antenna: Fix UniformPlanarArray Doxygen
antenna: Rename Get horizontal vertical number of elements in the port
antenna: fix phased-array-model.cc
antenna: Fix (remove 3gpp comment)
antenna: Add units to GetPolSlant
antenna: Fix IsPolDual -> IsDualPol, add function SetDualPol, Remove SetPolarization
antenna: Remove GetNumPolarizations function to reduce the dependency between spectrum and antenna
antenna: Simplify the code in GetBeamformingVector in PhasedArrayModel
antenna: Rename GetPolAngle->GetPolSlant
antenna: Fix GetBeamformingVector normalization description, add 3GPP reference
antenna: Expand explanation of why is done the normalization of the BF weights in GetBeamformingVector
antenna: Enable access to public Get and Set functions
antenna: Refactor and move the code related to polarization to antenna model
fix variable name in antenna
antenna fix doxygen
antenna: Doc. for dual-polarization and multiple ports in UniformPlannarArray
remote trailing whitespaces
antenna: Return back cos and sin optimization of pol slant angle
antenna: Fix documentation regarding the polarization slant angle
antenna: UniformPlannarArray Initialize cos/sin of -90
antenna: Change parameter names
Remove new line
antenna: Suggestions proposed by Eduardo Almeida
antenna: Add a 3GPP reference for a multi-port antenna array model
2023-11-27 15:37:30 +01:00
Biljana Bojovic
81bd1e0bb4 spectrum: Add ==, !=, Get/Set Values to SpectrumValue
spectrum: Add operator == and != to SpectrumValue
spectrum: Fix operator ==,!= (Thanks to Eduardo Almeida and Gabriel Ferreira)
spectrum: Add GetValues and SetValues functions to SpectrumValue
2023-11-27 15:37:30 +01:00
Tom Henderson
952b173a04 ci: Fix syntax of previous commit 2023-11-26 20:40:04 -08:00
Tom Henderson
1d78236695 ci: Disable CodeQL test for ns-3 forks 2023-11-27 01:17:52 +00:00
Tolik Zinovyev
50979b2a90 wifi: avoid computing durations when logging is disabled. 2023-11-26 19:19:40 +00:00
Stefano Avallone
0be162d227 wifi: Update user documentation 2023-11-26 18:36:54 +01:00
Stefano Avallone
7cf6dd50e9 wifi: Specify BlockAck buffer size in wifi-eht-network example 2023-11-26 18:36:54 +01:00
Stefano Avallone
2f1df3fc17 wifi: MPDU aggregator considers max A-MPDU length in EHT Capabilities 2023-11-26 18:36:54 +01:00
Stefano Avallone
61de64c983 wifi: Fix EhtCapabilities doxygen 2023-11-26 18:36:54 +01:00
Stefano Avallone
c176f4bbde wifi: Extend wifi-aggregation test to check aggregation with 11be MLDs 2023-11-26 18:36:54 +01:00
Stefano Avallone
72f4658544 wifi: Refactor wifi-aggregation test to avoid code duplication 2023-11-26 18:36:54 +01:00
Stefano Avallone
d0259ceb99 wifi: Raise default BlockAck buffer size to max value allowed by supported standard 2023-11-26 18:36:54 +01:00
Stefano Avallone
2f624efd38 wifi: Obsolete the HeConfiguration::MpduBufferSize attribute and cleanup unneeded methods 2023-11-26 18:36:53 +01:00
Stefano Avallone
92580cb106 wifi: Add a WifiMac attribute to configure BlockAck buffer size
The value of this attribute can be easily capped to the maximum allowed value based
on the supported standard.
2023-11-26 18:34:52 +01:00
Stefano Avallone
e6e0d9f947 wifi: Add a method to get the max supported BA buffer size based on supported standard 2023-11-26 18:34:52 +01:00
Stefano Avallone
75ba5cdc94 wifi: Use bitmaps of 64 and 128 octets depending on buffer size 2023-11-26 18:34:52 +01:00
Stefano Avallone
f1fe254d68 wifi: Extend BlockAck frames to support bitmaps of 64 and 128 octets 2023-11-26 18:34:52 +01:00
Stefano Avallone
7dd8c48dc8 wifi: ADDBA Request/Response frames support buffer size > 1023 MPDUs 2023-11-26 18:34:52 +01:00
Stefano Avallone
5ba5c56a37 wifi: Implement ADDBA Extension element 2023-11-26 18:34:52 +01:00
Stefano Avallone
ab862982ab wifi: Move action frames to a separate file 2023-11-26 18:34:52 +01:00
Stefano Avallone
65ed14d8f4 wifi: Unblock packets when ADDBA request is rejected, too 2023-11-25 13:15:56 +01:00
Stefano Avallone
1db2c9b640 wifi: Improve PIFS recovery condition 2023-11-25 13:15:56 +01:00
Stefano Avallone
bf00321235 wifi: STA(s) that did not respond in a TXOP are no longer protected 2023-11-25 13:15:56 +01:00
Stefano Avallone
df97ca42be wifi: Schedule channel access request upon enqueuing a packet
This allows us to request channel access after that all the packets of a burst
are enqueued, instead of requesting channel access right after the first packet
2023-11-25 13:15:56 +01:00
Stefano Avallone
3f19c111e3 wifi: Have STA send packet to the AP in the channel switching test
...instead of having the AP send a packet to the STA. In fact, AP may flush
the packets addressed to a STA when STA dissociates.
2023-11-25 13:15:56 +01:00
Stefano Avallone
75f9d5fb2e Update documentation 2023-11-25 13:15:56 +01:00
Stefano Avallone
03e241866f wifi: No PHY may be operating on an EMLSR link when watchdog expires 2023-11-25 13:15:56 +01:00
Stefano Avallone
0d39d4643e wifi: Non-AP MLDs use a single beacon watchdog 2023-11-25 13:15:56 +01:00