diff -r 2f8e35b43d11 -r 17a71cd49da3 src/wifi/doc/wifi.rst --- a/src/wifi/doc/wifi.rst Tue Aug 13 10:37:49 2013 -0700 +++ b/src/wifi/doc/wifi.rst Tue Aug 13 22:05:25 2013 -0700 @@ -57,7 +57,7 @@ These three MAC high models share a common parent in ``ns3::RegularWifiMac``, which exposes, among other MAC configuration, an attribute ``QosSupported`` that allows -configuration of 802.11e/WMM-style QoS support. With QoS-enabled MAC +configuration of 802.11e/WMM-style QoS support and an attribute "HtSupported" that allows configuration og 802.11n High Throughput style support. With QoS-enabled MAC models it is possible to work with traffic belonging to four different Access Categories (ACs): **AC_VO** for voice traffic, **AC_VI** for video traffic, **AC_BE** for best-effort @@ -183,6 +183,10 @@ prepared the YansWifiPhyHelper by telling it which channel it is connected to. The phy objects are created in the next step. +To enable 802.11n High Throughput style parameters the following line of code could be used + wifiPhyHelper.Set ("ShortGuardEnabled",BooleanValue(true)); + wifiPhyHelper.Set ("GreenfieldEnabled",BooleanValue(true)); + NqosWifiMacHelper and QosWifiMacHelper ++++++++++++++++++++++++++++++++++++++ @@ -225,6 +229,25 @@ wifiMacHelper.SetBlockAckThresholdForAc (AC_BE, 10); wifiMacHelper.SetBlockAckInactivityTimeoutForAc (AC_BE, 5); +HtWifiMacHelper ++++++++++++++++ + +The ``ns3::HtWifiMacHelper``configures an +object factory to create instances of a ``ns3::WifiMac``. It is used to +supports creation of MAC instances that have 802.11n-style High throughput (Ht) and QoS support enabled. + +For example the following user code configures a HT MAC that +will be a non-AP STA in an infrastructure network where the AP has +SSID ``ns-3-ssid``::: + + HtWifiMacHelper wifiMacHelper = HtWifiMacHelper::Default (); + Ssid ssid = Ssid ("ns-3-ssid"); + wifiMacHelper.SetType ("ns3::StaWifiMac", + "Ssid", SsidValue (ssid), + "ActiveProbing", BooleanValue (false)); + +This object can be also used to set in the same way as ``ns3::QosWifiMacHelper`` + WifiHelper ++++++++++