Commit Graph

14497 Commits

Author SHA1 Message Date
howie (GCI 2019)
830df02211 examples: Add topology in first.cc 2020-03-04 17:52:51 +05:30
Stefano Avallone
75ace4cf4d wifi: Rescan python bindings 2020-03-03 11:00:45 +01:00
Stefano Avallone
d30a72552a wifi: Fix valgrind issues with wifi-phy-thresholds 2020-03-03 11:00:21 +01:00
Stefano Avallone
5fc00356cf network: Move MaxSize attribute from QueueBase to derived classes 2020-03-02 16:34:44 +01:00
Stefano Avallone
d1d8558d65 wifi: Update backoff before checking for immediate access 2020-03-02 16:00:11 +01:00
Sébastien Deronne
bdf4fafe5c wifi: WifiNetDevice::DoInitialize should check whether objects exists in order to permit to test PHY transmissions without any MAC layer 2020-02-29 17:02:47 +01:00
Sébastien Deronne
f019509b51 wifi: Rename WifiPhy::SendPacket to WifiPhy::Send 2020-02-29 17:02:47 +01:00
Sébastien Deronne
09f2beab45 wifi: Remove unused WifiMacTrailer 2020-02-29 17:02:47 +01:00
Rediet
c81abe28ca wifi: Remove MpduType from CalculateTxDuration arguments 2020-02-29 17:02:43 +01:00
Stefano Avallone
3efa548e87 wifi: Get the WifiMode object corresponding to a given MCS value 2020-02-29 16:58:49 +01:00
Sébastien Deronne
9fc403480d wifi: Store frequency and channel width in WifiPpdu in order to avoid passing them to retrieve the TxVector and the TxDuration 2020-02-29 16:56:03 +01:00
Sébastien Deronne
5650d548df wifi: Replace storage of WifiMode by ModulationClass in WifiPpdu 2020-02-29 16:56:03 +01:00
Sébastien Deronne
cc0e561843 wifi: Get rid of m_totalAmpduSize and m_totalAmpduNumSymbols in WifiPhy 2020-02-29 16:56:03 +01:00
Sébastien Deronne
63296ae216 wifi: Rework functions to get PHY preamble and header duration to look first at the preamble type 2020-02-29 16:56:03 +01:00
Sébastien Deronne
c5f0b33667 wifi: Remove stored PPDU duration in WifiPpdu 2020-02-29 16:56:03 +01:00
Sébastien Deronne
e3f1480ee5 wifi: Remove storage of TXVECTOR in WifiPpdu 2020-02-29 16:56:03 +01:00
Sébastien Deronne
f1aa8d3a7f wifi: Store PHY headers in WifiPpdu 2020-02-29 16:56:03 +01:00
Rediet
840609cc6e netanim: Fetch PSDU in WifiPhyTxBeginTrace to add ByteTag
Otherwise the underlying packet was not longer modified following commit 07bb29ba
2020-02-29 16:56:03 +01:00
Rediet
8f130f9234 wifi: Define new TraceSource handing over PSDU
Only used for Tx PSDU begin trace for the time being
2020-02-29 16:56:03 +01:00
Rediet
f4d1dd4806 wifi: Pass around WifiPpdu and temporarily disable PHY headers
Netanim tag issue will be solved in next commits (crashing tests since byte tags
not found in copied packet, packet copied for building MPDU)
2020-02-29 16:56:03 +01:00
Stefano Avallone
a71eb6df29 wifi: Stations keep the AID received in MGT_ASSOC_RESPONSE 2020-02-29 16:56:03 +01:00
Tommaso Pecorella
8d95066b58 Fix early socket close in tcp-large-transfer example 2020-02-28 08:11:57 +00:00
Tommaso Pecorella
8d4297f245 core: Make Watchdog safe to delete 2020-02-27 08:49:12 +00:00
hax0kartik (GCI 2019)
50423cf34b doc: Add Utilities chapter to the Manual 2020-02-26 14:00:55 -08:00
Peter D. Barnes, Jr
a9b201bc22 doc: Fix Sphinx warnings 2020-02-26 13:52:51 -08:00
hax0kartik (GCI 2019)
59af9d2bef doc: Build command to generate docset docs 2020-02-25 13:17:18 -08:00
SaiMyGuy (GCI 2019)
ca10f1c560 doc: add \file to src/topology-read files 2020-02-25 13:15:09 -08:00
hax0kartik (GCI 2019)
8142c6e4d0 doc: add \file to src/bridge files 2020-02-24 16:00:02 -08:00
Tom Henderson
858dc55557 traffic-control: (merges !120) More thorough testing of CoDel arithmetic 2020-02-23 21:14:06 -08:00
Tom Henderson
be11a079ce traffic-control: Update API for CoDel to better support testing 2020-02-23 21:14:06 -08:00
Tom Henderson
da3789cc66 tcp: Replace 'pragma once' directive with include header guards
The 'pragma once' directive can interact poorly with our build
system in which header files may be found in multiple directories.
The previous commit regarding TCP forward declarations caused some
issues on a macOS machine.
2020-02-23 21:07:56 -08:00
Vivek Jain
cdea454aa3 tcp: (merges !180) Use forward declaration wherever possible 2020-02-23 18:04:12 -08:00
Tom Henderson
f02875cbff traffic-control: (merges !121) Add functors for chaining of ECN Mark trace 2020-02-23 17:02:44 -08:00
Sébastien Deronne
588b9df40b wifi: Fix Doxygen warnings (with contributions from Stefano Avallone) 2020-02-22 19:40:03 +01:00
Alexander Krotov
fd3ef84b6e wifi: shift BA window when sequence is next to the window end
According to the 802.11-2016 standard, 10.24.7.8,
the originator may send the packet with
SN > WinStart + WinSize – 1
and the recipient should move the window forward.

If SN is equal to WinStart + WinSize + 1 == WinEnd,
delta is equal to 0, and window is not moved.

This commit makes recipient shift the window in this case.
2020-02-20 22:25:49 +01:00
Tom Henderson
81db931bdc bindings: rescan all APIs 2020-02-17 13:11:04 -08:00
Alexander Krotov
28596302d6 wifi: remove BlockAckAgreement::SetWinEnd
Window end is a function of the starting sequence and buffer size,
so it can be calculated directly by the BlockAckAgreement object.
2020-02-16 15:52:11 +01:00
Sébastien Deronne
ad73625459 wifi: Abort RX if a PHY header with unsupported settings has been received 2020-02-16 13:02:47 +00:00
Sébastien Deronne
a706a3c428 wifi: Avoid repeating calls to CalculateSnr function in InterferenceHelper 2020-02-16 13:02:47 +00:00
Rediet
ded9a815c9 wifi: Store expected channel occupation when switching to TX
So that ChannelAccessManager may update busy state
2020-02-16 13:02:47 +00:00
Rediet
5b2512910a wifi: Switch to busy after RX end when necessary 2020-02-16 13:02:47 +00:00
Sébastien Deronne
e9c230854e wifi: Fix reset of some variables in WifiPhy when a packet is dropped 2020-02-16 13:02:47 +00:00
Sébastien Deronne
a0df8a6a0b wifi: Use uint32_t instead of double for band bandwidth expressed in Hz 2020-02-16 13:02:47 +00:00
Sébastien Deronne
7309a96f37 wifi: Do not receive a packet sent with an unsupported channel width 2020-02-16 13:02:47 +00:00
Sébastien Deronne
2d5713f6b5 wifi: Fix InterferenceHelper to use non-HT for all calculations before payload 2020-02-16 13:02:47 +00:00
Tommaso Pecorella
cd1522e5d1 Fix (for real) NS_DEPRECATED_3_31 2020-02-16 10:11:41 +01:00
Tommaso Pecorella
52855374e2 Fix NS_DEPRECATED_3_31 definition for gcc 2020-02-15 21:50:40 +00:00
Tommaso Pecorella
8b91e2fbe9 Deprecate IsEqual for Ipv[4,6]Address, Ipv6Prefix, and Ipv4Mask 2020-02-15 19:22:05 +01:00
Tommaso Pecorella
6a27f55505 Add NS_DEPRECATED_3_31 to definitions 2020-02-15 19:21:09 +01:00
Eduardo Almeida
153492e56d utils: (fixes #138) Update CI scripts and README file after adding timeout value
see merge request !187
2020-02-14 09:12:20 +01:00