Commit Graph

12007 Commits

Author SHA1 Message Date
Sébastien Deronne
5bcabeba26 wifi: rescan bindings 2016-03-10 00:11:43 +01:00
Matías Richart
caa040b30b wifi: update commit d600a963e02e with the latest patch version 2016-03-09 23:18:51 +01:00
Sébastien Deronne
0f97efa28d wifi: rescan bindings 2016-03-09 22:06:17 +01:00
Sébastien Deronne
df81efb5f0 wifi: (fixes #2332) fix buggy behaviour since commit 96b721d35158 2016-03-09 21:44:36 +01:00
Sébastien Deronne
3c49b133f8 wifi: (re-fixes #2313) fix issue when a BlockAckRequest is sent while the maximum number of RTS retries has been reached 2016-03-09 20:51:53 +01:00
Tom Henderson
93c8cf039e wifi: (fixes #2328) post-install configuration of the number of Tx antennas 2016-03-06 09:14:09 -08:00
Matías Richart
5bbb3d6001 wifi: (fixes #2317) Add method to convert a HT MCS to a non-HT rate 2016-03-09 20:41:21 +01:00
Matías Richart
901c249f78 wifi: (fixes #2320) Add method to check whether a WifiTxVector contains a valid combination of WifiMode, number of spatial streams and channel width 2016-03-09 20:37:26 +01:00
Sébastien Deronne
58c4f13f59 wifi: (fixes #2327) CWmin value selection based on 802.11g standard rules 2016-03-09 20:32:05 +01:00
Sébastien Deronne
f2cdfb1144 wifi: (fixes #2319) increase BlockAckTimeout for 802.11n 2.4 Ghz 2016-03-09 20:02:06 +01:00
Sébastien Deronne
dcd0439556 wifi: (fixes #2321) call wifi rate manager on a per A-MPDU basis 2016-03-09 19:57:46 +01:00
Sébastien Deronne
4e23b3a14c wifi: add example for A-MPDU with TCP (from Hany Assasa) 2016-03-09 19:51:35 +01:00
Sébastien Deronne
e6d4895bcf wifi: (fixes #2318) avoid simulation crashes when A-MPDU is used with TCP 2016-03-09 19:51:33 +01:00
Sébastien Deronne
1607dd43bd wifi: (fixes #2316) use single TXVECTOR for all MPDUs belonging to a same A-MPDU 2016-03-09 19:50:46 +01:00
Sébastien Deronne
2b20881ac8 wifi: remove unused variable in MacLow 2016-03-09 19:50:25 +01:00
Tommaso Pecorella
889ab088a3 traffic-control: Remove unused variable 2016-03-09 09:26:35 -08:00
Tommaso Pecorella
144d8622f4 test: Add missing module dependency 2016-03-09 09:23:56 -08:00
Tom Henderson
6191ea1e33 traffic-control: Remove unnecessary module header includes 2016-03-08 22:35:58 -08:00
Tom Henderson
1261e63e88 traffic-control: Relocate PfifoFast test suite due to dependency 2016-03-08 22:34:05 -08:00
Tom Henderson
5d99283c98 traffic-control: Relocate ARED test suite due to module dependencies 2016-03-08 22:30:33 -08:00
Stefano Avallone
15e11b2695 traffic-control: Make the Red and CoDel tests independent of internet 2016-03-08 22:25:37 -08:00
Stefano Avallone
7f1ed835ee traffic-control: CheckConfig () in non-debug builds 2016-03-08 22:24:54 -08:00
Tom Henderson
822ddcb157 bindings: rescan bindings 2016-03-08 22:01:30 -08:00
Tom Henderson
08cd446ca8 bindings: remove problematic forward declarations 2016-03-08 22:00:35 -08:00
Tom Henderson
04822ef884 traffic-control: add network module dependency 2016-03-08 21:59:03 -08:00
Tom Henderson
8d64ccb91b traffic-control: fix invalid use of incomplete type 2016-03-08 21:38:59 -08:00
Tom Henderson
4bfd4c7a9d traffic-control: break reference cycle 2016-03-08 11:48:16 -08:00
M P Tahiliani
b0b03f081c traffic-control: Add ARED test and examples 2016-03-08 10:48:41 -08:00
M P Tahiliani
9e11878f7d traffic-control: Add the ARED implementation 2016-03-08 10:48:36 -08:00
Stefano Avallone
1f3c090e56 test: Regenerate reference data files for the ns3-tcp-state test 2016-03-08 10:48:31 -08:00
Pasquale Imputato
003a65526d traffic-control: Fix the CoDel examples 2016-03-08 10:48:27 -08:00
Pasquale Imputato
e12f8db264 traffic-control: Fix the CoDel test suite after the move to the traffic-control module 2016-03-08 10:48:22 -08:00
Pasquale Imputato
f2ddfb2948 traffic-control: CoDel is a queue disc now 2016-03-08 10:48:18 -08:00
Pasquale Imputato
586d3d9e37 traffic-control: fix the RED examples 2016-03-08 10:48:13 -08:00
Pasquale Imputato
24881696d2 traffic-control: Fix the RED test suite after the move to the traffic-control module 2016-03-08 10:48:09 -08:00
Pasquale Imputato
58756a8efd traffic-control: RED is a queue disc now 2016-03-08 10:48:05 -08:00
Stefano Avallone
3a928d5b34 point-to-point: DoDispose must reset m_queue, too 2016-03-08 10:46:13 -08:00
Pasquale Imputato
c0773c1a46 traffic-control: Add a pfifo_fast test suite 2016-03-08 10:46:09 -08:00
Pasquale Imputato
ea75b70eb1 examples: Add a traffic control example
Signed-off-by: Stefano Avallone <stavallo@unina.it>
2016-03-08 10:46:01 -08:00
Stefano Avallone
c1724a275d mesh: Regenerate reference data files for the devices-mesh-flame-regression test suite 2016-03-08 10:45:53 -08:00
Stefano Avallone
a826db4fbb internet: install the default TC configuration (pfifo_fast) on every device by default 2016-03-08 10:45:49 -08:00
Stefano Avallone
7e4d58c204 traffic-control: Add a traffic control helper to ease the installation of queue discs 2016-03-08 10:45:44 -08:00
Stefano Avallone
92f923701b traffic-control: Add the pfifo_fast queue disc
Linux pfifo_fast is the default priority queue enabled on Linux
systems.  Packets are enqueued in three FIFO droptail queues according
to three priority bands based on their Type of Service bits or DSCP bits.
2016-03-08 10:45:41 -08:00
Pasquale Imputato
c6e5ecc191 network: The Queue base class holds mode, maxPackets and maxBytes
...so that all the subclasses have such attributes. This
allows queue discs to have attributes specifying the mode and
size of their queue(s) and to create queues using their
own attributes.

This commit is heavily inspired by Natale's queue rework patch:
https://codereview.appspot.com/270540044/
2016-03-08 10:45:36 -08:00
Pasquale Imputato
2e7c7dbb00 internet: Move CoDel model, test and examples to the traffic-control module
This move prepares CoDel to become a queue disc. Building of CoDel
model, tests and examples is disabled until the conversion is done.
2016-03-08 10:45:32 -08:00
Pasquale Imputato
e02e86faa7 network: Move RED model, test and examples to the traffic-control module
This move prepares RED to become a queue disc. Building of RED
model, tests and examples is disabled until the conversion is done.
2016-03-08 10:45:27 -08:00
Stefano Avallone
9e79ad7d45 point-to-point: Add preliminary support for flow control
The (unique) transmission queue is stopped when enqueuing a packet fails, so
that upper layers do not send other packets down. When a packet transmission
is completed, if the queue is empty then wake the upper layers. If the queue
was stopped, there is now room for another packet and hence wake the upper
layers as well.
2016-03-08 10:45:07 -08:00
Stefano Avallone
69e882e74b internet: Defer the addition of the IP header until the packet is extracted from the queue disc
When a packet is passed to the Traffic Control layer, the IPv{4,6} header has not
been added yet. It will be added when the packet is dequeued from the queue disc.
2016-03-08 10:45:02 -08:00
Stefano Avallone
374639c6fe traffic-control: The traffic control layer enqueues packets in the queue disc
...aggregated to the outgoing network device, if any. Otherwise,
packets are sent directly to the device.
2016-03-08 10:44:19 -08:00
Stefano Avallone
bedc89eea9 traffic-control: Add the QueueDisc base class
QueueDisc is a base class providing the interface and implementing
the operations common to all the queueing disciplines. Child classes
need to implement the methods used to enqueue a packet (DoEnqueue),
dequeue a single packet (DoDequeue), get a copy of the next packet
to extract (DoPeek), plus methods to classify enqueued packets in
case they manage multiple queues internally.
2016-03-08 10:44:13 -08:00