Commit Graph

299 Commits

Author SHA1 Message Date
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
Sébastien Deronne
d3135ed514 wifi: Forward up MPDUs from an A-MPDU under reception as long as they arrive at the PHY 2020-09-07 21:09:29 +02:00
Sebastien Deronne
5459ca6a6d wifi: Add 6 GHz band support for 802.11ax 2020-09-03 18:43:44 +00:00
Sebastien Deronne
bd1ad3994a wifi: Decouple standard and frequency band 2020-09-03 18:43:43 +00:00
Sebastien Deronne
4e72e64f43 wifi, wave: Remove 5 MHz and 10 MHz standard and introduce 802.11p standard instead 2020-09-03 18:43:43 +00:00
Stefano Avallone
79ca1357cb wifi: Remove RIFS support altogether
RIFS has been obsoleted by the standard and support for it
was not implemented properly.
2020-07-06 15:51:17 +02:00
Stefano Avallone
ea3c08b108 wifi: Cleanup unneeded methods 2020-07-06 15:51:17 +02:00
Stefano Avallone
fa9429046e wifi: SIFS and slot duration are only stored by the PHY 2020-07-06 15:51:17 +02:00
Alexander Krotov
25138d82a0 wifi-rate-adaptation-distance: use ConnectFailSafe for RateChange
RateChange trace does not exist for most RemoteStationManagers,
e.g. Minstrel.
2020-05-23 05:19:21 +03:00
Tommaso Pecorella
59cdedb238 examples: revert 621c444b (example doesn't use netanim) 2020-05-16 09:52:55 +00:00
Gabriel Arrobo
621c444b74 build: Fix wscript in example to include netanim in wscript
wifi-wired-bridging.cc example includes animation-interface.h
2020-05-15 21:14:37 -07:00
Peter D. Barnes, Jr
b23be18b3b Use CommandLine cmd (__FILE__) instead of COMMANDLINE macro.
This in effect replaces commit 5e624d550
2020-05-01 14:42:53 -07:00
Peter D. Barnes, Jr
5e624d5504 doc: Use the new COMMANDLINE macro in every example 2020-04-27 16:20:09 -07:00
Stefano Avallone
e5d69e80b3 wifi: Remove unused {Set,Get}CtsTimeout methods 2020-04-15 10:50:06 +02:00