Commit Graph

16450 Commits

Author SHA1 Message Date
Gabriel Ferreira
0219e55c46 build: replace cmakedefine with define for integers in version-defines.h
Fixes https://gitlab.com/nsnam/ns-3-dev/-/issues/676
2022-06-18 19:04:16 -03:00
Gabriel Ferreira
0424c9a09c build: add to ns3 a --list option to print targets to build and run 2022-06-18 18:10:50 -03:00
Gabriel Ferreira
08d2d6cb00 build: widen find_external_library header search scope 2022-06-18 17:57:13 -03:00
Gabriel Ferreira
89d992af47 build: cmake-format 2022-06-18 17:57:06 -03:00
Gabriel Ferreira
8ecec24191 bindings: fix formatting with uncrustify 2022-06-18 17:57:06 -03:00
Gabriel Ferreira
e15b0dce2f tests: new test cases to check for style checking and sanitizers 2022-06-18 17:57:05 -03:00
Gabriel Ferreira
60e1e4032c fixing dead links 2022-06-18 17:57:05 -03:00
Gabriel Ferreira
a1580a5bd0 tests: new test case to check for stale links in the source code and docs 2022-06-18 17:57:05 -03:00
Tom Henderson
dff0b609f6 wifi: Fix valgrind issue in ChannelAccessManager test 2022-06-18 08:21:00 -07:00
Tommaso Pecorella
ab0bef5e24 propagation: Fix valgrind error in JakesPropagationLossModel 2022-06-17 22:53:45 -05:00
André Apitzsch
b33c0646a4 build: fix out-of-tree netanim build 2022-06-16 14:01:04 +00:00
Sebastien Deronne
ffb2d15399 wifi: Fix assert hit if channel switch delay is set to zero 2022-06-16 15:37:53 +02:00
Sebastien Deronne
e474944d82 wifi: Add lower bound check on channel switch delay attribute 2022-06-16 15:37:47 +02:00
Sebastien Deronne
1c2f4420ec wifi: Fix number of TX and RX spatial streams in WifiPhy init list 2022-06-16 15:37:40 +02:00
Stefano Avallone
82d3731a02 wifi: Extend ChannelAccessManager test
...to check that CCA_BUSY on secondary channels does not impact
channel access procedures.
2022-06-15 09:25:51 +00:00
Stefano Avallone
c9323a180f wifi: Add test for ChannelAccessManager::GetLargestIdlePrimaryChannel() 2022-06-15 09:25:51 +00:00
Stefano Avallone
6f34d6e0d6 wifi: Remove useless ChannelAccessManager::MostRecent() 2022-06-15 09:25:51 +00:00
Stefano Avallone
ac99256d50 wifi: Add a ChannelAccessManager method to compute the largest available primary channel 2022-06-15 09:25:51 +00:00
Stefano Avallone
3e4b673d1f wifi: ChannelAccessManager tracks start and end time of last idle period 2022-06-15 09:25:51 +00:00
Stefano Avallone
5845dbf84a wifi: ChannelAccessManager keeps per-20 MHz channel CCA Busy state 2022-06-15 09:25:51 +00:00
Stefano Avallone
2189585889 wifi: Simplify ChannelAccessManager member variables 2022-06-15 09:25:51 +00:00
Stefano Avallone
983dbc2254 wifi: Add methods to check the type of the operating channel 2022-06-15 09:25:51 +00:00
Stefano Avallone
258920c0d6 wifi: Get all the 20 MHz channel indices in a given primary or secondary channel 2022-06-15 09:25:51 +00:00
Sebastien Deronne
d7c4c676f5 wifi: Pass CCA busy durations per 20 MHz subchannel to WifiPhyListener::NotifyCcaBusyStart 2022-06-15 09:25:51 +00:00
Sebastien Deronne
c1dfb42dcf wifi: Pass channel type to WifiPhyListener::NotifyCcaBusyStart 2022-06-15 09:25:51 +00:00
Sebastien Deronne
dc6c5c36ec wifi: Define WifiChannelListType 2022-06-15 09:25:51 +00:00
Sebastien Deronne
5a8d849f89 wifi: Rename NotifyMaybeCcaBusyStart to NotifyCcaBusyStart 2022-06-15 09:25:51 +00:00
Tom Henderson
b0ec20b41d Fix previous commit trailing whitespace 2022-06-14 08:23:59 -07:00
Tom Henderson
93c4bbd9ac doc: Update stale tutorial information 2022-06-14 08:20:50 -07:00
Stefano Avallone
bdfb10a108 wifi: There is one WifiPhy::SetOperatingChannel() method now 2022-06-14 11:10:13 +02:00
Alberto Gallegos
1eabe61b56 lrwpan: Fixes PHY not going to TRX_OFF after CSMA-CA failure (RxOnWhenIdel(false)) 2022-06-13 13:14:48 +09:00
Gabriel Ferreira
6db83e54bf build: split environment variables used to search for libraries
Fixes https://gitlab.com/nsnam/ns-3-dev/-/issues/673
2022-06-09 19:24:55 -03:00
Gabriel Ferreira
d616b77129 build: call NS3_VERBOSE block earlier to catch early library checks 2022-06-09 17:07:41 -03:00
Stefano Avallone
ccbbed037f Update documentation 2022-06-09 14:51:58 +00:00
Stefano Avallone
a301750492 wifi: Examples to run include configurations with 11ax OFDMA enabled 2022-06-09 14:51:58 +00:00
Stefano Avallone
1be8c8a874 wifi: Extend the wifi-he-network script
Add an option to select DL or UL traffic and an option to configure
the channel access timer of the MultiUserScheduler.
2022-06-09 14:51:58 +00:00
Stefano Avallone
f8c2613e47 wifi: RR MultiUserScheduler tries UL MU if queues are empty when invoked 2022-06-09 14:51:58 +00:00
Stefano Avallone
9f0dbc8ba1 wifi: MultiUserScheduler can request channel access periodically
This allows an HE AP to coordinate UL MU transmissions even without
DL traffic.
2022-06-09 14:51:58 +00:00
Stefano Avallone
1bc7766228 wifi: Add a WifiMac method to return the ChannelAccessManager 2022-06-09 14:51:58 +00:00
Stefano Avallone
b351edb9b7 wifi: Compute UL MU info independently of previous DL MU transmission 2022-06-09 14:51:58 +00:00
Stefano Avallone
f6e1f84e50 wifi: Increase modularization of RrMultiUserScheduler 2022-06-09 14:51:58 +00:00
Stefano Avallone
693517ce0f network: Queue container can hold elements of type different than queue items
It is required that the container defines a public method that transforms
an iterator pointing to a container element into the corresponding queue item.
2022-06-08 15:31:44 +02:00
Stefano Avallone
7c73228e78 network: Remove begin() and end() from Queue class
begin() and end() are not necessarily meaningful for all the containers.
A GetContainer() method returning a const reference to the container is
added, so that begin() and end() can be called through it.
2022-06-08 15:31:44 +02:00
Stefano Avallone
e5805a53fb network: Queue uses a generic type of container to store items internally 2022-06-08 15:31:44 +02:00
Stefano Avallone
70ea7891fc core: Get the full type name for template classes
Also add a macro for class templates with two template parameters.
2022-06-08 15:31:44 +02:00
Tommaso Pecorella
e0f20a49c0 network: (fixes #611) Reset MAC address allocation pool between runs 2022-06-07 22:04:12 +00:00
Gabriel Ferreira
0f8f7125cd click: additional search suffixes for Click libraries
Fixes https://gitlab.com/nsnam/ns-3-dev/-/issues/670
2022-06-07 12:48:34 -03:00
Alberto Gallegos
de505a9a9a lr-wpan: Adds PAN descriptor, Command Payload Header, Capability Field 2022-06-07 07:58:45 +00:00
Tom Henderson
54f01f11a9 doc: Fix formatting 2022-06-06 13:04:15 -07:00
Tom Henderson
b6a5ee8151 Run utils/trim-trailing-whitespace.py on codebase 2022-06-05 21:01:11 -07:00