Commit Graph

335 Commits

Author SHA1 Message Date
Eduardo Almeida
e3c5c9831a Remove unnecessary casts to double for hard-coded numbers 2022-12-07 17:40:15 +00:00
Eduardo Almeida
0e44f5a0e0 examples: Improve wifi-ofdmt-eht-validation.cc 2022-11-25 01:59:08 +00:00
Tommaso Pecorella
a9223622da network: make addresses ConvertTo public and simplify python scripts 2022-11-25 01:36:26 +00:00
Eduardo Almeida
b9562ba520 Fix formatting of braced-init-lists by adding trailing comma 2022-11-24 16:13:09 +00:00
Tommaso Pecorella
0077121649 internet: (fixes #579) remove TcpWestwood model 2022-11-21 01:52:57 +00:00
Eduardo Almeida
7c182618ed Fix clang-tidy readability-redundant-string-cstr warnings 2022-10-28 16:05:20 +00:00
Gabriel Ferreira
12373157a4 bindings, docs: pass strings via char* to CommandLine.AddValue
And supplement memory-management issues section
2022-10-25 23:17:55 -03:00
Eduardo Almeida
dfc6fb9d2d Remove emacs comment from C++ files 2022-10-14 14:13:12 +00:00
Eduardo Almeida
e25ff966fe Apply clang-format to codebase 2022-10-07 20:08:35 +00:00
Eduardo Almeida
ebb596910c Fix remaining clang-tidy warnings 2022-10-07 11:48:11 +00:00
Eduardo Almeida
c1e7757315 Fix clang-tidy readability-isolate-declaration warnings 2022-10-07 11:48:11 +00:00
Eduardo Almeida
f65238a0db Fix clang-tidy readability-string-compare warnings 2022-10-07 11:48:11 +00:00
Eduardo Almeida
f87b53bbc5 Fix clang-tidy modernize-use-emplace warnings 2022-10-07 11:48:11 +00:00
Eduardo Almeida
fcb90b1ef6 Add clang-format guards to protect code formatting 2022-10-06 20:38:36 +00:00
Eduardo Almeida
39cc8431e1 examples: Initialize vectors with braces instead of = 2022-10-06 20:45:41 +01:00
Eduardo Almeida
b2af8bbe48 wifi, lte, dsr, examples: Optimize vector initialization 2022-10-06 11:20:57 +00:00
Eduardo Almeida
cb96ffb0a8 example: Optimize vector initialization 2022-09-26 10:17:55 +00:00
Eduardo Almeida
5b9bb7ad26 example: Add missing return 0 in multiple examples 2022-09-26 10:16:54 +00:00
Stefano Avallone
0f35f2c43c wifi: Run wifi-he-network example in the 2.4 GHz band, too
Helps identify regressions when using 11ax in the 2.4GHz band
2022-09-14 20:33:43 +00:00
Stefano Avallone
8c6918ef4c wifi: Add a ProbeDelay attribute to StaWifiMac 2022-09-05 10:11:27 +02:00
Stefano Avallone
31bd09673d wifi: Avoid potential failures in the wifi-he-network example 2022-09-05 10:11:27 +02:00
Tommaso Pecorella
606eb84448 doc: fix doxygen in various examples 2022-08-30 20:30:42 +00:00
Peter D. Barnes, Jr
e461e54d5a Update Ptr validity checks to new Ptr<>::operator bool 2022-08-18 08:59:30 -07:00
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