Commit Graph

13142 Commits

Author SHA1 Message Date
F5
91428b851c network: Make simple channel supporting automatic partition 2022-10-29 22:04:11 +08:00
F5
89c128b1a2 network: Enable modifing system IDs for automatic partition 2022-10-25 18:59:38 +08:00
F5
5110ade9ed network: Make packets thread-safe 2022-10-25 18:59:00 +08:00
F5
2825400936 core: Make hash functions thread-safe 2022-10-25 18:59:00 +08:00
F5
34b8e39172 core: Make aggregated objects thread-safe 2022-10-25 18:58:54 +08:00
F5
ba81313570 core: Make reference counting thread-safe 2022-10-25 18:46:29 +08:00
Philipp Raich
5e49582250 sixlowpan: fix UDP_NHC port decompression 2022-05-20 12:34:01 +02:00
Alberto Gallegos Ramonet
4e3d9485c4 energy: (fixes #658) EnergySource correct current update
Fixes the update time of EnergySource when SetCurrentA is used.
2022-05-18 21:26:19 -07:00
Gabriel Ferreira
afe54bad8d test: replace u_int32_t with uint32_t 2022-05-18 10:34:18 -03:00
Gabriel Ferreira
ecd18974cd fd-net-device: Reorder headers to prevent symbol redefinition
Linux headers must come after C/C++ headers when building with Musl C library
2022-05-17 16:20:56 -03:00
Gabriel Arrobo
7d9543b6f7 openflow: Update docs and add compilation flag required by Clang 2022-05-16 12:55:35 +00:00
Tom Henderson
9fbb26f04f Silence additional compiler warnings about lack of return value 2022-05-14 21:45:42 -07:00
Gabriel Ferreira
215f83f9ec core, examples: fix rollback mistake with HAVE_SQLITE3 and core build 2022-05-15 00:12:25 -03:00
Tom Henderson
0097a0b756 core: Rescan bindings for previous commit 2022-05-14 08:48:00 -07:00
Stefano Avallone
ca59097075 core: Use std::optional to return an optional value 2022-05-14 08:48:00 -07: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
Sebastien Deronne
021696a5e9 wifi: Add possibility to set InterferenceHelper from PHY helpers 2022-05-10 08:16:41 +00:00
Sebastien Deronne
c62c648459 wifi: Use templates in WifiHelper 2022-05-10 08:16:41 +00:00
Sebastien Deronne
3622965747 wifi: WifiPhy holds a Ptr to InterferenceHelper 2022-05-10 08:16:41 +00:00
Sebastien Deronne
679ce12636 wifi: Make InterferenceHelper inherit from Object 2022-05-10 08:16:41 +00:00
Stefano Avallone
a1afa86410 wifi: IdealWifiManager uses the appropriate default mode 2022-05-07 18:53:18 +02:00
Stefano Avallone
a13e5e6789 wifi: Add a method to find the default mode to use to transmit to a station 2022-05-07 18:50:41 +02:00
Stefano Avallone
973b0fe9b6 wifi: Do not change protection when aggregating MSDU to DL MU PPDU 2022-05-06 14:20:12 +02:00
Stefano Avallone
cecf0fa749 wifi: (fixes #639) Remove FCS before deserializing Wi-Fi frames 2022-05-05 21:36:12 +00:00
Tom Henderson
6a202f88ee bindings: Rescan APIs for inclusion of STL features 2022-05-05 13:31:45 -07:00
Eduardo Almeida
e5e58ebdbc build: Update CMake to use system threads
With the help of Gabriel Ferreira and Tommaso Pecorella.
2022-05-04 19:47:39 +01:00
Eduardo Almeida
9d9dfc71a5 stats: Replace POSIX semaphore with STL 2022-05-04 19:04:31 +01:00
Eduardo Almeida
f4d296baaa core: Replace SystemCondition class with STL 2022-05-04 19:04:20 +01:00
Eduardo Almeida
85ad3961fc core: Replace SystemThread class with STL 2022-05-04 19:04:09 +01:00
Eduardo Almeida
b32c80ecb0 core: Replace SystemMutex and CriticalSection classes with STL 2022-05-04 19:00:50 +01:00
Stefano Avallone
a387d0cd1e Rescan python bindings 2022-05-04 15:31:30 +02:00
Sebastien Deronne
faacbe02c9 wifi: Do no longer pass CCA busy duration to SwitchFromSleep and SwitchFromOff 2022-05-04 12:45:30 +00:00
Sebastien Deronne
e736151b27 wifi: Do not recalculate RX duration in PhyEntity::StartReceivePreamble 2022-05-04 12:45:30 +00:00
Sebastien Deronne
e5b30b5c0e wifi: Always add PPDU received with unsupported modulation as interference 2022-05-04 12:45:30 +00:00
Sebastien Deronne
719d4ff458 wifi: Use std::min to update m_endCcaBusy upon channel switching 2022-05-04 12:45:30 +00:00
Sebastien Deronne
38177f08b0 wifi: Cleanup ListenersI typedef from WifiPhyStateHelper 2022-05-04 12:45:30 +00:00
Sebastien Deronne
e943fe4beb wifi: Cleanup duplicated code in WifiPhyStateHelper 2022-05-04 12:45:30 +00:00
Sebastien Deronne
cc25eeea92 wifi: Check CCA once transmission is completed 2022-05-04 12:45:30 +00:00
Sebastien Deronne
29789e78bb wifi: Fix VHT Operation Channel Width encoding 2022-05-04 12:45:30 +00:00
Sebastien Deronne
23aac7bf9c wifi: Use range-based for loop to notify PHY listeners 2022-05-04 12:45:30 +00:00
Sebastien Deronne
f9f534cc38 wifi: Fix legacy casts 2022-05-04 12:45:30 +00:00
Stefano Avallone
8e3491112d wifi: Fix computation of maximum allowed channel width 2022-05-04 12:45:30 +00:00
Stefano Avallone
db98872fb0 wifi: Check that PHY band is allowed when setting channel 2022-05-04 12:45:30 +00:00
Tom Henderson
33bbbe5b9c wifi: Fix broken links in Doxygen 2022-04-29 16:10:34 -07:00
Tom Henderson
d09ff25846 wifi: Rescan Python bindings 2022-04-25 18:15:22 -07:00
Stefano Avallone
14af5af4db wifi: Clear PSDU map of HE FEM when needed 2022-04-25 21:49:31 +02:00
Gabriel Ferreira
8966f4c870 build: link libraries with no file extensions to the static ns-3 build 2022-04-23 13:21:14 -03:00
Gabriel Ferreira
4b83eb7085 build: Fix features and make pthread an explicit dependency
Includes:
- Include threads sources even when NS3_PTHREAD=OFF
- Do not include realtime sources if NS3_REALTIME=OFF
- Disable tap-bridge if emulation or realtime features are disabled
- Build tap examples when tap-netdevice is enabled
- Remove NS3_PTHREAD option and make it an explicit requirement
2022-04-23 13:21:13 -03:00