Commit Graph

18353 Commits

Author SHA1 Message Date
Eduardo Almeida
f917fc0fec p2p: Use cached variable 2023-10-20 19:49:05 +00:00
Alberto Gallegos Ramonet
4bb239b8ce lr-wpan: Change SuperframeField to standard bitmap 2023-10-20 14:07:23 +09:00
Eduardo Almeida
96d7587845 core: Fix clang-tidy modernize-use-nullptr warning 2023-10-19 22:29:07 +01:00
Eduardo Almeida
ca946d3549 clang-format: Update standard to C++20 2023-10-19 18:55:47 +01:00
Gabriel Ferreira
bb491ed153 network,wifi: lambda [=] doesn't implicitly capture this in c++20 2023-10-19 10:59:23 -03:00
Gabriel Ferreira
2622354a0b build: bump minimum C++ version to C++20 2023-10-19 10:59:23 -03:00
Gabriel Ferreira
75f557869f build: bump minimum CMake version to 3.12 2023-10-19 10:58:39 -03:00
Gabriel Ferreira
4e06af5256 build: disable restrict warning when using GCC 12.1-12.3
Prevents warning raised by a compiler bug when using GCC 12.1-12.3 with C++20

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105545
2023-10-19 10:57:02 -03:00
Gabriel Ferreira
2c9bf1c0d6 clang-tidy: ignore unknown warning options 2023-10-19 10:53:59 -03:00
Gabriel Ferreira
9600693fb1 build: disable precompiled headers when using GCC >=12.2
Prevents out-of-bounds error bug present in GCC >=12.2 that happens when precompiled headers are used with c++20

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106799
2023-10-19 10:53:59 -03:00
Gabriel Ferreira
2a7b4451b6 ci: remove eigen3 from Clang 10 jobs
Ubuntu 20.04 version of eigen3 raises `bitwise operation between different enumeration types` warnings when building with C++20
2023-10-19 10:16:19 -03:00
Gabriel Ferreira
cd01ebb1fe lte: initialize variable 2023-10-17 18:16:22 -03:00
Gabriel Ferreira
ea31a255fa propagation: replace map with unordered_map for MobilityPair 2023-10-17 18:16:22 -03:00
Gabriel Ferreira
3e3b9a2f96 core: make 'norm' unambiguous 2023-10-17 18:16:21 -03:00
Gabriel Ferreira
958734c2fe lte: replace problematic map.insert(key,value) with map[key] = value 2023-10-17 18:16:21 -03:00
Gabriel Ferreira
2797c90b18 build: format cmake 2023-10-17 18:16:21 -03:00
Gabriel Ferreira
cbdc9a429b wifi: use const ref instead of copy
To satisfy clang-tidy and some compilers
2023-10-17 18:16:21 -03:00
Gabriel Ferreira
d31130c46a lte: performing arithmetic operations between two different enums is forbidden in C++20 2023-10-17 18:16:21 -03:00
Gabriel Ferreira
5b130ba365 core: template id isn't allowed in constructors and destructors on C++20
https://timsong-cpp.github.io/cppwp/n4861/diff.cpp17#class-2
2023-10-17 18:16:21 -03:00
Gabriel Ferreira
14a50b9838 ci: disable cppyy jobs due to newer GCC releases incompatibility with Cppyy 2.4.2 2023-10-13 20:49:01 -03:00
Gabriel Ferreira
4cd4b75309 build: reformat the ns3 script 2023-10-13 20:46:44 -03:00
Gabriel Ferreira
2875810a61 build: ensure build and cmake-cache directories are removed on clean 2023-10-13 20:45:59 -03:00
Gabriel Ferreira
816ebce2a5 build: refactor path forming 2023-10-13 20:43:34 -03:00
Eduardo Almeida
849700282a traffic-control: Change return type of RedQueueDisc::DropEarly() from uint32_t to bool 2023-10-12 12:58:07 +00:00
Stefano Avallone
edf72af4bf wifi: EMLSR clients honor the limit on max number of TXOP attempts 2023-10-12 07:06:31 +00:00
Stefano Avallone
74c9b84e3e wifi: Make sure that we do not start a transmission on a blocked EMLSR link 2023-10-12 07:06:31 +00:00
Stefano Avallone
c9dd0e4d62 wifi: EMLSR clients send RTS as initial frame in a TXOP while MediumSyncDelay timer is running 2023-10-12 07:06:31 +00:00
Stefano Avallone
b4054c72fe wifi: Stop MediumSyncDelay timer when receiving an MPDU 2023-10-12 07:06:31 +00:00
Stefano Avallone
cf3c8182f2 wifi: EMLSR Manager handles MediumSyncDelay timers 2023-10-12 07:06:31 +00:00
Stefano Avallone
2a2287737c wifi: MediumSyncDelay info advertised by AP MLD is stored by EMLSR Manager 2023-10-12 07:06:31 +00:00
Stefano Avallone
5e1047dcee wifi: Add MediumSyncDelay Info to Multi-Link Elements included by AP MLDs in Assoc Resp frames 2023-10-12 07:06:31 +00:00
Stefano Avallone
5db0a7b39d wifi: Temporarily disable EMLSR test case 2023-10-12 07:06:31 +00:00
Stefano Avallone
fe141a64d7 wifi: Add MediumSyncDelay attributes to EHT configuration 2023-10-12 07:06:31 +00:00
Stefano Avallone
bf7cf39231 wifi: Support setting no max number of TXOPs during medium access recovery
Also, methods related to the Common Info field of the Basic variant MLE
are moved to the corresponding struct.
2023-10-12 07:06:31 +00:00
Stefano Avallone
4fc5162f97 wifi: Default EMLSR Manager switches main PHY back to its previous link
...when a TXOP ends, if the aux PHYs do not switch link
2023-10-12 07:06:31 +00:00
Stefano Avallone
f38712dc3c wifi: Re-enable short slot time (if needed) after EMLSR link switch 2023-10-12 07:06:31 +00:00
Stefano Avallone
67098b925b wifi: EMLSR Manager passes more notifications to subclasses 2023-10-12 07:06:31 +00:00
Stefano Avallone
f030fb8d7c wifi: Define struct for parameters of test cases in EMLSR unit test 2023-10-12 07:06:31 +00:00
Stefano Avallone
b902ded5dc wifi: Add header file for wifi EMLSR test 2023-10-12 07:06:31 +00:00
Stefano Avallone
163c603fdd wifi: EMLSR Manager limits the max modulation class supported by aux PHYs 2023-10-12 07:06:31 +00:00
Stefano Avallone
bb0d4f694e wifi: Make some EmlsrManager attributes not modifiable after construction 2023-10-12 07:06:31 +00:00
Stefano Avallone
8558da228b wifi: Enable setting the max modulation class supported by PHY 2023-10-12 07:06:31 +00:00
Eduardo Almeida
1b1654536d utils: Remove extra new lines in the files created by create-module.py 2023-10-11 11:53:14 +00:00
Eduardo Almeida
2ab0550da8 Fix entry in CHANGES.md 2023-10-11 12:01:43 +01:00
Alberto Gallegos Ramonet
e442afd977 lr-wpan: Change CapabilityField to standard bitmap 2023-10-11 11:08:09 +09:00
Tommaso Pecorella
f392502d9d csma: use const on transmitted packets 2023-10-11 01:46:36 +02:00
Eduardo Almeida
7fbd63e085 utils: Fix README Markdown linting issues 2023-10-09 22:16:18 +00:00
Eduardo Almeida
6c87965ae2 scratch: Add nested-subdir/ to list of non-ignored dirs of .gitignore 2023-10-08 14:33:24 +01:00
André Apitzsch
00604f18e1 test: Remove Python2 fallback 2023-10-08 01:57:46 +00:00
André Apitzsch
f426a0749a test: use early return 2023-10-08 01:57:46 +00:00