Commit Graph

14060 Commits

Author SHA1 Message Date
Stefano Avallone
fcaffe8f51 wifi: (fixes #880) Init last busy structs at initialization time
Otherwise, channel changes done after Install() and before Initialize()
do not trigger an update of the last busy structs.
2023-04-05 22:39:31 +02:00
Sébastien Deronne
db2be4a9d9 wifi: Pass operating channel to WifiPpdu 2023-04-05 16:32:33 +00:00
Sébastien Deronne
a133d4c04d wifi: Add missing operators to WifiPhyOperatingChannel 2023-04-05 16:32:33 +00:00
Tommaso Pecorella
5fc249a991 internet: refactor how headers are built during fragmentation 2023-04-04 07:53:50 +00:00
André Apitzsch
53ce443f79 test: Replace deprecated optparse 2023-04-03 13:43:19 +00:00
Alberto Gallegos Ramonet
5cbd4b9c8f lr-wpan: Added macPanId to MAC SET GET attributes 2023-04-03 17:39:17 +09:00
Alberto Gallegos
a3777c82f3 network: Add Mac16 and Mac64 functions 2023-04-02 13:05:14 +09:00
Alberto Gallegos
8aca64eacc lr-wpan: Add attributes to MLME-SET and MLME-GET 2023-04-01 18:15:04 +09:00
pagmatt
0132e159df antenna: Remove deprecated ComputeNorm declaration 2023-03-31 23:46:10 +00:00
Robert-ML
eb9448716b wifi: Correct uint32_t division to double 2023-03-31 16:09:48 -07:00
Alberto Gallegos Ramonet
1e49101c39 lr-wpan: Fixes issues during MAC scan 2023-03-30 12:03:36 +09:00
Biljana Bojovic
eed35c2131 spectrum: Use uint32_t instead of uint8_t for m_rbNum and m_timeGranularity in TraceFadingLossModel
With NR we can have a larger number of RBs than we could have
in past with LTE. In LTE the maximum was 100RBs for 20MHz BW,
while in NR it could go e.g. up to 275.
Hence, uint8_t is not sufficient any more.

Similarly, m_timeGranularity needs to support higher values.
2023-03-29 09:59:10 +00:00
Alberto Gallegos
1083229fe1 network: Add ConvertToInt to Mac64Address 2023-03-28 12:10:18 +09:00
Alberto Gallegos Ramonet
8afeb5249c lr-wpan: Orphan scan support 2023-03-24 17:08:36 +09:00
Raghuram Kannan
e70609116a core: (fixes #855) Add caching to lognormal RNG 2023-03-23 16:39:47 +00:00
Gabriel Ferreira
b085bae2bc dsr: mark operator<<(std::ostream& os, const DsrOptionSRHeader& sr)
as [[maybe_unused]]
2023-03-20 02:14:44 +00:00
Gabriel Ferreira
540f48c55a Fix additional typos 2023-03-20 02:14:44 +00:00
André Apitzsch
69de0bc493 netanim: Add missing version updates
a7bdcafed9 didn't cover all.
2023-03-19 18:27:32 +00:00
Alberto Gallegos Ramonet
7786a55ec4 network: Add Mac16Address constructor 2023-03-17 18:16:23 +09:00
André Apitzsch
05af2f45e0 Remove unused 'deprecated.h' includes 2023-03-16 14:58:02 +00:00
Tom Henderson
cc2552a166 core: Add deprecated for ns-3.39 2023-03-16 05:36:23 -07:00
Sébastien Deronne
2a75e50f53 wifi: Fix UID used in an MU-CTS trigger response on 2.4 GHz links 2023-03-13 18:40:03 +01:00
Tom Henderson
38b33903ba openflow: Align Callback usage with signature in CommandLine class 2023-03-13 08:00:08 -07:00
Tom Henderson
a7bdcafed9 netanim: Update required netanim version 2023-03-13 07:59:58 -07:00
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