Commit Graph

12349 Commits

Author SHA1 Message Date
Tom Henderson
fde70be3ee mesh: Update test vectors due to wifi changes 2016-09-27 20:47:32 -07:00
Tom Henderson
c412be822d aodv: Update test vectors due to wifi changes 2016-09-27 20:45:27 -07:00
Tom Henderson
dc8e78e8f7 wifi: (partial fix for #2477) Avoid assert when transmit cancels a reception
It is possible for the DCF to be out of sync with the state of the
PHY and to try to transmit a Block Ack when the PHY is receiving.  This
may occur in certain A-MPDU situations.  The assert can be safely removed;
it is for further study whether the scheduled block ack event should be
cancelled to avoid the situation from arising.
2016-09-27 10:57:11 -07:00
Ali Rostami
03e3bf3c05 wifi: (fixes #2369) Generate backoff if DCF requests access during AIFS
This patch is reworked from a patch contributed by Ali Rostami
<a.rostami@rutgers.edu>.

This patch has been developed jointly at WINLAB, Rutgers University and
West Virginia University as part of the V2V safety communications
scalability activity of the Interoperability Issues of Vehicle-to-Vehicle
Based Safety Systems (V2V-Interoperability) Project headed by the Crash
Avoidance Metrics Partnership (CAMP) Vehicle Safety Communications 3 (VSC3)
Consortium, in partnership with the United States Department of
Transportation (USDOT).

The issue that this patch addresses is to generate a backoff when the
station requests access during an AIFS period (the medium has been idle for
less than AIFS).  This especially helps to avoid ARP collisions or mesh
problems with hidden nodes (loss of broadcast frames).  The documentation
in tracker issue 2369 provides more details.

This is also related to several bugs in the ns-3 tracker, including
bugs 555, 737, 912, 1465, 1605, and 2493; see also discussions there.
2016-09-27 10:54:36 -07:00
Tom Henderson
d071add7c8 wifi: Allow broadcast frames in EDCA queues
Some QoS frames may be addressed to the broadcast address (e.g. mesh).
If they experience an internal collision, ns-3 will assert upon the
check to WifiRemoteStationManager::NeedDataRetransmission.  Instead,
treat the internal collision like a lost broadcast frame and just drop
it by resetting the DCF such as done with a failed retransmission.
2016-09-16 15:03:21 -07:00
Tom Henderson
45068d31e4 wifi: (fixes #2496) BSS membership selector in SupportedRates 2016-09-20 17:54:25 -07:00
Tom Henderson
e71498b9d7 wifi: (fixes #2306): Raise DCF IsBusy () condition for CCA busy
This patch is reworked from a patch contributed by Ali Rostami
<a.rostami@rutgers.edu>.

This patch has been developed jointly at WINLAB, Rutgers University and
West Virginia University as part of the V2V safety communications
scalability activity of the Interoperability Issues of Vehicle-to-Vehicle
Based Safety Systems (V2V-Interoperability) Project headed by the Crash
Avoidance Metrics Partnership (CAMP) Vehicle Safety Communications 3 (VSC3)
Consortium, in partnership with the United States Department of
Transportation (USDOT).
2016-09-20 17:35:50 -07:00
Tom Henderson
f23f57c3df wifi: Remove Simulator::Run () calls in the PARF unit tests
The problem that may arise is that the unit test performs a number of
operations on Wifi objects before Simulator::Run() is entered.  There
are no events generated by these tests, so Simulator::Run () will not do
anything for the test.  What it may do, however, is call some
Object::DoInitialize() code that may assert if it finds the Wifi object
in an unexpected state.
2016-09-20 13:41:07 -07:00
Piyush Aggarwal
7bb5492e44 [internet] Arp logging: label with request or reply properly 2016-09-27 20:21:10 -04:00
Tommaso Pecorella
787430613e network: (workaround for #2505) Printing a packet can raise an assert 2016-09-28 02:13:32 +02:00
Peter D. Barnes, Jr.
bdae572c1d Update RELEASE_NOTES with fixed bugs 2507 and 2508 2016-09-27 19:48:11 -04:00
Robert R. Schmidt
9f8e72afef bug 2507: ConfigStore RawTextConfigLoad doesn't reset stream error state
Bug report and patch provided by Robert Schmidt on the users' list.
2016-09-27 16:41:02 -07:00
Peter D. Barnes, Jr.
5179503673 Add logging to ConfigStore and RawTextConfig 2016-09-21 14:13:18 -07:00
Tom Henderson
ca94d87ace core: Example and test cases for StringValue attribute parsing 2016-09-12 12:23:12 -07:00
Tommaso Pecorella
846709fff0 core: (fixes #2447) Attribute system doesn't complain in case of errors
Patch to AttributeHelper by Tommaso, extended to ObjectFactory by Peter
Barnes, and changed to use abort.h so that checks are made in all builds
2016-09-12 12:21:53 -07:00
Tom Henderson
b9e5595665 bindings: Rescan all bindings 2016-09-26 05:33:13 -07:00
Tom Henderson
47bf798bdc bindings: Update pybindgen version 2016-09-25 14:23:07 -07:00
Pasquale Imputato
7ab6c710c0 network: Set a proper default value for BQL HoldTime attribute 2016-09-24 15:36:10 +02:00
Tom Henderson
9fc8f392bf internet: fix unused variable warning in test 2016-09-20 09:20:59 -07:00
Peter D. Barnes, Jr.
46932fa7b2 build: (fixes #2459) Add ./waf --check-config option to reprint the summary
Add ./waf --check-config option to reprint the summary of optional features
from the configuration
2016-09-19 23:06:16 -07:00
Tom Henderson
6e005ecc61 internet: (fixes #2102) Ipv4GlobalRouting confused by bridged interfaces
The problem was that Network LSAs were not being constructed properly (not
recursing across bridged nodes to find additional attached routers).
2016-09-19 23:09:05 -07:00
Tom Henderson
330b45e3d4 internet: Add test cases to ipv4-global-routing test suite 2016-09-19 11:47:44 -07:00
Tommaso Pecorella
21a29564c9 internet: (fixes #2349) GlobalRouting adds Loopback interfaces to routing 2016-03-27 00:44:42 +01:00
Tom Henderson
de69e95705 internet: More helpful error messages; enable in all builds 2016-09-16 21:26:11 -07:00
Tom Henderson
08d6ee696b wifi: Update documentation about channel width configuration 2016-09-16 21:04:02 -07:00
Junling Bu
e17b7be260 documentation: Correct MeshPointDevice group name 2016-09-16 10:50:12 -07:00
Tom Henderson
f46c7cb9ce fix typo 2016-09-16 20:57:12 -07:00
Tom Henderson
edb5def2e5 build: (partial fix #2499) relax -Wstrict-overflow to level 2 2016-09-13 16:14:13 -07:00
Tommaso Pecorella
781e693b98 mobility: add testcase for bug 2390 and fix existing testcase for WaypointMobility 2016-09-12 23:01:55 +02:00
Hossam Khader
621eae31ca mobility: (fixes #2390) AddWaypoint uses absolute time instead of relative time 2016-09-12 23:02:50 +02:00
Tommaso Pecorella
2c5f5dfd3e core: fix for pedantic compiler warnings introduced in changeset 7224ff0eb8d9 2016-09-12 23:03:16 +02:00
Tommaso Pecorella
dcb87ae4c5 internet: (fixes #2500) Ipv[4,6]RawSocket ignores IpTtl tag 2016-09-12 22:53:56 +02: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
Peter D. Barnes, Jr.
4f64f9e28a core: (fixes #2344) Attribute names can't have spaces 2016-09-10 14:12:52 -07:00
Peter D. Barnes, Jr.
b46530a6b6 core: (fixes #2149) Deprecated Attributes and TraceSources
Patch based on earlier patch proposal from Natale Patriciello
2016-09-10 14:08:54 -07:00
Randall Plate
5d806ce34d uan: (fixes #2488) Error in UanPdp::SumTapsFromMaxNc for single tap 2016-09-07 21:51:45 -07:00
Tom Henderson
1dfa5ee603 wifi: Improve ascii printing of A-MPDU subframe 2016-09-10 11:49:37 -07:00
Tommaso Pecorella
bd12fc2c49 aodv: rebuild Python bindings 2016-09-10 01:56:55 +02:00
Tommaso Pecorella
e2c6a53921 aodv: regenerate test traces 2016-08-21 21:40:36 +02:00
Tommaso Pecorella
e0db27aa4a aodv: makes variables names code style compliant 2016-08-21 21:20:16 +02:00
Andrea Lupia
d6f671e834 aodv: (fixes #2123) AODV doesn't use / honor IP TTL in the RREQ / RREP 2016-09-10 01:52:53 +02:00
Tom Henderson
0dd8e2f620 [build] Partial fix for warnings revealed by changeset 865b0fc5e241
Rewrite logic to work around ./ns3/basic-data-calculators.h:190:11: error: assuming signed overflow does not occur when simplifying conditional to constant [-Werror=strict-overflow]
2016-09-05 11:36:53 -07:00
Tom Henderson
4d677cb2e7 [build] Partial fix for warnings revealed by changeset 865b0fc5e241
'Enable -Wstrict-overflow for G++ >= 4.8.1' revealed some issues.
2016-09-04 21:56:48 -07:00
Peter D. Barnes, Jr.
18e8001aaa [core] Fix compilation errors from new NS_DEPRECATED function macro in r 12293 [57597d3fb31e]
Remove function macro and return to simple tag.  GCC can have the
attribute in front of the function declaration, matching Windows.
2016-09-03 18:13:21 -04:00
Peter D. Barnes, Jr.
4f05e5297b [internet] Include 'ns3/private' instead of '../model/' 2016-09-03 01:16:44 -04:00
Peter D. Barnes, Jr.
b042826e97 [build] Enable -Wstrict-overflow for G++ >= 4.8.1 2016-09-03 01:13:03 -04:00
Peter D. Barnes, Jr.
2fa3c9bbc6 [des-metrics] Missing include. 2016-09-03 01:06:28 -04:00
Peter D. Barnes, Jr.
516b8b2ff9 [core] Document CommandLine feature request. 2016-09-03 00:56:53 -04:00
Peter D. Barnes, Jr.
d58a3b8863 [core] Improve GlobalValue documentation. 2016-09-03 00:52:50 -04:00
Peter D. Barnes, Jr.
ba7ae20fb5 [core] Fix compilation error introduced in r12295 [e1451373c0b6] 2016-09-02 23:12:36 -04:00