Commit Graph

16356 Commits

Author SHA1 Message Date
Gabriel Arrobo
10d4dd2023 network: Remove unnecessary casts 2022-03-14 12:29:24 -07:00
Gabriel Ferreira
dcd0ed947c build: fix --enable-sudo behavior when set during configuration 2022-03-13 22:34:13 -03:00
Eduardo Almeida
c1bef60926 build: Automatically detect file changes in scratch directory 2022-03-13 22:16:00 +00:00
Gabriel Ferreira
1621b331c1 mobility: initialize variables 2022-03-13 21:23:47 +00:00
Gabriel Ferreira
cd1308e3ad test: reconfigure ns-3 between bindings and ambiguity tests 2022-03-13 21:23:47 +00:00
Gabriel Ferreira
26f548fe6c lte,bindings: return string instead of reference to fix python bindings 2022-03-13 21:23:47 +00:00
Gabriel Ferreira
2298d97452 doc: update build profile docs and add CMake profiling subsection 2022-03-13 21:23:47 +00:00
Gabriel Ferreira
7652192eb6 util: fix create-module.py example source file 2022-03-13 21:23:47 +00:00
Gabriel Ferreira
fbebb61a6f build: refactoring CMake and ns3
Includes:
- summarize ns3 commands on top-level --help
- add --quiet as a post-positional argument
- refactor verbose variable names
- aggregate ./ns3 --check-config|profile|version into ./ns3 show config|profile|version
- remove ns3 --check deprecated option
- set VERBOSE environment variable when building/running with -v/--verbose
  https://gitlab.com/nsnam/ns-3-dev/-/issues/590#note_870520212
- enable verbose Makefiles when NS3_VERBOSE is enabled
  https://gitlab.com/nsnam/ns-3-dev/-/issues/590
- introduce default build profile and refactor others
  https://gitlab.com/nsnam/ns-3-dev/-/issues/591
- use "-Og" in "CMAKE_BUILD_TYPE=Debug"/"ns3 -d debug"
- add back FindPython3 and fallback to FindPythonInterp if needed
- redirect pybindgen apiscan output to apiscan.log
- enable CMAKE_FIND_DEBUG_MODE with NS3_VERBOSE and CMake >= 3.17
- add search path logging to find_external_library
  Requires NS3_VERBOSE=ON. This is an anternative to CMAKE_FIND_DEBUG_MODE=true available in CMake >= 3.17
- remove C support
- reduce Int128 checks
- fuse Boost Units Quantity and SI header checks
- replace not found messages with skipping
2022-03-13 21:23:47 +00:00
Gabriel Ferreira
f728b1f8d0 doc: complement how CMake searches for external libraries 2022-03-13 21:23:47 +00:00
Tommaso Pecorella
a18442eb95 sixlowpan: prevent confusion in traces origin 2022-03-13 22:21:00 +01:00
Robin Lee
221b3deb79 Fix #592: Update lte-rrc-protocol-ideal.cc to solve SIB2 repeatedly reception issue 2022-03-10 09:14:21 +00:00
Stefano Avallone
2422e2dc4d wifi: Remove WifiPhy deprecated functions 2022-03-08 10:17:38 +01:00
Stefano Avallone
424fbd53fe wifi: Add TX center frequency to WifiSpectrumSignalParameters
In this way, SpectrumWifiPhy::StartRx() does not have to obtain
the transmitting PHY just to retrieve the TX center frequency. Also,
the current approach does not work with multi-link devices because the
receiver should be able to know which PHY was used on the transmitter
side to send the frame.
2022-03-08 10:15:43 +01:00
Tommaso Pecorella
1ada1e8db1 doc: add section on GitLab CI skip option 2022-03-05 03:24:03 +01:00
Stefano Avallone
e6709c8bee wifi: Align behavior of WifiMac::GetTxopQueue to that of WifiMac::GetQosTxop 2022-03-04 13:37:55 +01:00
Szymon Szott
bd5a7b4ff1 wifi: fix typo in wifi-backward-compatibility.cc 2022-03-02 09:21:19 +00:00
Gabriel Ferreira
fbc729459c build: GSL and ns3/CMake fixes
Includes:
- add GSL include directories and libraries for wifi
- expose enable/disable GSL option in ns3
- refactor ns3 options list
- cmake formatting
2022-03-01 12:36:28 -03:00
Stefano Avallone
5ddc687725 wifi: Remove unused QosTxop member variable 2022-03-01 11:16:27 +01:00
Tom Henderson
97b2b5e597 lte: (merges !810) Fix doxygen warnings, documentation, logging, style 2022-02-28 12:44:29 -08:00
Sachin Nayak
30eded62ef lte: Update CA handover branch for ns-3.35
* Fixed the lena-simple-epc-backhaul example by passing a cellIds parameter
  to AddS1Interface so that it builds correctly.
* Revert 'Partially revert "lte: (fixes: #2840) Wrong configuration of eNBs
  and UEs"' after rebasing to 3.35 to ensure all tests pass
* Fixed some variable initializations and typos
2022-02-28 12:44:29 -08:00
Alexander Krotov
339c06c6ec NS-3 GSoC 2017 LTE CA handover milestone 2 and 3 2022-02-28 12:44:29 -08:00
Alexander Krotov
487319f474 Revert code style change
This partially reverts 13b0ed8d50
2022-02-28 12:43:49 -08:00
Alexander Krotov
3486c7862d Partially revert "lte: (fixes: #2840) Wrong configuration of eNBs and UEs"
This reverts commit 3ee00b0a17.
2022-02-28 12:43:49 -08:00
Eduardo Almeida
3a8585befe tcp: Fix tcp-rto-test assert messages 2022-02-28 08:21:52 -08:00
Stefano Avallone
3e5b603cf3 wifi: Restore configuration of CWmin and CWmax for 802.11b
Fix a mistake introduced with 2a1d0091
2022-02-28 17:17:14 +01:00
Eduardo Almeida
42617ab353 Update CHANGES.html and RELEASE_NOTES.md 2022-02-28 07:43:02 -08:00
Eduardo Almeida
a3e63cc706 tcp: Clean up tcp-rto-test.cc, tcp-slow-start-test.cc and tcp-cong-avoid-test.cc 2022-02-28 07:43:02 -08:00
Eduardo Almeida
bd46c2c0b6 tcp (fixes #531): TcpWestwood divide-by-zero and floating point issues
- Change TcpWestwood::EstimateBW trace source from double to DataRate.
- Prevent divide-by-zero from occurring.
- Remove TcpWestwood from tcp-rto-test.cc, tcp-cong-avoid-test.cc, tcp-slow-start-test.cc.
- Add warning that currently TcpWestwood does not have unit tests.
2022-02-28 07:42:07 -08: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
Tom Henderson
20263e45d4 Enable GSL conditional code compilation 2022-02-27 12:51:35 -08:00
Gabriel Ferreira
8e38a150f1 build: additional search path for GTK3 2022-02-27 13:11:14 -03:00
Eduardo Almeida
0a78b956bf core: Simplify Now() function 2022-02-25 13:57:44 +00:00
Eduardo Almeida
31464a10a2 .gitignore: Ignore .vscode/ folder except launch.json and tasks.json files 2022-02-25 13:22:03 +00:00
Eduardo Almeida
ac680dd20c Implement time functions in tests and examples with std::chrono library 2022-02-25 12:11:18 +00:00
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