Commit Graph

4864 Commits

Author SHA1 Message Date
Luca Favatella
e67a613a5f fix duplication in wscript 2010-07-01 10:17:39 -04:00
Mathieu Lacage
2157f7a345 run check-style.py 2010-07-01 12:50:22 +02:00
Mathieu Lacage
dca9b98db2 improve error reporting in case of assert failures. 2010-07-01 12:38:06 +02:00
Tom Henderson
663312ffd8 fix possibly uninitialized variables 2010-06-30 21:19:21 -07:00
Josh Pelkey
7faa97eab8 remove uan test temporarily 2010-06-30 20:35:49 -04:00
Josh Pelkey
2133aa49c5 ensure objects are regsitered 2010-06-29 20:24:20 -04:00
Josh Pelkey
03a9879490 fix rocket-fuel example valgrind issue 2010-06-28 14:45:56 -04:00
Dean Armstrong
682a93ca39 Bug 881: Add missing rename of SerializeIE to Serialize. 2010-06-28 09:19:21 +01:00
Pavel Boyko
5afa1764af bug 473: initialize variables 2010-06-28 11:29:22 +04:00
Josh Pelkey
8b89e7b233 Cleanup use of namespace specifiers in uan 2010-06-27 20:37:49 -07:00
Tom Henderson
e6328110db Cleanup object registration for uan 2010-06-27 20:27:30 -07:00
Josh Pelkey
bfa660bed1 remove unimplemented method in uan module 2010-06-26 11:34:43 -04:00
Josh Pelkey
b381cbfaac fix uan for python scan, add default constructor 2010-06-25 13:50:45 -04:00
Dean Armstrong
cf303ac4ef Bug 881: WifiInformationElement method renaming
Some renaming proposed by Nicola:

SerializeInformation => SerializeInformationField
DeserializeInformation => DeserializeInformationField
DeserializeIE => Deserialize
SerializeIE => Serialize

...and some I've extrapolated:

GetInformationSize => GetInformationFieldSize
DeserializeOptionalIE => DeserializeIfPresent
2010-06-25 12:32:17 +01:00
Dean Armstrong
28e92f93c1 Bug 881: Make Ssid and SupportedRates derive from WifiInformationElement 2010-06-22 12:05:08 +01:00
Dean Armstrong
ec753ce95d Bug 881: Bring Wi-Fi IE serdes intelligence into WifiInformationElement object
Introduce WifiInformationElement methods SerializeIE(),
DeserializeIE(), and DeserializeOptionalIE() (the latter for use when
the IE of interest might not be present), which know how to deal with
the IE as a whole.

Make use of these in mesh subsystem where WifiInformationElement-derived
objects are used.

Also add empty implementation of Print() method of
WifiInformationElement so that IEs that don't care about being
displayed don't need to implement this.
2010-06-22 11:59:26 +01:00
Dean Armstrong
acebf39957 Bug 881: Change WifiElementId to WifiInformationElementId 2010-06-22 11:50:55 +01:00
Dean Armstrong
51e894c77d Bug 881: Extract WifiInformationElement(Vector) core to wifi module
This patch aims to bring the core of the current WifiInformationElement and
WifiInformationElementVector classes into the wifi module, where they can then
enjoy greater use (currently they are in the mesh module and contain
mesh-specific aspects).
2010-06-25 11:50:06 +01:00
Leonard Tracy
3353f641c6 UAN module addition 2010-06-24 14:35:29 -04:00
Hajime Tazaki
b6093c6789 Bug 946 - Rocketfuel topology dataset support for topology reader 2010-06-23 18:16:45 +09:00
Dean Armstrong
e54fea5648 Bug 853: Use consistent standards/rates for examples and tests that use Wi-Fi
The change to consider mandatory rates for control responses if a
suitable basic rate could not be found broke the tests involving the
wireless/wifi-simple-adhoc-grid example, and the
routing-olsr-regression testsuite.

In these cases it is actually the tests that need updating; in the
wifi-simple-adhoc-grid test and the bug780-test part of the
routing-olsr-regression testsuite, 802.11b rates were being used with
the Wi-Fi PHY standard left at the default of 802.11a. The fix here is
to set the standard to 802.11b in the test.

In the tx-regression-test part of routing-olsr-regression, the problem
was that the reference traces needed to be updated given the control
response rate fix.  In this case I have also modified the test to set
the standard to 802.11a for clarity.
2010-06-23 09:01:30 +01:00
Dean Armstrong
cd6ccc184e Bug 853: Consider mandatory rates for Wi-Fi control responses
This changeset modifies the GetControlAnswerMode() method of class
WifiRemoteStationManager to correctly identify rates within the same
modulation class as the received frame, and then adds a search for a
suitable mandatory rate in the case where no suitable (per IEEE Std.
802.11-2007, Section 9.6) basic rate has been found.

I've also taken the opportunity to "tidy" the code up a bit -
primarily through renaming of variables to something more in line with
the nomenclature used in the standard.

Note that this change exposes issues in some of the test and example
code that uses the Wi-Fi models. These issues are addressed in a
following changelist.
2010-06-23 08:47:29 +01:00
Quincy Tse
38e14ee828 add missing files 2010-06-23 06:43:21 +02:00
Quincy Tse
074a1f7c0e bug 933: Flushing ostream and files on abnormal program exit 2010-06-22 15:44:10 +02:00
Martín Giachino
2b36eff9bc 473: brand new NS-2 mobility trace reader merged 2010-06-20 17:21:22 +04:00
Gustavo J. A. M. Carneiro
6e399c05a4 Add missing <math.h> include 2010-06-19 17:10:57 +01:00
Tom Henderson
f83cd3308f Fix gcc-3.4 build issues 2010-06-18 21:02:33 -07:00
Dean Armstrong
ebb9193ef9 Bug 871: Rework construction of Wi-Fi rates
This patch attempts to lay some groundwork for enhancements to the Wi-Fi module
by bringing the representation of transmit rates more in line with the
standard.

The key part of the patch is the introduction of a type that corresponds to the
notion of Modulation Class described in IEEE 802.11-2007, Section 9.6.1, Table
9-2.

It also adds coding rate information to the WifiModes and centralises their
construction into a single WifiModeFactory method. The rates are also renamed
with reference to their Modulation Class.

WifiModes no longer have a WifiStandard, but the latter type still exists and is
used to imply the set of WifiModes that a MAC/PHY pair will support.
2010-06-16 10:55:13 +01:00
Tom Henderson
b77c2830c5 Align WifiHelper logging with new ErrorRateModel classes 2010-06-15 11:27:51 -07:00
Gary Pei
a1fd50d60e Add NistErrorRateModel for wifi 2010-06-15 10:28:51 -07:00
Gary Pei
90a6f330f4 Factor out DSSS error rate functions to separate class 2010-06-15 10:26:48 -07:00
Nicola Baldo
f53d27ed76 fixed spectrum code for python bindings as per Gustavo's suggestion 2010-06-14 17:13:43 +02:00
Tom Henderson
2503d95453 Add some function logging to aodv-routing-protocol.cc 2010-06-13 14:46:13 -07:00
Gustavo J. A. M. Carneiro
dcd69f69be Add missing module dependency 2010-06-13 17:19:27 +01:00
Tom Henderson
9425e97869 Fix optimized build 2010-06-12 15:13:11 -07:00
Nicola Baldo
2cb96e68f5 merged spectrum framework 2010-06-11 19:30:06 +02:00
Nicola Baldo
25339d0db6 added Copy method for SimpleRefCountBase 2010-06-11 19:25:18 +02:00
Lalith Suresh
8cfeb5fcbb Removes repetition of 'class Ipv4L4Protocol;' 2010-06-10 11:45:16 +05:30
Lalith Suresh
0b630e7840 Updated OLSR documentation in olsr.h 2010-06-09 15:30:33 +05:30
Tom Henderson
5c1a033037 Fix compiler warnings 2010-06-08 21:28:10 -07:00
Mohamed Amine Ismail
86fd1c7847 Fix Bug 927:SimpleOfdmWimaxChannel RxPower computation 2010-06-08 12:01:05 +02:00
Mohamed Amine Ismail
b33b31ec5f Fix bug 937, Patch provided by Flavio Kubota 2010-06-08 11:41:17 +02:00
Nicola Baldo
71728fa264 fixed bug 844 2010-06-07 17:05:29 +02:00
Quincy Tse
1f4865f20c fixed bug 923 2010-06-07 16:24:27 +02:00
Quincy Tse
b53873b6f9 fixed bug 924 2010-06-07 16:22:21 +02:00
Nicola Baldo
0cb2d98e84 fixed bug 922 2010-06-07 16:12:16 +02:00
Duy Nguyen
1af7e9391b Fixed Bug 802 and Bug 919 2010-06-03 22:38:44 -07:00
Hajime Tazaki
8873e85bf5 update Bug 932 (Support IP_HDRINCL option for Ipv4RawSocket) again: regarding w/ Tom's comments. 2010-06-04 10:17:51 +09:00
Hajime Tazaki
3ec16d2bbf Bug 932 - Support IP_HDRINCL option for Ipv4RawSocket 2010-06-04 07:09:30 +09:00
Hajime Tazaki
f90f72425b Bug 858 - support MSG_PEEK in IPv4/IPv6 raw socket 2010-06-04 07:05:22 +09:00