Commit Graph

9247 Commits

Author SHA1 Message Date
Natale Patriciello
c86045ee2d Management of ignored ACK moved away from ReceivedAck
The function ReceivedAck contained some if/else switches to manage ACK
which, by definition, should have been ignored, like old ACKs
(SEG.ACK < SND.UNA). The code still misses the management of the
mitigation of Blind Data Injection Attack.

This patch moves these switches inside ProcessEstablished, to simplify
the ReceivedAck function, which now manages only valid ACKS.

To complete the overview, one more condition has been added, which is
the case of an out-of-order ACK (SEG.ACK > SND.NXT).
2015-10-16 10:38:35 -07:00
Natale Patriciello
3fd6f45051 Introduction of the ACK state machine
This commits contains only the definition (in other words, the interface)
of the ACK state machine, where the design is taken from Linux v4.0.
The state machine allows to define congestion situations avoiding the
use of boolean state variables.
2015-10-16 10:38:30 -07:00
Tommaso Pecorella
b46c6eef97 Bug 2195 - Udp[*]Client can't send packets to broadcast address 2015-10-19 22:04:11 +02:00
Tom Henderson
9c5e9b5cf5 rescan bindings 2015-10-11 11:15:57 -07:00
Sébastien Deronne
2cdeb033c1 small typos 2015-10-11 16:00:39 +02:00
Sébastien Deronne
d1a8ff9505 fix issues with Block Ack Requests in A-MPDUs 2015-10-11 08:30:07 +02:00
Sébastien Deronne
8f1bc1b48a style 2015-10-10 17:04:27 +02:00
Sébastien Deronne
3842513b39 Refactor previous commit 2015-10-10 16:49:26 +02:00
Sébastien Deronne
3527b5e411 Bug 1954 [wifi] - Serialized size of wifi-net-device differ for TX and RX trace 2015-10-10 11:43:00 +02:00
Sébastien Deronne
7ca24da09b rescan bindings 2015-10-10 11:05:11 +02:00
Sébastien Deronne
46a217a308 Move uint8_t packetType to enum mpduType 2015-10-10 11:01:47 +02:00
Sébastien Deronne
bf3ee0bdbf Bug 2184 [wifi] - integer overflow in MacLow; remove dependcy between tx and rx reference number field in MPDU status 2015-10-10 11:01:44 +02:00
miilic
79106b45f2 Bug 2170 - AnimationInterface outputs improperly formed XML 2015-10-01 07:59:09 -07:00
Sébastien Deronne
5aa0f567df Bug 2003 [wifi] - Missing DSSS short PLCP preamble 2015-09-30 22:24:08 +02:00
Tom Henderson
cfccf23b06 fix sphinx warnings 2015-09-27 12:49:29 -07:00
Tommaso Pecorella
0f7f58c31e [doxygen] Small fix in WifiRadioEnergyModel docs 2015-09-27 10:49:52 +02:00
Matthieu Coudron
8171d94e7c Add Node::GetLocalTime() placeholder, alias to Simulator::Now() 2015-09-22 23:52:56 +02:00
Tommaso Pecorella
88f7a8df92 Bug 2183 - [energy] LiIonEnergySourceHelper is not in the wscript 2015-09-21 23:12:24 +02:00
Tommaso Pecorella
7870451290 Bug 2177 - Ipv6ExtensionHeader length - code cleanup and remove hardcoded values 2015-09-19 16:14:49 +02:00
Mirko Banchi
03bf49fe74 Bug 1132 - Avoid misleading for loops with no body. 2015-09-16 23:34:51 +02:00
Tommaso Pecorella
e17ad5fbd0 Missing SetGroupName in two classes 2015-09-11 10:52:44 +02:00
Tom Henderson
bad3a40712 clarify Wi-Fi short slot time implementation status 2015-09-14 13:34:07 -07:00
Sébastien Deronne
2776512a2c Clean wifi wscript 2015-09-14 19:07:56 +02:00
Sébastien Deronne
0c915b3b38 Avoid unexpected requests to DCF when packets get queued during EdcaTxopN::MissedAck or during EdcaTxopN::MissedCts 2015-09-14 19:07:10 +02:00
Tom Henderson
2d4a9c278b additional Python 2/3 compatibility 2015-09-09 15:14:27 -07:00
Tom Henderson
d495e87798 ensure consistent digests for checking the build cache 2015-09-09 09:47:36 -07:00
Sébastien Deronne
cd648bf280 small typo 2015-09-09 20:27:32 +02:00
Tom Henderson
55b0e0147e rescan bindings 2015-09-07 11:04:33 -07:00
Tommaso Pecorella
e9ff3c1695 Bug 2177 - Ipv6ExtensionHeader::Setlength - stricter checks. 2015-09-07 17:10:02 +02:00
Saswat Mishra
b1d413cb3a Update AODV and DSR for static ARP support 2015-09-06 22:58:26 -07:00
Saswat Mishra
081b99da00 Add support for removing entries and marking permanent (static) entries in ArpCache 2015-09-06 22:57:37 -07:00
Sébastien Deronne
0ce1305128 Bug 2177 - Ipv6ExtensionFragmentHeader length is initialized to a wrong value. 2015-09-06 18:27:37 +02:00
Sébastien Deronne
0caed8c48f Fix valgrind failure for aggregation test 2015-09-06 12:05:19 +02:00
Sébastien Deronne
e0467b9677 Update wifi documentation 2015-09-06 10:54:48 +02:00
Sébastien Deronne
be042d8968 Better visibility in if conditions 2015-09-05 15:53:37 +02:00
Sébastien Deronne
da41f6dd64 Remove unnecessary if conditions in ap-wifi-mac and sta-wifi-mac 2015-09-05 12:00:44 +02:00
Sébastien Deronne
1746c079c2 Add helper to convert mcs values into datarate values 2015-09-05 11:37:49 +02:00
Sébastien Deronne
e10f0cd061 Temporarily force a 10 MHz channel width in WAVE 2015-09-04 22:18:05 +02:00
Sébastien Deronne
d8b035323a Fix broken test 2015-09-04 22:18:04 +02:00
Sébastien Deronne
dfa6adf51a Fix remaining issues with wifimode refactoring 2015-09-04 22:18:00 +02:00
Siddharth Santurkar
b5fde4107c port wscripts, test.py, and waf-tools to Python3 2015-09-03 21:14:55 -07:00
Natale Patriciello
8be88a788c bug 2174: m_rWnd not updated when segments without ACK are received 2015-09-03 21:20:53 -07:00
Natale Patriciello
34046a43d0 bug 2165: server replies to SYN (with option TS) with a SYNACK (with option TS) also if the attribute Timestamp is false 2015-09-03 21:12:22 -07:00
Alexander Krotov
20f5c5e062 bug 2173: WifiInformationElement::DeserializeIfPresent attempts to read beyond the end of buffer 2015-09-04 01:10:29 +02:00
Sébastien Deronne
ba299a9270 rescan bindings 2015-09-03 23:57:43 +02:00
Sébastien Deronne
04dfda290c add support for IEEE 802.11ac 2015-09-03 22:16:49 +02:00
Tom Henderson
3634c939ce bug 2157: OpenFlowSwitchNetDevice::BufferFromPacket setting eth_type incorrectly (patch due to Kang Chen) 2015-09-02 16:37:05 -07:00
Tom Henderson
a722fdd7d9 bug 1557: errors in OpenFlowSwitchNetDevice::BufferFromPacket(); patch due to Long Li and Ovidiu Poncea 2015-09-02 16:32:46 -07:00
Tom Henderson
de6214fb60 bug 1927: wrap Chi-squared test of random-variable-stream-generators test suite 2015-09-01 21:28:48 -07:00
Tom Henderson
13de20bb3a bug 1927: allow deterministic seeding of random-variable-stream-generators TestSuite
After this commit, the following will cause the test suite to always fail:
NS_GLOBAL_VALUE="RngRun=231" ./test.py -s random-variable-stream-generators
2015-09-01 21:03:55 -07:00