Commit Graph
6397 Commits
Author SHA1 Message Date
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 ef1d99d2c0 fix uan example 2010-06-28 14:47:06 -04:00
Josh Pelkey 03a9879490 fix rocket-fuel example valgrind issue 2010-06-28 14:45:56 -04:00
Josh Pelkey 8e5ef53724 python scan 2010-06-28 11:33:05 -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 cc1141628e Bug 881: Update RELEASE_NOTES and CHANGES.html 2010-06-25 12:40:24 +01: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
Josh Pelkey bda1180629 python scan 2010-06-24 15:14:25 -04:00
Leonard Tracy 3353f641c6 UAN module addition 2010-06-24 14:35:29 -04:00
Tom Henderson d1f76f4cc2 rescan bindings 2010-06-24 10:04:30 -07: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
Tom Henderson ca4f040cf7 Remove regression test test-ns2-mob.py 2010-06-20 11:01:08 -07:00
Gustavo J. A. M. Carneiro eb79f5d518 Another missing <math.h> include 2010-06-20 15:57:49 +01:00
Martín Giachino 8af8a42b6a RELEASE_NOTES updated 2010-06-20 17:25:42 +04: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
Gustavo J. A. M. Carneiro 25153a2734 API rescan for python bindings 2010-06-17 10:37:02 +01:00
Gustavo J. A. M. Carneiro d76d69498a Add -fstrict-aliasing and -Wstrict-aliasing compilation flags, to catch some potential strict aliasing violations earlier 2010-06-17 09:56:38 +01:00
Dean Armstrong 498c1d27fb Bug 871: Update OFDM validation script for new rate naming 2010-06-16 20:49:41 +01: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
Gustavo J. A. M. Carneiro 038ff8b94c Rescan API for Python bindings 2010-06-14 17:35:42 +01: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
Gustavo J. A. M. Carneiro d2d68087d6 python-scan: avoid possible deadlock passing list of modules to the api scanner process 2010-06-13 16:34:15 +01:00
Lalith Suresh 91d49b20c4 hnaEntries Create() moved into if block for clarity 2010-06-13 13:40:12 +05:30
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