Commit Graph

12922 Commits

Author SHA1 Message Date
Tom Henderson
9588ad7fe6 internet: Update Python bindings 2021-12-17 15:46:55 -08:00
Tommaso Pecorella
2d3389005b internet: further NSC cleanup 2021-12-17 13:59:48 -08:00
Chandrakant jena
0510f36078 internet: change NS_ASSERT to NS_TEST_ASSERT* in tests 2021-12-17 19:45:36 +01:00
Peter D. Barnes, Jr
9c5fec6697 Define NS_DEPRECATED_3_36 2021-12-17 17:24:11 +00:00
Peter D. Barnes, Jr
ccb21e8887 Use C++-14 [[deprecated (msg)]], convert NS_DEPRECATED to function macro 2021-12-17 17:24:11 +00:00
Peter Barnes
6f319e48fc core: (bugzilla 2203) MakeEvent from a lambda 2021-12-17 17:23:45 +00:00
Stefano Avallone
a36733d8b1 doc: Document the TrafficControlHelper::Uninstall method 2021-12-17 17:49:34 +01:00
Stefano Avallone
3bbdd7bb59 traffic-control: Trace packets dropped by the traffic control layer 2021-12-17 17:47:22 +01:00
Stefano Avallone
7fd2d476ba traffic-control: Allow to disable flow control for devices supporting it 2021-12-17 17:47:07 +01:00
Peter Barnes
4dc0ec0682 core: (fixes #141) Print parent attributes from CommandLine --PrintAttributes 2021-12-17 01:04:14 +00:00
Peter Barnes
dd1d254a9f core: html-encode in CommandLine::PrintDoxygenUsage 2021-12-16 23:32:15 +00:00
Gabriel Ferreira
9d9f765ba6 build: additional CMake and ns3 bugfixes 2021-12-16 02:29:59 +00:00
Peter Barnes
8b0d0e7044 core: symbolic names for EventId reserved Uid values 2021-12-13 23:04:15 +00:00
Gabriel Ferreira
eda1c6af51 build: Stop manually refreshing the cmake cache to speed up build 2021-12-11 12:04:15 -03:00
Peter Barnes
c333dbc0cd core: forward ScheduleNow(...) to Schedule(0, ...) 2021-12-10 22:41:33 +00:00
Tom Henderson
2c19b5b453 internet: Remove Network Simulation Cradle (NSC) 2021-12-10 09:07:03 -08:00
Gabriel Ferreira
f6ef415392 build: CMake bugfixes
Fixes include:
- Handling of relative paths used as output directories
- Accepting comma separated lists of modules to enable/disable
- Echoing all CMake commands at the end of the execution of ns3 script
- More informative optional features summary output
- Replace absolute paths with relative paths in the printed CMake output for less verbose output
- Set debug build type on the CMake side to ensure ccmake doesn't crash
- Prefix INT64X64 with NS3 to indicate user switch
- Compiler version check
- Removal of verbose option
- Suppress empty enabled/disabled module tables

Features include:
- Test for installation/uninstallation of ns-3 as a CMake package
- Test importing ns-3 as a CMake package and use in a 3rd-party project
- Test to check VERSION usage
- ns3 option to enable/disable sanitizers
- Associate headers to libraries targets
2021-12-10 02:13:43 +00:00
Tommaso Pecorella
deaec64d36 core: remove NS_TEST_*_INTERNAL 2021-12-09 01:25:52 +00:00
Stefano Avallone
d40173fb50 wifi: (fixes #500) Clear PHY RX event if switching channel in IDLE and CCA_BUSY state (patch from Ohad Klausner) 2021-12-07 12:02:08 +01:00
Stefano Avallone
d0765540ad wifi: (fixes #483) Cancel EndOfMpdu events when cancelling all events 2021-12-07 09:45:04 +01:00
Tom Henderson
48d8bf45f8 Add wifi model subheader on changes across releases 2021-12-07 09:45:04 +01:00
Stefano Avallone
88078de14e wifi: Update documentation 2021-12-07 09:45:04 +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
Stefano Avallone
1c8cdac51c wifi: Add new PHY methods to set the operating channel 2021-12-07 09:45:04 +01:00
Stefano Avallone
068914a18c wifi: Move channels definition from WifiPhy to WifiPhyOperatingChannel
This allows to resolve circular dependency (WifiPhy includes WifiPhyOperatingChannel
and not viceversa) and to provide a default value for the last argument of FindFirst,
which is now public because it can be useful for other components.
2021-12-07 09:45:04 +01:00
Stefano Avallone
6ec6fc2eb6 core: Add an attribute value storing a std::tuple 2021-12-06 10:49:40 +01:00
Stefano Avallone
9b8f232b28 wifi: PHY notifies MAC every time the payload of an HE TB PPDU starts 2021-12-05 22:46:44 +00:00
Stefano Avallone
91fa037246 wifi: WifiTxTimer can be rescheduled multiple times 2021-12-05 22:46:44 +00:00
Stefano Avallone
d7662fbead wifi: Fix misinterpretation of 802.11ax specs 2021-12-05 22:46:44 +00: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
Peter D. Barnes, Jr
1dc223f85a core: mark event impl function typedefs as maybe_unused 2021-12-02 21:00:50 +00:00
Tommaso Pecorella
ad7ca1c5c1 doc: fix some doxygen warnings 2021-12-02 02:34:38 +01: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
Gabriel Ferreira
a4b86694f8 Missing headers and forward declarations 2021-12-01 12:29:55 -08:00
Gabriel Ferreira
22a1631700 Missing __FILE__ macros 2021-12-01 12:29:55 -08:00
Tommaso Pecorella
8e82859754 propagation: fix doxygen warnings 2021-12-01 03:26:31 +01:00
Gabriel Arrobo
6b9b30f470 stats: Remove unused variables from stats module 2021-11-27 09:25:15 -08:00
Gabriel Arrobo
dbd49741fc lte: Remove unused variables from lte module 2021-11-27 09:25:11 -08:00
Gabriel Arrobo
78c116e32a Formatting changes
* Ran check-style script)
* Moved variables to inside for loops
* Addressed Doxygen warnings
* Removed unused variable (H_NLOS)
* Renamed variables as per ns-3 coding style
2021-11-27 08:37:10 -08:00
Gabriel Arrobo
c527506471 Avoid multiple log and sqrt calculations for the same value(s) 2021-11-27 08:36:34 -08:00
Gabriel Arrobo
262fe14fe7 Code simplifications 2021-11-27 08:36:34 -08:00
Gabriel Arrobo
b7ab6aa5d2 changed exp^(0 + xi) to cos(x) + i*sin(x) 2021-11-27 08:36:34 -08:00
Tommaso Pecorella
3ec15efca2 core: fix some doxygen warnings 2021-11-25 00:17:52 +01:00
Gabriel Ferreira
62ab4ade42 wifi: prevent static initialization order issue with m_staticPhyEntities
Co-authored-by: Stefano Avallone <stavallo@gmail.com>
2021-11-24 11:05:53 -03:00
Stefano Avallone
a6281448bd traffic-control: Fix doxygen warnings 2021-11-19 14:32:36 +01:00
Eduardo Almeida
574b8b6c64 build: Remove duplicate header checking 2021-11-18 11:59:57 -08:00
Eduardo Almeida
a6a97ab571 propagation: Mark inherited functions with override keyword 2021-11-18 11:30:00 -08:00
Tom Henderson
9c0d3e8556 wifi,wave,mesh: Rescan python bindings 2021-11-18 08:06:44 -08:00
Stefano Avallone
db6b804b58 wifi: NetDevice pointed to by WifiMac is a WifiNetDevice 2021-11-17 12:33:39 +01:00