Commit Graph

11957 Commits

Author SHA1 Message Date
Stefano Avallone
defeaea224 network: Add the NetDeviceQueue and NetDeviceQueueInterface classes
This patch adds a NetDeviceQueue class to store information about a single
transmission queue of a network device. This class is meant to store the
state of a transmission queue (i.e., whether the queue is stopped or not)
and some data used by techniques such as Byte Queue Limits. Also, multi-queue
aware queue discs can aggregate a child queue disc to an object of this class.
These features (excluding BQL) are added in subsequent commits.
The NetDevice class maintains a vector of NetDeviceQueue pointers, one for
each transmission queue. A NetDevice constructor is added which creates a
single transmission queue by default for every device. The number of transmission
queues can be modified (by child classes) by calling NetDevice::SetTxQueuesN.
Two public methods, GetTxQueue and GetTxQueuesN, are also added to the NetDevice class
to return the i-th NetDeviceQueue and the number of transmission queues, respectively.
2016-03-08 10:44:08 -08:00
Stefano Avallone
df2fa95970 network: Make Queue store QueueItem objects
A QueueItem base class is introduced to represent the items stored
in a Queue. The base class only contains a Ptr<Packet>. Derived classes
can store additional information. DropTailQueue, RedQueue and CodelQueue,
along with their examples and testsuits, have been adapted. Objects using
such queues have been adapted too.
2016-03-08 10:44:03 -08:00
Natale Patriciello
5e677fd152 internet: use traffic-control to send packets 2016-03-08 10:43:58 -08:00
Natale Patriciello
4f01bea25b internet: Register callbacks on TCLayer and NetDevices, RX side 2016-03-08 10:43:54 -08:00
Natale Patriciello
be96e8a5ca internet: Aggregate TrafficControlLayer by default in the tests 2016-03-08 10:43:49 -08:00
Natale Patriciello
cfacfc0e53 internet: Aggregate TrafficControlLayer to every Internet-enabled node 2016-03-08 10:43:42 -08:00
Natale Patriciello
9365cf70f6 internet: add a dependency on traffic-control 2016-03-08 10:43:33 -08:00
Natale Patriciello
37af8b51de traffic-control: Add the traffic control layer 2016-03-08 10:43:16 -08:00
Sébastien Deronne
5ef77015d8 wifi: rescan bindings 2016-03-01 20:49:37 +01:00
Sébastien Deronne
a16565b345 wifi: clean unused size parameter in rate managers 2016-03-01 20:12:29 +01:00
Sébastien Deronne
c90edb7c06 Update RELEASE_NOTES 2016-03-01 20:10:20 +01:00
Sébastien Deronne
210ae29049 wifi: (fixes #2313) remove A-MPDU subframe header before peeking WifiMacHeader in MacLow::ReceiveError 2016-03-01 20:06:44 +01:00
Sébastien Deronne
44355247f4 wifi: (fixes #2315) take Block ACK Request into account in A-MPDU size 2016-03-01 20:04:28 +01:00
Tom Henderson
681872e15d wifi: (fixes #2275) AdhocWifiMac compatible with 802.11n/ac 2016-03-01 19:56:51 +01:00
Matías Richart
8571ceea0e wifi: (fixes #2311) store state received about the remote station being HT or VHT capable 2016-03-01 19:53:17 +01:00
Vedran Miletić
c5cb7eb896 spectrum: actually remove the define 2016-02-28 22:50:25 +01:00
Vedran Miletić
26ed7563e1 spectrum: replace #define private public with friend class
ns-3 declares test classes as friend classes elsewhere, and this is the
only use of #define private public. Removing this #define also fixes
building with GCC 6.
2016-02-28 22:47:50 +01:00
Vedran Miletić
62aa377d4f Upgrade Waf to 1.8.19 2016-02-28 22:09:20 +01:00
Vedran Miletić
038fdd2c83 Replace comparison of this to null with NS_LOG macro 2016-02-28 22:04:00 +01:00
Tommaso Pecorella
e2c1cff8d3 Update CHANGES and RELEASE_NOTES 2016-02-27 17:57:24 +01:00
Tom Henderson
26fb8c2b5d internet-apps: avoid 2-parts packets in Ping6 application. 2016-02-27 17:35:15 +01:00
Tom Henderson
e7e64c971e rescan bindings 2016-02-26 08:20:55 -08:00
Gustavo Carneiro
91ae3bb10b bindings: Improve custom support for callback forward declarations 2016-02-26 06:55:11 -08:00
Tom Henderson
c42d5f27a8 examples: fix wscript file formatting 2016-02-26 06:39:51 -08:00
Sébastien Deronne
2f8080b483 wifi: fix address field for commit 02ada4d0519e in case of VHT single MPDU 2016-02-26 12:48:21 +01:00
Sébastien Deronne
169c96bb0b wifi: fix address field for commit 02ada4d0519e 2016-02-26 08:46:30 +01:00
Chip Webb
336585b141 network: (fixes #2283) support nanosecond pcap resolution 2016-02-25 17:38:58 -08:00
Tom Henderson
bd33fbbdec internet: rescan bindings 2016-02-25 16:51:41 -08:00
Tommaso Pecorella
dd90b30eaa internet: RIPv2 implementation 2016-02-25 16:30:34 -08:00
Tommaso Pecorella
b135f2260b internet: (fixes #2304) Change DSCP enum values to 6-bit definitions 2016-02-25 16:10:38 -08:00
Tom Henderson
167662ad6c rescan bindings 2016-02-25 14:22:34 -08:00
Tom Goff
46fa78e7fa internet: (fixes #1835) Implement Socket::GetPeerName() 2016-02-24 13:14:51 -08:00
Sébastien Deronne
a5181e1bbd wifi: (partial fix #2296) MIMO example and documentation 2016-02-24 16:30:31 -08:00
Sébastien Deronne
04a4b94056 wifi: (partial fix #2296) Enable MIMO functionality 2016-02-24 13:02:55 -08:00
Tom Henderson
2c71bfadc4 wifi: (partial fix #2296) Remove hardcoded nss values 2016-02-24 10:49:48 -08:00
Tom Henderson
9006d2c66c wifi: fix valgrind error in test 2016-02-24 21:40:37 -08:00
Tom Henderson
73d40476df internet: fix valgrind issue in tcp-pkts-acked-test 2016-02-24 22:36:02 -08:00
Tom Henderson
332ea29d8e rescan all bindings 2016-02-25 11:58:10 -08:00
Karsten Roscher
5c6c5e2a85 wave,wifi: (fixes #2210) set Order field to 0 for HT/VHT 2016-02-24 10:38:54 -08:00
Tommaso Pecorella
54d6f90814 Bug 2249 - LTE perl speed tests possibly broken 2015-12-28 17:50:02 +01:00
Alexander Krotov
140d614f13 wifi: (fixes #2307) reset m_receivedAtLeastOneAmpdu regardless of ACK policy 2016-02-24 17:40:04 +01:00
Sébastien Deronne
a02ee29905 wifi: additional check to avoid potention problems with VHT single MPDUs in 802.11ac 2016-02-24 17:34:18 +01:00
Natale Patriciello
eff983b686 internet: (fixes #2302) check isRetransmission correctly 2016-02-24 16:07:54 +01:00
Tom Henderson
2dc10e0567 wifi: (fixes #2185) check destination address before replying 2016-02-24 00:30:04 +01:00
Tommaso Pecorella
cb42812fc4 internet: remove unused variable 2016-02-23 22:42:02 +01:00
Natale Patriciello
e478244f37 internet: added __STDC_LIMIT_MACROS define 2016-02-23 14:54:57 +01:00
Natale Patriciello
0926fe96a4 internet: TcpGeneralTest constructor refactoring 2016-02-23 10:17:22 +01:00
Natale Patriciello
fdaaa50a6a internet: subtractions in TCP made safe 2016-02-23 09:57:58 +01:00
Natale Patriciello
8f68ea76f4 internet: added tcp-bytes-in-flight test 2016-02-23 09:57:38 +01:00
Natale Patriciello
35933bcc9a internet: TcpErrorModel drop callback extended 2016-02-23 09:56:54 +01:00