Commit Graph

1259 Commits

Author SHA1 Message Date
Eduardo Almeida
4af0fe4b85 Fix clang-tidy modernize-use-nullptr warnings 2022-10-07 11:48:10 +00:00
Eduardo Almeida
be07b6487a Fix clang-tidy modernize-use-override warnings 2022-10-07 11:48:10 +00:00
Eduardo Almeida
6bb6383562 Fix clang-tidy modernize-redundant-void-arg warnings 2022-10-07 11:48:10 +00:00
Eduardo Almeida
371bb9e6f0 Convert tabs to spaces in Python scripts 2022-10-06 20:41:07 +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
bdf80a8f85 Fix clang-tidy bugprone-too-small-loop-variable warnings (fixes #758) 2022-10-06 10:56:47 +00:00
Eduardo Almeida
820ad760b8 Fix clang-tidy readability-redundant-control-flow warnings 2022-09-29 20:06:57 +01: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
Tommaso Pecorella
5e551a2180 core: (fixes #416) remove librt checks 2022-08-05 01:42:12 +00: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
Sébastien Deronne
793042d63f spectrum: Pass SpectrumSignalParameters to CalcRxPowerSpectralDensity 2022-07-15 15:30:18 +00:00
Gabriel Ferreira
820dbeab66 doc: fix wrong uses of ns3 run 2022-07-06 10:06:41 -03:00
Stefano Avallone
7c11a1d012 wifi: Use new WifiHelper methods in some examples/tests 2022-07-06 07:23:20 +00:00
Gabriel Ferreira
60e1e4032c fixing dead links 2022-06-18 17:57:05 -03: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
Gabriel Ferreira
215f83f9ec core, examples: fix rollback mistake with HAVE_SQLITE3 and core build 2022-05-15 00:12:25 -03:00
Gabriel Ferreira
6473b7ec98 build: rollback linking to globally searched libraries 2022-05-13 18:50:55 -03:00
Gabriel Ferreira
6f5d788e44 stats: fixes for SQLite stats and its example
- Hold string references between binds in sqlite-data-output.cc
- Unref sqlite object to close the file and prevent leakage
- Build wifi-example-sim once for the wifi-example-db.sh script
- Add the missing return 0
2022-05-13 15:34:49 -03:00
Gabriel Ferreira
ea7ca9b690 build: include and link to globally searched libraries 2022-05-12 19:15:48 -03:00
Stefano Avallone
e3f51bccde wifi: Allow enabling UL OFDMA in wifi-he-network script 2022-04-25 21:49:31 +02:00
Gabriel Ferreira
819877045f build: Remove unused CMake code 2022-04-20 18:39:33 -03: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
Mohit P. Tahiliani
44c85d30ca examples: Update fifth.cc and the cwnd plot in the tutorial 2022-04-15 21:50:57 +05:30
Gabriel Ferreira
db4c10bb8c build: python bindings fixes
Includes:
- scan for python examples if bindings are enabled
- do not scan python bindings from modules without a module/bindings directory
- remove broken bindings if pybindgen generation fails
- replace colored message with normal message for find_external_library
- complement pybindgen to check if modules with no bindings folder was scanned and any bindings were generated
2022-04-05 00:28:27 -03:00
Gabriel Ferreira
72e6105195 build: CMake and ns3 fixes
Includes:
- print error message instead of forwarding posix signals in ns3
- supress printing of "Finished executing commands..." for ./ns3 run
- fix ns3 typos and formatting issues
- add verbose options and make doxygen/doxygen-no-build verbose
- re-enable printing of build messages in ./ns3 run
- refactor ns3 dry_run, quiet, jobs and verbose arguments
- check if examples subdirectories have a CMakeLists.txt
2022-04-01 23:44:49 -03: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
Tommaso Pecorella
d5ca973afb examples: Clarify variable names in tcp-variants-comparison.cc 2022-03-21 13:50:10 -07:00
Tommaso Pecorella
e576878f22 examples: (fix #575) Update tcp-variants-comparison to log multiple flows 2022-03-21 13:48:37 -07:00
Mohit P. Tahiliani
452750347b examples: Hook trace source after application starts in BBR example 2022-03-20 18:30:18 +05:30
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