Commit Graph

14206 Commits

Author SHA1 Message Date
Sébastien Deronne
bf2e9d3c84 wifi: Differenciate VHT preamble for SU and MU transmissions 2019-05-16 21:23:32 +02:00
Sébastien Deronne
c1cc5a88ac wifi: Add PHY headers 2019-05-16 21:23:32 +02:00
Apoorva Bhargava
6032126bf0 tcp: (fixes !65) Call BytesInFlight method before processing ACK 2019-05-16 11:16:44 -07:00
Tom Henderson
0f1b1620e6 internet: Fix log statement and remove dead code 2019-05-16 08:35:54 -07:00
Sébastien Deronne
eda73a35f9 Update RELEASE_NOTES for wifi module 2019-05-16 12:48:34 +02:00
ZorazeAli
eaf6420091 lte: Add RLF related figures 2019-05-11 21:50:16 -07:00
Tom Henderson
1c7d4f6d0e lte: fix build by updating ofstream mode constants 2019-05-11 12:15:24 -07:00
Stefano Avallone
21d35ffe01 Merge branch 'wifi-fixes' into 'master'
wifi: Misc fixes and code cleanup

Closes #45, #33, and #27

See merge request nsnam/ns-3-dev!56
2019-05-11 16:52:47 +00:00
Stefano Avallone
c0fcc365a9 wifi, wave: Rescan python bindings 2019-05-11 18:48:26 +02:00
Stefano Avallone
676f876099 Update RELEASE_NOTES 2019-05-11 18:48:26 +02:00
Stefano Avallone
54a0e0f467 wifi: Add a test for 802.11e Block Ack policy 2019-05-11 18:47:15 +02:00
Stefano Avallone
7f5efd1d2d wifi: Use constants for the size and half the size of the sequence number space 2019-05-11 18:47:15 +02:00
Stefano Avallone
300ae9e438 wifi: Merge Peek methods of QosTxop 2019-05-11 18:47:15 +02:00
Stefano Avallone
722073c025 wifi: BlockAckManager uses the WifiMacQueue::Expired trace 2019-05-11 18:47:15 +02:00
Stefano Avallone
fb82040208 wifi: Do not store packets if they are old or already present 2019-05-11 18:47:15 +02:00
Stefano Avallone
1b337379a1 wifi: Get rid of the MacLow aggregation queue 2019-05-11 18:47:15 +02:00
Stefano Avallone
d6c31ad130 wifi: QosTxop does not return packets outside of the current transmit window
Also, make use of the new variants of the WifiMacQueue methods and
remove unused BlockAckManager methods
2019-05-11 18:47:15 +02:00
Stefano Avallone
543cf34dcc wifi: Improve handling of starting sequence number of transmit window 2019-05-11 18:47:15 +02:00
Stefano Avallone
552327c458 wifi: Add a BA manager method to take actions upon discarding a frame 2019-05-11 18:47:15 +02:00
Stefano Avallone
8612d07e8b wifi: Handle packets ack'ed with Normal Ack under BA agreement 2019-05-11 18:47:15 +02:00
Stefano Avallone
ee92df37d9 wifi: Convert BA retransmit queue to WifiMacQueue
Also, remove a few unused methods
2019-05-11 18:47:15 +02:00
Stefano Avallone
99feb162fb wifi: Add more methods to WifiMacQueue
- Insert/Dequeue/Remove from specific positions in the queue
- Peek methods are const and return a ConstIterator
- Added a trace for expired MPDUs
2019-05-11 18:47:14 +02:00
Stefano Avallone
dc074293d5 network: Rename Queue methods to allow range based for loops 2019-05-11 18:47:14 +02:00
Stefano Avallone
b8130644e8 wifi: Add methods to return WinStartO 2019-05-11 18:47:14 +02:00
Stefano Avallone
3445d3e921 wifi: The state of an OriginatorBlockAckAgreement is never set to INACTIVE
Hence, remove the INACTIVE state. Actually, there is no point
in having such a state. If the inactivity timeout expires, the
block ack agreement is torn down. If the originator decides to
switch to Normal Ack policy, there is no need for the block ack
agreement to change state ("The block ack record shall be updated
irrespective of the acknowledgment type (Normal or Block Ack) for
the TID with a block ack agreement" - Section 10.24.3 of 802.11-2016).
2019-05-11 18:47:14 +02:00
Stefano Avallone
b88dbf5505 wifi: Further cleanup of the OriginatorBlockAckAgreement class
The m_sentMpdus and m_needBlockAckReq members of the
OriginatorBlockAckAgreement class are not actually used.
Consequently, remove the NotifyMpduTransmission and
CompleteExchange methods of the same class and various
other methods that only call the removed methods.
2019-05-11 18:47:14 +02:00
Stefano Avallone
3a6802e752 wifi: OriginatorBlockAckAgreement::IsBlockAckRequestNeeded is never used 2019-05-11 18:47:14 +02:00
Stefano Avallone
88781e4cfa wifi: Extend tests to check that TXOP limit is not exceeded 2019-05-11 18:47:14 +02:00
Stefano Avallone
6fba6dda4e wifi: Improve handling of transmission opportunities 2019-05-11 18:47:14 +02:00
Stefano Avallone
e9c69916c9 wifi: Add a QosTxop method to compute MacLow transmission parameters 2019-05-11 18:47:14 +02:00
Stefano Avallone
5f76fd45e0 wifi: Add a parameter to HasBar to remove the BAR from the queue 2019-05-11 18:47:14 +02:00
Stefano Avallone
ecd6d45dc2 wifi: Have a unique MustWaitBlockAck method in MacLowTransmissionParameters
...and another method to return the Block Ack type
2019-05-11 18:47:14 +02:00
Stefano Avallone
5c197ca1e2 wifi: Keep the timestamp when passing MPDUs to MacLow 2019-05-11 18:47:14 +02:00
Stefano Avallone
c96d4b6152 wifi: MacLow::m_ampdu is not needed anymore 2019-05-11 18:47:14 +02:00
Stefano Avallone
df5ceef9a9 wifi: Improve logic when RTS/CTS exchange fails
See issue #27

Also, regenerate data files used by devices-mesh-dot11s-regression
2019-05-11 18:47:14 +02:00
Stefano Avallone
94cc4b70dd wifi: Add methods to WifiMacQueue to peek and dequeue by TID 2019-05-11 18:47:14 +02:00
Stefano Avallone
72739ad288 wifi: MacLow makes more use of WifiMacQueueItem 2019-05-11 18:47:14 +02:00
Stefano Avallone
07cb1e0bf1 wifi: Make use of the new QosTxop methods
Also, attempt to fix the issues listed in #33
2019-05-11 18:47:14 +02:00
Stefano Avallone
2667c3135d wifi: Add QosTxop methods to peek and dequeue the next frame to transmit
...by searching through both the BA Manager retransmit queue and the EDCA queue
2019-05-11 18:47:14 +02:00
Stefano Avallone
ad12ef9d99 wifi: Add a MacLow method to compute the overhead time 2019-05-11 18:47:14 +02:00
ZorazeAli
4d1aace920 Update CHANGES.html and RELEASE_NOTES 2019-05-10 21:04:36 +02:00
ZorazeAli
d4d7dacc7e lte: Rescan python bindings 2019-05-10 19:45:14 +02:00
ZorazeAli
7ab63975b8 lte: Add modified by line for RLF extensions
Starting from this commit till e49cf80 are part of RLF implementation.

see merge request nsnam/ns-3-dev!58
2019-05-10 19:42:38 +02:00
ZorazeAli
49da14f522 lte: Resolve doxygen warnings 2019-05-10 18:31:39 +02:00
ZorazeAli
06601b2025 lte: Limit T300, T310, N310 and N311 to the standard min and max values
see 3GPP 36.331 UE-TimersAndConstants & RLF-TimersAndConstants
2019-05-10 18:31:24 +02:00
ZorazeAli
0702fd3d11 lte: Verify that the num of SF used for in/out of Sync evaluation are multiple of 10 2019-05-10 18:31:13 +02:00
ZorazeAli
c05e3fc068 lte: Update copyright for RLF extensions 2019-05-10 18:31:04 +02:00
ZorazeAli
3387ea0361 lte: Correct typos 2019-05-10 18:30:51 +02:00
ZorazeAli
a6afb989f3 lte: Improve the doc related to ConnEstFailCount 2019-05-10 18:30:39 +02:00
ZorazeAli
3b3f388109 lte: Remove unnecessary spaces from the docs 2019-05-10 18:30:29 +02:00