Commit Graph

180 Commits

Author SHA1 Message Date
Stefano Avallone
6c0840352d traffic-control: Add the mq queue disc 2017-05-28 10:21:32 +02:00
Tom Henderson
4ab4c2d6b8 tcp: (bug #2649) Temporarily disable failing tests 2017-03-11 21:49:29 -08:00
Stefano Avallone
bdc94e40b1 wifi: Make WifiMacQueue a subclass of Queue 2017-03-08 18:02:03 +01:00
Stefano Avallone
6fef34be47 network: Convert Queue into a template class 2017-03-08 18:01:29 +01:00
Sébastien Deronne
ba433f9a20 wifi: add RRPAA wifi rate control (patch from Matias Richart) 2017-02-15 23:44:05 +01:00
Tom Henderson
1c7a443d20 tcp: disable SACK in a NewReno testcase 2017-02-05 18:01:38 -08:00
Tom Henderson
513e1e14da tcp: Update response vectors for ns3-tcp-interoperability test
The vectors only differ in the presence of the sackOK option being added
to the SYN+ACK that the ns-3 implementation sends.
2017-02-05 15:13:34 -08:00
Natale Patriciello
e32e1bf1af test: Added useful print messages on ns3-tcp-state 2017-02-03 14:02:47 +01:00
Natale Patriciello
0638daed2c tcp: ns3-tcp-loss updated
Before this patch, the test failed. The reason is in the following
trace:

Expected 49153 > 50000 [ACK] Seq=33001 Ack=1 Win=32768 received: 49153 > 50000 [ACK] Seq=33001 Ack=1 Win=32768
Expected 49153 > 50000 [ACK] Seq=34001 Ack=1 Win=32768 received: 49153 > 50000 [ACK] Seq=34001 Ack=1 Win=32768
Expected 49153 > 50000 [ACK] Seq=35001 Ack=1 Win=32768 received: 49153 > 50000 [ACK] Seq=15001 Ack=1 Win=32768
Expected 49153 > 50000 [ACK] Seq=15001 Ack=1 Win=32768 received: 49153 > 50000 [ACK] Seq=35001 Ack=1 Win=32768
Expected 49153 > 50000 [ACK] Seq=36001 Ack=1 Win=32768 received: 49153 > 50000 [ACK] Seq=36001 Ack=1 Win=32768
Expected 49153 > 50000 [ACK] Seq=37001 Ack=1 Win=32768 received: 49153 > 50000 [ACK] Seq=37001 Ack=1 Win=32768

The old implementation expected this sequences: 33001, 34001, 35001, 15001,
while the new one expects 33001, 34001, 15001, 35001. Thanks to the SACK
informations we can sent the (lost) 15001 one round before.
2017-02-03 14:02:45 +01:00
Mohit P. Tahiliani
24084a9d8f traffic-control: Make the PIE test suite independent of internet 2017-01-31 19:35:00 +01:00
Sébastien Deronne
bd79628ad3 wifi: Cleanup files after refactoring 2017-01-25 23:46:47 +01:00
Sébastien Deronne
ae0f818c5a wifi: code refactoring phase 1 2017-01-25 21:14:32 +01:00
Sébastien Deronne
568d2259a3 Remove unused code that is causing compilation issues on some machines 2017-01-20 13:50:17 +01:00
Biljana Bojovic
7d13789baf lte: extend lte stats and trace interfaces with CA component carrier Id 2017-01-20 09:29:58 +01:00
Mohit P. Tahiliani
d7d6e33c96 traffic-control: Make the ARED test suite not depend on internet 2016-12-13 19:56:54 +01:00
Shravya Ks
7681d190c2 traffic-control: Add support for marking packets for ECN 2016-12-13 19:56:21 +01:00
Peter D. Barnes, Jr.
fdae292bfc Rename attributes to remove spaces
Such attribute names are no longer permitted based on bug #2344 fix
2016-09-10 14:29:14 -07:00
Tom Henderson
1252e2e1a7 traffic-control: Call Simulator::Destroy() on tests involving CoDel
CoDel calls Simulator::Now (), so tests should call Simulator::Destroy ()
to clean up.
2016-08-25 10:52:25 -07:00
Stefano Avallone
8352930045 traffic-control: Move the PIE test suite to src/test/ns3tc 2016-08-09 23:40:33 +02:00
Pasquale Imputato
5f3f99ec52 traffic-control: Introduce the FQ-CoDel queue disc 2016-08-01 10:53:29 +02:00
Stefano Avallone
7fa7bc978f test: Move pfifo-fast and adaptive-red tests to ns3tc 2016-08-01 10:34:34 +02:00
Stefano Avallone
1ec310b39e traffic-control: PfifoFastQueueDisc uses priority to map packets to bands 2016-07-14 15:59:56 +02:00
Stefano Avallone
b7224c247f wifi: Register a select queue callback 2016-07-14 15:59:55 +02:00
Peter D. Barnes, Jr.
47815010d6 [test] Refactor to remove writeable global value. 2016-07-05 15:19:48 -07:00
Mohit P. Tahiliani
8d6a5b15ed traffic-control: Fix the adaptive red queue disc test 2016-05-19 00:14:23 +02:00
Sébastien Deronne
364ff63d7e wifi: (fixes #2307) Get rid of m_receivedAtLeastOneMpdu flag 2016-05-13 09:36:53 +02:00
Tom Henderson
dcbec12bd7 tcp: initialize m_writeResults member variable 2016-05-08 13:38:44 -07:00
Tom Henderson
1361d42755 tcp: Control pcap generation with boolean constant 2016-05-07 06:14:13 -07:00
Tom Henderson
02bfe8f9b2 tcp: (updates #2392) update test response vectors 2016-05-07 06:12:27 -07:00
Natale Patriciello
b6c47e6cea tcp: (fixes #2392) SYN advwin should not be scaled 2016-04-27 15:31:39 +02:00
Tom Henderson
cb4a27dc11 internet: Update ns3-tcp-interoperability test response vector
Update for new TCP implementation (timestamps are different).
2016-03-11 21:06:15 -08:00
Tom Henderson
c86c0fee13 internet: Update ns3-tcp-cwnd test response vectors
Update for traffic-control changes, and new TCP implementation.
2016-03-11 19:17:53 -08:00
Tommaso Pecorella
144d8622f4 test: Add missing module dependency 2016-03-09 09:23:56 -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
1f3c090e56 test: Regenerate reference data files for the ns3-tcp-state test 2016-03-08 10:48:31 -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
Natale Patriciello
de92108217 internet: (fixes #1783) BytesInFlight conforms to RFC 4898
Thanks to Alexander Krotov for a first version of this patch
Thanks to Lynne Salameh for testing
2016-02-23 09:47:50 +01:00
Natale Patriciello
782d9a0f41 internet: partially reverting 11850 for trace writing 2016-02-19 16:09:25 +01:00
Sébastien Deronne
1e53b67549 wifi: fixes previous commit 2016-02-05 22:56:18 +01:00
Sébastien Deronne
4f54ca4f1e wifi: (fixes #2116 and #2213) Refactor helpers and APIs 2016-02-05 21:48:25 +01:00
Natale Patriciello
e4e6dad2d0 internet: (fixes #2247) limited transmit after first dupack 2016-02-04 10:16:24 +01:00
Tom Henderson
a361bbe345 update some stale log components 2015-12-23 09:37:56 -08:00
Tommaso Pecorella
6bd2b6f256 Moved internet-specific apps to the new internet-apps module 2015-11-09 22:32:26 +01:00
Tom Henderson
d0c55f9292 update NSC TCP tests to new TCP implementation 2015-11-08 09:37:52 -08:00
Sébastien Deronne
3b17193ef8 Bug 2185 [wifi] - WiFi MacLow may respond to errored frames that it should ignore 2015-10-27 21:17:29 +01:00
Tom Henderson
ae820a84e8 update TCP test vectors for new implementation and tests 2015-10-20 12:09:16 -07:00
Natale Patriciello
2c0cfe1201 Removed Tahoe. 2015-10-16 10:38:57 -07:00
Natale Patriciello
51e94e52f0 Removed TcpReno from ns-3 mainline
TcpNewReno is introduced in RFC 2582. The most recent RFC on this is
the RFC 6582. Since its introduction, Tcp NewReno is the RECOMMENDED
algorithm by the Internet Engineering Task Force. The main difference
between Reno and New Reno is in the Fast retransmit algorithm, in order
to recover more quickly when multiple packet losses occur in a single
window. NewReno introduces the concept of Partial acknowledgments. Since
the intention is to merge fast retransmit and fast recovery into
TcpSocketBase, there isn't the possibility to maintain TcpReno as
separate class. However, its behavior could be introduced again with one
conditional attribute in TcpSocketBase itself.
2015-10-16 10:38:39 -07:00
Tom Henderson
bcacc03cca avoid test suite name collision 2015-08-23 16:06:17 -07:00
Tommaso Pecorella
ad42c61e54 Fix clang "error: unused function" error. 2015-08-22 16:27:17 +02:00