Commit Graph

11683 Commits

Author SHA1 Message Date
Tommaso Pecorella
57aabffff0 stats: add missing template required by clang-11 2020-03-10 16:41:21 +00:00
ZorazeAli
a41a60d9c8 lte: Rescan bindings 2020-03-10 14:11:40 +01:00
Natale Patriciello
48272070cd lte: Move ComponentCarrierBaseStation implementation into ComponentCarrier file 2020-03-10 14:11:40 +01:00
Natale Patriciello
a6765843e3 lte: Use uint16_t instead of uint8_t for bandwidth 2020-03-10 14:11:40 +01:00
N
a9491c47ae app: E2E stats header
Right now, there is no way of extracting e2e statistics without using flow monitor. This patch enables, with an attribute, the possibility of adding a particular header to the outgoing packets, that will be read from PacketSink. The header contains Sequence, Size, and Timestamp, and therefore at the reception, it is possible to measure throughput and per-packet delay.
2020-03-09 10:39:45 +00:00
Natale Patriciello
1453620d60 stats: SqliteDataOutput uses SqliteOutput as backend 2020-03-09 10:08:42 +01:00
Natale Patriciello
4b1e3516cc stats: Added sqlite output interface
The new class can used as a C++ interface towards the SQlite library.
It should support all the major version of the library.
2020-03-09 10:08:42 +01:00
Sébastien Deronne
7eb4227ef1 wifi: Fix ReportAmpduTxStatus called two times when BAR is explicitely sent upon missed BACK (initial patch from Stefano Avallone) 2020-03-08 08:40:29 +00:00
Tom Henderson
1ede250807 lr-wpan: Rescan APIs 2020-03-05 21:52:59 -08:00
Alberto Gallegos Ramonet
c2054cb25b lr-wpan: Beacon Enabled Mode Direct transmissions 2020-03-06 00:35:40 +01:00
Tom Henderson
2fde925da7 various doxygen updates 2020-03-04 13:43:20 -08:00
Rediet
b278e6be20 wifi: Fix valgrind issues with Tx power computation
Two root causes: uninitialized WifiPhy::m_powerRestricted and WifiTxVector::m_powerLevel
2020-03-04 11:30:37 -08:00
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
8d4297f245 core: Make Watchdog safe to delete 2020-02-27 08:49:12 +00: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