Commit Graph

14088 Commits

Author SHA1 Message Date
Sebastien Deronne
ced0ff69d9 Merge branch 'wifi-needbarretransmission' into 'master'
wifi: fix condition for old packets in BlockAckManager::NeedBarRetransmission

Closes #48

See merge request nsnam/ns-3-dev!52
2019-04-25 10:09:56 +00:00
Tom Henderson
8c39f4d43a visualizer: Additional print function portability 2019-04-24 13:35:47 -07:00
Tinghui Wang
fe51d8c7c7 visualizer: Fix AttributeError X11Display object has no get_primary_monitor
In operating systems with older version of X server, such as
Ubuntu 16.04 or Xming 6.9 for windows, `get_primary_monitor` does
not exist in the `X11Display` object acquired by
`Gdk.Display.get_default()`. To solve the problem, alternative
method is provided to acquire the scale factor and the geometry
of the primary monitor.
2019-04-24 13:35:47 -07:00
Tinghui Wang
fab81fc3af visualizer: Fix circular imports in Python2 2019-04-24 13:35:47 -07:00
Micolaj Chwalisz
c189ab5ce1 visualizer: Python 3 compatibility fixes 2019-04-24 13:35:47 -07:00
Tom Henderson
5396fc911e build: (fixes #15) Fix build erroneous order constraint warnings
Patch based on original suggestion from ita1024 on updated constraints
2019-04-21 11:52:53 -07:00
Tom Henderson
b823749325 build: (fixes #14) Check file timestamps instead of hashes for changes
Credit to Waf maintainer ita1024 for this fix.

See also:  https://gitlab.com/ita1024/waf/issues/2231
2019-04-19 14:11:03 -07:00
Tom Henderson
42541d6cba internet: (fixes #46) Export headers for transport protocol modularity 2019-04-17 09:39:15 -07:00
Stefano Avallone
af441e7b69 wave, wifi: Rescan python bindings 2019-04-12 19:08:38 +02:00
Peter Barnes
c407cf239a Merge branch 'ptr-const-dereference' into 'master'
core: return non-const reference when a const Ptr is dereferenced

See merge request nsnam/ns-3-dev!53
2019-04-12 17:06:08 +00:00
ZorazeAli
82b03856c6 lte: Reset preamble transmission count before starting NC based RACH
see merge request !55
2019-04-12 17:57:48 +02:00
Alexander Krotov
95de59adae core: return non-const reference when a const Ptr is dereferenced
Address issue #47
2019-04-12 00:52:35 +03:00
Alexander Krotov
804b76574b wifi: fix condition for old packets in BlockAckManager::NeedBarRetransmission
Sequence numbers should be compared modulo 4096.
Also, window size may not be equal to 64.

Fixes issue #48
2019-04-11 14:22:45 +03:00
Rediet
c167fbd771 wifi: Clean up WifiPhy methods' signatures by relying on Event 2019-04-11 11:27:58 +02:00
Rediet
4108522341 wifi: Clean up WIFI_PREAMBLE_NONE
Done by having more detailed MpduType enum
2019-04-11 11:27:58 +02:00
Rediet
ebdb0812d9 wifi: Consider A-MPDU as single packet for PHY processing 2019-04-11 11:27:57 +02:00
Rediet
139264fb9b wifi: Correct formatting in debug output for MacRxMiddle 2019-04-11 11:27:57 +02:00
Rediet
ff53bdf2df wifi: Return correct serialized size for AmpduTag 2019-04-11 11:27:56 +02:00
Rediet
96774d6d67 wifi: Add a method to check whether packet is an A-MPDU 2019-04-11 11:27:55 +02:00
Rediet
647c36848c wifi: Add delimiter signature check to AmpduSubframeHeader 2019-04-11 11:27:55 +02:00
Rediet
9039b59fd2 wifi: Add method to peek A-MPDU subframes and MPDUs from A-MPDU 2019-04-11 11:27:55 +02:00
Rediet
3bd5db3da4 wifi: Add per-MPDU reception status to NotifyMonitorSniffRx 2019-04-11 11:27:54 +02:00
Rediet
1de371914f wifi: Make MpduAggregator::AddHeaderAndPad static 2019-04-11 11:27:54 +02:00
Rediet
a47a047c52 wifi: Add per-MPDU reception status to RxOkCallback
RxOkCallback will be triggered if at least one MPDU of the A-MPDU is successfully received.
That's why per-MPDU reception status is also provided.
2019-04-11 11:27:53 +02:00
Rediet
dfc7f88c1e wifi: Enable windowed PER for PLCP payload
Enables to compute per MPDU PER. Also add a method to get SNR over whole event.
2019-04-11 11:27:53 +02:00
Stefano Avallone
90ea875b58 wifi: Make use of the WifiPsdu class 2019-04-11 11:27:53 +02:00
Stefano Avallone
53cd729323 wifi: Remove the priority tag earlier
The priority tag can be removed as soon as a packet is enqueued
in the DCF/EDCA queue, because its TID will be used afterwards
to determine its priority.
2019-04-11 11:27:53 +02:00
Stefano Avallone
769affa6d5 wifi: Introduce the WifiPsdu class 2019-04-11 11:27:34 +02:00
Tom Henderson
7bc3cfc582 Update CHANGES.html 2019-04-08 14:08:18 -07:00
Tom Henderson
9a34eb912d build: update waf to version 2.0.15 2019-04-08 14:02:41 -07:00
Alexander Krotov
ac64e2e17c internet: remove unused Ipv4Header object 2019-04-08 02:26:19 +03:00
mychele
a7b7de4d46 mobility: (fixes #11) Rectangle::GetClosestSide works for exterior points 2019-04-07 09:45:02 -04:00
Stefano Avallone
661c12280b traffic-control: Install FqCoDelQueueDisc by default
Fixes issue #35
2019-04-05 19:15:21 +02:00
Alexander Krotov
711be0f661 wifi: add NS_FATAL_ERROR for unhandled case
There is a \todo below
2019-04-05 17:38:39 +03:00
Stefano Avallone
05b04146a3 wave, wifi: Rescan python bindings 2019-04-05 14:07:57 +02:00
Stefano Avallone
1565d97cdc Merge branch 'wifi-fixes' into 'master'
Wifi MSDU and MPDU aggregation rework

See merge request nsnam/ns-3-dev!19
2019-04-04 16:15:17 +00:00
Stefano Avallone
a85bcf08f3 wifi: Remove unused functions 2019-04-04 18:01:51 +02:00
Stefano Avallone
6dd9a14f6c wifi: Avoid calling the old MacLow::GetMaxAmpduSize if not necessary 2019-04-04 18:01:51 +02:00
Stefano Avallone
309f33884f wifi: Make use of the new MSDU and MPDU aggregators 2019-04-04 18:01:51 +02:00
Stefano Avallone
70fb8dd5c5 wifi: MacLow makes more use of WifiMacQueueItem 2019-04-04 18:01:51 +02:00
Stefano Avallone
aa998ec202 wifi: Rework MSDU and MPDU aggregation 2019-04-04 18:01:51 +02:00
Stefano Avallone
505e68ddb2 wifi: Make BlockAckManager use WifiMacQueueItem 2019-04-04 18:01:51 +02:00
Stefano Avallone
ded08c6ac0 wifi: Make WifiMacQueueItem more useful 2019-04-04 18:01:51 +02:00
Stefano Avallone
2e370e9085 wifi: Install one MsduAggregator and MpduAggregator per station
Hence, have them stored by the unique MacLow object
2019-04-04 18:01:51 +02:00
Stefano Avallone
7e5917c6d0 wifi: Add a method to get the max PPDU duration 2019-04-04 18:01:51 +02:00
Stefano Avallone
4724112166 wifi: Remove max A-MPDU and A-MSDU size attributes from configuration objects 2019-04-04 18:01:43 +02:00
Stefano Avallone
ae683546e0 wifi: Use std::initializer_list to have a single MostRecent method 2019-04-04 17:41:47 +02:00
Stefano Avallone
040ee16001 wifi: WifiRemoteStationState stores the station capabilities
Also, remove m_ldpc and m_stbc, as they can be obtained via
the VHT capabilities, and m_shortGuardInterval, m_streams and m_greenfield,
as they can be obtained via the HT capabilities.
2019-04-04 17:41:47 +02:00
Alexander Krotov
96ea5eac64 Merge branch 'energy-update' into 'master'
BasicEnergySource::UpdateEnergySource

See merge request nsnam/ns-3-dev!48
2019-04-04 13:16:07 +00:00
Alexander Krotov
99430f7a77 energy: increase tolerance in BasicEnergyUpdateTest 2019-04-04 14:56:02 +03:00