Commit Graph

1496 Commits

Author SHA1 Message Date
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
Dean Armstrong
682a93ca39 Bug 881: Add missing rename of SerializeIE to Serialize. 2010-06-28 09:19:21 +01: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
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
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
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
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
Dean Armstrong
adee6a1399 Bug 910: Update mesh reference traces after Bug 910 fix
The previous cset (eee2eab36748) renumbered the Access Categories and thus altered the order in which they are initialised. This means that the EDCAFs end up with different random numbers, so a corresponding update to certain reference traces is required here.
2010-06-03 17:38:22 +01:00
Dean Armstrong
bb7890d52f Bug 910: Replace AccessClass with 802.11-style AcIndex 2010-06-03 17:23:55 +01:00
Unknown
5c23af2452 moved packet-burst.{h,cc} to src/common 2010-06-03 13:34:09 +02:00
Nicola Baldo
ed5eadfbde fixed bug 843 2010-05-18 11:35:47 +02:00
Mirko Banchi
0b5fb1c903 bug 842: ns-3-dev crashes using block ack (fixed) 2010-05-16 16:10:19 +02:00
Mirko Banchi
e5d2640345 add methods in QosWifiMacHelper for block ack parameters setup 2010-05-10 16:41:20 +02:00
Tom Henderson
1a580e3725 Bug 895 - SimpleOfdmWimaxPhy SNR computation 2010-04-30 13:10:23 -04:00
Gustavo J. A. M. Carneiro
518e9f0461 Bug 899 - EmuNetDevice::SetPromiscReceiveCallback not implemented 2010-04-28 09:50:04 -04:00
Andrey Mazo
892d5e3f3d spell check, mostly in comments. 2010-04-23 15:09:31 +04:00
Andrey Mazo
7ecb4fca34 fixed include guard. 2010-04-23 14:53:30 +04:00
Nicola Baldo
49e55e6c7f merge 2010-04-22 15:23:20 +02:00
Mohamed Amine Ismail
597d33edb3 Bug 891 - WiMAX device helper does not include propagation loss model by default 2010-04-22 11:31:45 +02:00
Duy Nguyen
2b952049df Bug 802 - Minstrel algorithm causes segmentation fault 2010-04-21 17:00:57 +02:00
Bruno Ranieri
eb4b0b7e83 Bug 841 - Multicast transmission breaks with QoS Wifi 2010-04-17 12:02:53 +02:00
Mathieu Lacage
845b931222 Bug 802 - Minstrel, Onoe and Amrr not working 2010-04-17 11:37:15 +02:00
Craig Dowell
4567f96113 words about Attribute tweaking in CSMA dox 2010-04-16 16:06:14 -07:00
Dean Armstrong
968521d3ea Bug 873 - Queue occupancy counter not decremented in WifiMacQueue::Remove() 2010-04-16 20:13:39 +02:00
Nicola Baldo
c67e13fd70 merge 2010-04-16 20:10:01 +02:00