Commit Graph

16371 Commits

Author SHA1 Message Date
Eduardo Almeida
a4d174f8bf core (fixes #565): Change TypeId constructor to accept std::string 2022-02-25 12:08:10 +00:00
Eduardo Almeida
d6e0211bff gitignore: Fix .lock-ns3 2022-02-22 16:13:05 +00:00
Pasquale Imputato
fae364f5db fd-net-device: add netmap headers to cmakelists 2022-02-22 02:04:45 +00:00
Gabriel Ferreira
1b1b6b4938 nix-vector-routing: use default wifi remote station manager 2022-02-21 22:18:43 -03:00
Gabriel Ferreira
4aedba2f00 build: CMake refactoring and fixes
Includes:
- fix int64x64 parsing order, remove cached entries in macros-and-definitions and in the docs
- update launch.json scratch names
- add a ctest entry per executable
- forward POSIX signal in ns3 (to get segmentation fault)
- prioritize Ninja generator instead of Makefiles
- add tests for unused utils source files
- remove dummy file and add tests to check for unused source files
- add missing examples and clean up unnecessary definitions
- missing feature entry for LTE used by pybindgen
- refactor CMake related filenames
- fix python libraries and include directories bindings
- fix brite example name
- Keep C++ compiler and flags when refreshing
- Disable precompiled headers when Ccache is found
- Mark find_external_library headers as advanced
- consolidate auxiliary files: build-status.py, _cache.py and .lock-waf_sys.platform_build files are merged into .lock-ns3_sys.platform_build
- scan .cc sources used in bindings and update docs
2022-02-21 22:18:42 -03:00
Gabriel Ferreira
e32c177e45 build: remove waf files, tests and references 2022-02-21 22:08:45 -03:00
Tommaso Pecorella
3b90d12335 internet-apps: (fixes #576) Fix V4TraceRoute crash at application stop and improve output clarity 2022-02-18 21:39:49 +00:00
Gabriel Ferreira
de0c2c59b6 build: valgrind and clangBuildAnalyzer fixes
Includes:
- expose timeTraceReport to ns3
- update ClangBuildAnalyzer
- add --leak-check=full to `ns3 run --valgrind`
2022-02-18 17:06:26 +00:00
Gabriel Ferreira
e3575d031d doc: add profiling and gitlab-ci-local sections to the manual
Includes:
- Profilers
 - Memory profilers:
   - Heaptrack
   - Sanitizers
   - Valgrind
 - Performance profilers:
   - AMD uProf
   - Intel VTune
   - Linux's Perf with Hotspot
 - Syscall profilers:
   - Strace
 - Compilation profilers:
   - GCC -ftime-report
   - Clang -ftime-trace and ClangBuildAnalyzer
- Gitlab-CI-Local
  - GitLab CI introduction
  - Rootless docker
  - Using gitlab-ci-local
2022-02-18 17:06:26 +00:00
Tom Henderson
3ded031fbe wifi: Remove obsolete file wifi-phy-tag.h 2022-02-18 06:32:35 -08:00
Tom Henderson
71c5417d0a wifi: Remove obsolete file wifi-phy-tag.cc 2022-02-17 14:38:58 -08:00
Tom Henderson
5367f1fed7 bindings: Rescan APIs of most modules 2022-02-16 15:59:27 -08:00
Tom Henderson
4cbc131aa4 wifi: (#470 postfix) Align third-distributed.cc Wi-Fi config with third.cc 2022-02-15 15:32:23 -08:00
Hossam Khader
d579d1816f build: add missing CMake entry for uan-ipv6-example 2022-02-15 18:15:50 +00:00
Tom Henderson
f50ba3169c wifi: (fixes #470) Update default Wi-Fi standard to 802.11ax 2022-02-14 12:26:32 -08:00
Gabriel Ferreira
bf78fabecf build: replace capture_output with subprocess.PIPE to support Python3.5 2022-02-12 16:28:37 -03:00
Gabriel Ferreira
9fcdbd08d2 build: fix ns3 sphinx targets and test-ns3.py tests 2022-02-12 00:48:44 -03:00
Gabriel Ferreira
b6b8bfbaad build: print compilation errors in case ./ns3 run fail 2022-02-12 00:48:43 -03:00
Tom Henderson
92e80e50eb doc: Update recommended Doxygen version to 1.9 2022-02-11 13:30:01 -08:00
Gabriel Ferreira
ce68f89109 click: add missing library 2022-02-11 16:13:07 -03:00
Gabriel Ferreira
4b01479b04 build: additional CMake and ns3 fixes
Includes:
- add additional find_external_library default search paths
- add option to enable/disable DPDK and make it disable by default
- skip test-ns3.py test cases if dependencies are not installed
- improve searching in library parent directories
- replace FindPython with FindPythonInterp and FindPythonLibs
- stub targets for doxygen/sphinx when dependencies are missing
2022-02-11 16:13:07 -03:00
Gabriel Ferreira
23a802f4b6 build: print a message if a build target does not exist in ns3 2022-02-09 15:59:01 -03:00
Stefano Avallone
07b4ad8efd wifi: Inactivity callback must be setup on originator, not on recipient 2022-02-09 06:02:00 +00:00
Gabriel Ferreira
ec94e47acb lte: Keep PHY and MAC trace files open 2022-02-08 20:07:55 -03:00
Gabriel Ferreira
bfc4c19bdf build: Use flag -fno-semantic-interposition when using GCC 2022-02-08 22:24:57 +00:00
Gabriel Ferreira
531b99251c build: add code to build test/perf/perf-io.cc 2022-02-08 18:40:10 -03:00
Gabriel Ferreira
6e45febbf7 build: fix ns3 run from source file path, add lldb option and tests 2022-02-08 18:40:09 -03:00
Gabriel Ferreira
42e320d676 doc: CMake docs 2022-02-08 18:40:09 -03:00
Peter D. Barnes, Jr
d368877d92 doc: disable multi-threaded Doxygen
This was causing seg-faults on Mac
2022-02-07 12:40:00 -08:00
Peter D. Barnes, Jr
ad46ec35a0 doc: update doxygen.conf to Doxygen v 1.9.3 2022-02-07 12:40:00 -08:00
Peter D. Barnes, Jr
692235b4a3 doc: fix menu bar formatting bug 2022-02-07 12:40:00 -08:00
Tommaso Pecorella
5b28481d4f ci: fix wrong exit code in doxygen CI 2022-02-07 12:11:17 -06:00
Gabriel Ferreira
8ac52d83cf build: versioning and find_external_library fixes
Includes:
- Producing version.cache file if --enable-build-version/NS3_ENABLE_BUILD_VERSION=ON
- Consume version.cache file if the git commit history is not available
- Crash the configuration if neither the git commit history or version.cache file are
available when NS3_ENABLE_BUILD_VERSION=ON
- Warn user to reconfigure the project with NS3_ENABLE_BUILD_VERSION=ON to check
the version
- Only try to remove duplicates if there is a list in find_external_library
2022-02-05 23:46:06 +00:00
Eduardo Almeida
bcd7e9edd1 .editorconfig: Add rule for yml files 2022-02-03 20:37:28 +00:00
Gabriel Ferreira
acd5da1957 build: refresh project on scratch changes 2022-02-02 23:37:56 +00:00
Stefano Avallone
aa89420cd7 wifi: Check TRIGVECTOR when processing SIG-A of HE TB PPDUs 2022-02-01 19:25:02 +01:00
Stefano Avallone
e53f91fc31 wifi: Add operators to compare HeMuUserInfoMap objects 2022-02-01 19:25:02 +01:00
Stefano Avallone
9bf7682e04 wifi: Set length field of the TXVECTOR reconstructed from PPDU 2022-02-01 19:25:02 +01:00
Stefano Avallone
05178a4a7a wifi: HE FEM passes a TRIGVECTOR to HE PHY 2022-02-01 19:25:02 +01:00
Stefano Avallone
b035ad56f0 wifi: Set TXVECTOR's RU PHY indices in HePpdu constructor
This is a better place than WifiPhy::Send() because it is an operation
specific to HE. Also, we avoid copying the WifiTxVector to pass to
WifiPhy::Send().
2022-02-01 19:25:02 +01:00
Stefano Avallone
039121640d wifi: Restore definitions of MAC callback types
They got lost in the merge of WifiMac and RegularWifiMac, but they
are used to indicate the type of the callbacks when adding the corresponding
trace sources to the WifiMac TypeId.
2022-02-01 18:38:45 +01:00
Tommaso Pecorella
6f2fc1403b ci: simplify doxygen CI 2022-01-31 20:40:56 -06:00
Tommaso Pecorella
1eac22c4b0 documentation: Doxygen post fixes 2022-01-31 22:19:11 +00:00
Tommaso Pecorella
4861eaa020 tests: refactor to use variadic templates and fix doxygen 2022-01-31 19:52:08 +00:00
Gabriel Ferreira
39b8f9bc80 build: generalize find_external_library and other fixes
Includes:
- find_external_library can now be used to find multiple headers and libraries for the same dependency 
- cmake-format changes 
- fix for dependency checking for ns-3-dev/examples
- enable compile_commands.json generation by default
2022-01-31 13:55:48 +00:00
Tommaso Pecorella
c9ae2bfc84 utils: doxygen fixes 2022-01-30 12:06:53 -06:00
Tommaso Pecorella
da09260c3e examples: rebase 2022-01-30 12:06:53 -06:00
Tommaso Pecorella
e47cb242d7 buildings: doxygen fixes 2022-01-30 12:06:53 -06:00
Tommaso Pecorella
f33366d1e1 tests: doxygen fixes 2022-01-30 12:06:53 -06:00
Tommaso Pecorella
0b3b639524 sixlowpan: doxygen fixes 2022-01-30 12:06:53 -06:00