Commit Graph

312 Commits

Author SHA1 Message Date
Gabriel Ferreira
a25e553fa2 build, bindings: check if cppyy is available at runtime and format cmake 2022-08-05 01:17:00 -03:00
Stefano Avallone
7dce23fbd3 wifi: Align TXOP limit for VI and VO to 802.11-2020 2022-08-04 22:09:37 +02:00
Stefano Avallone
b5d158dd9d wifi: QosTxop holds per-link TXOP information 2022-08-04 22:09:37 +02:00
Sebastien Deronne
41123dc094 examples: Add 802.11be PHY rates validation 2022-08-04 11:03:50 +00:00
Tom Henderson
c5bd469dca wifi: Remove unused variable in example program 2022-08-03 15:03:29 -07:00
Gabriel Ferreira
4e1d606af5 bindings: fix segmentation violation in python scripts
And move sample-rng-plot.py code to a main function
2022-08-02 00:27:47 -03:00
Gabriel Ferreira
36df81be90 bindings: replace pybindgen bindings support with cppyy bindings 2022-08-01 21:24:02 +00:00
Stefano Avallone
7c11a1d012 wifi: Use new WifiHelper methods in some examples/tests 2022-07-06 07:23:20 +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
Tom Henderson
b6a5ee8151 Run utils/trim-trailing-whitespace.py on codebase 2022-06-05 21:01:11 -07:00
André Apitzsch
19bf707a1d wifi: Simplify rate adaptation example 2022-05-31 07:53:11 +00:00
Eduardo Almeida
201676fca7 Remove "using namespace std;" from codebase 2022-05-26 17:14:03 -07:00
Stefano Avallone
e3f51bccde wifi: Allow enabling UL OFDMA in wifi-he-network script 2022-04-25 21:49:31 +02:00
Tom Henderson
c5a2b513cd wifi: Small updates to three example programs.
* wifi-80211n-mimo.cc:  Add option to disable preamble detection
* wifi-bianchi.cc:  Update comment to account for more Wi-Fi standards
* wifi-simple-infra.cc:  Update stale comments and some minor style cleanup
2022-04-19 11:28:38 -07:00
Davide Magrin
df05ad1210 wifi: Set wifi-spatial-reuse.cc to use 20 MHz BW
This commit adapts the example to use the new way of specifying channel,
bandwidth and band via the ChannelSettings attribute, solving a
regression that caused it to use an 80 MHz bandwidth instead of the 20
MHz it was originally calibrated with.

In addition, it also expands the script description to reflect the
discussions in !873 and #566.
2022-03-21 13:57:12 -07:00
Szymon Szott
bd5a7b4ff1 wifi: fix typo in wifi-backward-compatibility.cc 2022-03-02 09:21:19 +00:00
Pasquale Imputato
327445ee94 wifi: (merges !843) Allow zero-throughput cases for wifi-he-network example.
The wifi-he-network example should check if the obtained throughout is
greater than zero before failing due to unexpected value.
2022-02-28 07:09:53 -08:00
Gabriel Ferreira
e32c177e45 build: remove waf files, tests and references 2022-02-21 22:08:45 -03:00
Tom Henderson
f50ba3169c wifi: (fixes #470) Update default Wi-Fi standard to 802.11ax 2022-02-14 12:26:32 -08:00
Tommaso Pecorella
da09260c3e examples: rebase 2022-01-30 12:06:53 -06:00
Gabriel Ferreira
41aacec626 build: CMake refactoring
Includes:
- refactor build_lib and build_lib_example macros
    - unify src and contrib macros
    - replace macro with function not to leak definitions
    - parse list of arguments
- different cmake-format file for modules to list one item per line
2022-01-28 10:20:18 -03:00
Gabriel Ferreira
33f2ee841b doc: update ns3 API 2022-01-19 16:25:03 -03:00
Sébastien Deronne
3fec6c013d wifi: merge RegularWifiMac and WifiMac 2022-01-09 17:14:04 +01:00
Stefano Avallone
961f9ab025 wifi: Doxygen fixes 2022-01-08 19:23:12 +01:00
Stefano Avallone
2a1d009116 wifi: Separate wifi standard and PHY band 2022-01-08 19:23:12 +01:00
Stefano Avallone
bd7ebdd4cf wifi: Switch to the new PHY methods to set the operating channel 2021-12-07 09:45:04 +01:00
Gabriel Ferreira
a893eba7e3 build: Fix CMake and ns3 script bugs, add a test suite and fix formatting 2021-12-05 21:53:49 +00:00
Gabriel Ferreira
3c604d5b2e Update docs with CMake and ns3 wrapper 2021-12-01 12:29:56 -08:00
Gabriel Ferreira
9c876c7f5a CMake buildsystem 2021-12-01 12:29:55 -08:00
Stefano Avallone
c35945ebf2 wifi: Install (Qos)Txop objects appropriately 2021-10-13 17:40:31 +02:00
Szymon Szott
f9cb9342ce Update wifi-spectrum-saturation-example.cc -- fix description of default distance value (from 50 to 1 m) to conform to the code 2021-09-08 15:03:40 +00:00
Stefano Avallone
171d1978d8 wifi: wifi-he-network example uses YansWifiPhy by default (again) 2021-07-02 11:26:06 +02:00
Stefano Avallone
d5bf97887b wifi: Extend wifi-he-networks example to show OFDMA usage 2021-06-15 13:09:07 +02:00
Tom Henderson
acec4714bb examples: (fix of commit e353bafa) Set PCAP data link type 2021-04-20 09:41:53 -07:00
Sébastien Deronne
e353bafa48 examples: Set wifi data link type when PCAP file is generated 2021-04-19 12:49:58 +02:00
Stefano Avallone
571e526ce6 wifi: WifiPhy makes use of WifiPhyOperatingChannel 2021-03-10 11:41:46 +01:00
Rediet
ea5d4c8c81 wifi: Remove HT Greenfield support 2021-02-16 09:38:47 +01:00
Rediet
2aba58e77e wifi: Remove Holland (solves #278) 2021-02-16 09:38:47 +01:00
Rediet
1ca46dec9a wifi,mesh: Move WifiMode handling from WifiPhy to PhyEntity classes
m_deviceRateSet, m_deviceMcsSet, and m_mcsIndexMap attributes have been replaced by calls to the m_phyEntities map
All static WifiMode calls are also redirected to the appropriate PhyEntity class
The next commit will clean up unused WifiMode getter methods in WifiPhy
2021-02-15 08:39:27 +01:00
Stefano Avallone
9a4a3ce716 wifi: Remove PCF support
PCF has been deprecated and will be removed from the IEEE 802.11 standard.
2021-01-27 19:54:01 +01:00
Stefano Avallone
d3b9214f3f wifi: Switch to using the FrameExchangeManagers on all stations 2021-01-26 22:32:24 +01:00
Stefano Avallone
cf13cf328f wifi: Switch to using the QosFrameExchangeManager on QoS stations 2021-01-24 15:58:50 +01:00
Stefano Avallone
0e414b6c90 wifi: Enable QoS support in the backward compatibility examples
Otherwise, HT stations send QoS data frames that cannot be received
by non-QoS stations. Also, check that the receiver supports HT
before calling GetMaxAmpduSize() with WIFI_MOD_CLASS_HT.
2021-01-20 12:27:16 +01:00
Sébastien Deronne
2e22c3da6b wifi: Add PCAP support for HE MU and HE TB PPDUs 2020-11-15 18:37:13 +00:00
Tom Henderson
9c34430e65 wifi: Update Python examples for API change in commit 7c89eaf6 2020-10-29 20:47:26 -07:00
Sébastien Deronne
7969df7089 wifi: Use table-based error model by default 2020-10-26 20:39:16 +00:00
Sébastien Deronne
7c89eaf663 wifi: Remove YansWifiPhyHelper::Default and SpectrumWifiPhyHelper::Default methods 2020-10-26 20:39:16 +00:00
Sébastien Deronne
41ceefb0e4 examples: Add example to compare wifi error rate models 2020-10-26 20:39:16 +00:00
Sébastien Deronne
be8a4fe60a examples: Update wifi OFDM validation examples with table-based error model 2020-10-26 20:39:16 +00:00