Commit Graph

14036 Commits

Author SHA1 Message Date
Stefano Avallone
44f6309bf2 wifi: Add unit test for extraction of expired MPDUs 2023-03-10 15:24:10 +01:00
Stefano Avallone
101a5a1a40 wifi: Prevent extraction of inflight MPDUs with lifetime expired 2023-03-10 11:49:11 +01:00
Stefano Avallone
1f54892b7e wifi: Fix getting p80 channel number in 6 GHz band 2023-03-10 11:49:11 +01:00
Biljana Bojovic
b68ebc98a7 core: (fixes #866) Adjust testing of default ValArray move constructor and assignment 2023-03-09 14:33:54 -08:00
Biljana Bojovic
a811d8c593 core: (fixes #867) Remove noexcept from ValArray/MatrixArray move constructor/assignment 2023-03-09 14:33:48 -08:00
Tom Henderson
df20f5f5e8 doc: Fix errors found by codespell and aspell 2023-03-09 11:45:15 -08:00
Stefano Avallone
7da2f08a97 core: (fixes #859) Avoid signature mismatch when creating bound callbacks 2023-03-07 21:54:20 +00:00
Stefano Avallone
e31169b8ed wifi: Add explicit casts in wifi-ac-mapping test suite 2023-03-07 21:54:20 +00:00
Stefano Avallone
7e7f766ff0 core: Align Callback usage with signature (L309) in CommandLine class 2023-03-07 21:54:20 +00:00
Stefano Avallone
86d90acc3f core: Fix bound callback type in callback test suite 2023-03-07 21:54:20 +00:00
Eduardo Almeida
ce82692a21 antenna, core: Fix coding style, formatting and typos 2023-03-07 17:56:19 +00:00
Sébastien Deronne
3f5b18b922 wifi: HE TB TXVECTOR parameters should be obtained from the TRIGVECTOR instead of HE-SIG-A header 2023-03-07 04:58:29 +00:00
Sébastien Deronne
30db47be6f wifi: We do not need to abort in functions returning a well-defined duration 2023-03-07 04:58:29 +00:00
Sébastien Deronne
55f460571a wifi: Fix TRIGVECTOR not set in TestUlOfdmaPpduUid 2023-03-07 04:58:29 +00:00
Sébastien Deronne
6491f44169 wifi: Cleanup invalid OFDMA PHY tests 2023-03-07 04:58:29 +00:00
Tom Henderson
6bfeaa90b1 wifi: Identify class in attribute deprecation help string 2023-03-04 08:14:45 -08:00
Tom Henderson
58758631cd wifi: (fixes #835) Fix types in AttributeContainerAccessor 2023-03-04 08:14:45 -08:00
Biljana Bojovic
7495938a2d spectrum, antenna: Change definitions of 1D, 2D, 3D complex vectors
spectrum, antenna: Remove unnecessary Eigen includes

fix clang-tidy issues in three-gpp-spectrum-propagation-loss-model
2023-03-03 21:15:50 +01:00
Biljana Bojovic
b7c3ba83fb core: Add MatrixArray and MatrixArrayTestSuite
MatrixArray class is introduced for efficient operations on arrays of matrices
core: Allow using GetPagePtr as public function of MatrixArray
core: Remove Eigen include from matrix-array.h
core: Fix MatrixArray Doxygen
core: Fix MatrixArrayTestSuite Doxygen
core: Make HermitianTranspose member of MatrixArray
fix matrix-array spell check
core: Improve constructor Doxygen description
core: Move out MatrixArray inline function implementation from the class declaration (Thanks to Peter Barnes)
Use auto in MatrixArrayTestCase to be consistent
2023-03-03 21:15:50 +01:00
Biljana Bojovic
abcee41e3d core: Add ValArray and ValArrayTestSuite
core: Improve operator<< implementation, to not represent all numbers with the real and the imaginary parts, instead
use the operator<< of each of the types (Thanks to Peter Barnes)
core: Improve operator<< to remove unnecessary "\t" and remove "std::endl" flush from each row of the matrix (Thanks to Peter Barnes)
core: Improve constructor that accepts std::vector and copies it into the std::valarray, use std::copy operator (Thanks to Peter Barnes)
core: Move out inline implementations from ValArray class outside from the class declaration (Thanks to Peter Barnes)
core: Move implementations from val-array.cc file into val-array.h file to have achieve truely template ValArray (Thanks to Peter Barnes)
core: Use stl library and std::equal for the operator == (Thanks to Peter Barnes)
core: Use stl library and std::equal and lambda expression in IsAlmostEqual (Thanks to Peter Barnes)
core: Use size_t for the index in the ValArray instead of uint16_t (Thanks to Peter Barnes)
Use auto in ValArrayTestCase to be more consistent
Improve Doxygen
Remove cast to (uint16_t)
core: Remove definition of ValArray for int, double, complex,they are not needed any more after moving all implementation to the header file
Remove accidentally added new lines in core/CMakeLists.
2023-03-03 21:15:26 +01:00
Tom Henderson
acbef0e96c tap-bridge: Update shell choice for scripts 2023-02-28 21:19:48 -08:00
Bill Tao
0e0d10b617 tap-bridge: (fixes #839) Update LXC configuration files 2023-02-28 21:19:04 -08:00
Peter D. Barnes, Jr
aca3bd9638 core: (fixes #863) override d'tor 2023-02-27 18:09:47 -08:00
Peter D. Barnes, Jr
1b514e6344 core: assert-example program 2023-02-27 19:52:40 +00:00
Peter D. Barnes, Jr
531f2d6d22 core: log-example 2023-02-27 09:52:25 -08:00
Peter D. Barnes, Jr
8894c8fad9 core: add delimiters to log message so fields don't run together 2023-02-27 09:49:09 -08:00
Peter D. Barnes, Jr
34b6c4f097 core: allow examples to return an error in examples-as-tests 2023-02-27 17:41:02 +00:00
Peter D. Barnes, Jr
63912dfc4a core: fix output redirection in example-as-test 2023-02-27 17:41:02 +00:00
Gabriel Ferreira
7b7b3c10b7 lr-wpan: rename 802.15.4-psr-distance.eps to 802-15-4-psr-distance.eps 2023-02-27 15:48:44 +00:00
Alberto Gallegos Ramonet
c85819b502 lr-wpan: (fixes #636) Ext address, short address and manual assoc adjustments 2023-02-27 14:33:28 +09:00
Alberto Gallegos Ramonet
5d0948a7c7 lr-wpan: Add rx Sensitivity configuration support 2023-02-27 12:17:11 +09:00
Stefano Avallone
fad32cb757 wifi: (fixes #861) Connect traces to correct Txop object 2023-02-26 11:18:33 +00:00
Stefano Avallone
83de9cdb07 wifi: A WifiRemoteStation may not exist when GetMostRecentRssi is called, in case of MLDs 2023-02-26 11:18:33 +00:00
Stefano Avallone
603ec8b51f wifi: Do not hash BSSIDs to avoid randomness in AP selection 2023-02-26 11:18:33 +00:00
Stefano Avallone
ceb8957a3b wifi: Track whether an MPDU is assigned a sequence number in a more robust way 2023-02-26 11:18:33 +00:00
Stefano Avallone
2e5e0c076b wifi: Add convenient methods to get info of original MPDU copy 2023-02-26 11:18:33 +00:00
Stefano Avallone
ed145c232e wifi: Make implementation of ReleaseSequenceNumbers more robust 2023-02-26 11:18:33 +00:00
Stefano Avallone
8959c841d2 wifi: Add a unit test to check the release of sequence numbers upon CTS timeout under MLO 2023-02-26 11:18:33 +00:00
Tom Henderson
281b2383a9 core: main-random-variable-stream: avoid unused return value 2023-02-25 16:38:10 +00:00
Stefano Avallone
46e97e4e77 wifi: Mark MPDUs as inflight as soon as the PSDU has been prepared
In this way, MPDUs are already marked as inflight when the (MU-)RTS
is sent, thus they are not included in the PSDU prepared for transmission
on a second link.
2023-02-24 10:31:35 +01:00
Stefano Avallone
c982d6ed9b wifi: Add EHT FEM to logged components 2023-02-24 10:31:09 +01:00
Stefano Avallone
c0ee89374e wifi: Add a function to check if a PSDU map contains only a Trigger Frame 2023-02-24 10:31:09 +01:00
Stefano Avallone
52e1193d87 wifi: Extend MAC OFDMA test to check MU-RTS protection 2023-02-24 10:31:09 +01:00
Stefano Avallone
bc77d7b4da wifi: Add MU-RTS support to the HE Frame Exchange Manager 2023-02-24 10:31:07 +01:00
Stefano Avallone
44bb8c21b4 wifi: Fix setting of Duration/ID field of Multi-STA BlockAck 2023-02-24 10:05:33 +01:00
Stefano Avallone
bdddd9511d wifi: Add MU-RTS support to default protection manager 2023-02-24 10:05:33 +01:00
Stefano Avallone
b3d6a71f46 wifi: Properly set RU Allocation subfield for MU-RTS TF 2023-02-24 10:05:33 +01:00
Stefano Avallone
d2621449b9 wifi: Add a WifiProtection subclass for MU-RTS/CTS protection 2023-02-24 10:05:33 +01:00
Stefano Avallone
87a5d1f2a4 wifi: Add an element to WifiTxTimer for missed CTS after MU-RTS 2023-02-24 10:05:33 +01:00
Stefano Avallone
efb34005c8 wifi: Enable assert in ChannelAccessManager 2023-02-24 10:05:33 +01:00