Commit Graph

14076 Commits

Author SHA1 Message Date
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
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
Alexander Krotov
9eacf6bc38 Reduce simulation time to 1 second in AnimationRemainingEnergyTestCase
Otherwise remaining energy goes below zero.
2019-04-04 14:18:54 +03:00
Tom Henderson
c0997bc821 build: (works around #14) add Waf option to run without building 2019-04-03 15:34:32 -07:00
Tom Henderson
5623f8ef82 wifi (fixes #42) Check configured capture window for capture 2019-04-03 14:38:42 -07:00
Alexander Krotov
1f1f10e13a energy: reschedule UpdateEnergySource only if it has already expired
Otherwise, if energy consumption is queried frequently, canceled events are produced.
These events take up memory and slow down the simulator.
2019-04-03 20:03:42 +03:00
Alexander Krotov
9cd441a0b0 energy: update remaining energy even if the simulation has finished
Otherwise consumed energy may be estimated incorrectly if it is queried at the end of simulation.
2019-04-03 19:59:07 +03:00
Peter Barnes
30e214a2c3 Merge branch 'object-factory-check' into 'master'
core: (fixes #43) Check if ObjectFactory has been configured

Closes #43

See merge request nsnam/ns-3-dev!46
2019-04-02 05:05:19 +00:00
Tom Henderson
d4cd46fbfe core: (fixes #43) Check if ObjectFactory has been configured 2019-03-31 09:54:35 -07:00
Gabriel Arrobo
63ce6b6869 lte: Remove test disabled from build for several years 2019-03-30 20:32:57 -07:00
Gabriel Arrobo
dba4333f85 Fix various typos 2019-03-30 20:30:18 -07:00
Sébastien Deronne
7112e718dc wifi: Revert a previous change in IdealWifiManager that is causing much lower performance and irregularities
(cherry picked from commit 8d5cd31b78fb862d7e9280ca3bc7468306ab6168)
2019-03-22 19:49:51 +01:00
Sébastien Deronne
de7fc0096c wifi: Small changes for 11ac/11ax
(cherry picked from commit 0684a0083da975bbe2965a1380064ef263a870b0)
2019-03-22 19:48:46 +01:00
Manuel Requena
5c0b2af65d lte: Fix some logs 2019-03-19 12:55:10 +01:00