View | Details | Raw Unified | Return to bug 2674
Collapse All | Expand All

(-)a/doc/tutorial/source/building-topologies.rst (-10 / +9 lines)
 Lines 959-972    Link Here 
959
  phy.SetChannel (channel.Create ());
959
  phy.SetChannel (channel.Create ());
960
960
961
Once the PHY helper is configured, we can focus on the MAC layer. Here we choose to
961
Once the PHY helper is configured, we can focus on the MAC layer. Here we choose to
962
work with non-Qos MACs so we use a NqosWifiMacHelper object to set MAC parameters. 
962
work with non-Qos MACs. WifiMacHelper object is used to set MAC parameters. 
963
963
964
::
964
::
965
965
966
  WifiHelper wifi = WifiHelper::Default ();
966
  WifiHelper wifi;
967
  wifi.SetRemoteStationManager ("ns3::AarfWifiManager");
967
  wifi.SetRemoteStationManager ("ns3::AarfWifiManager");
968
968
969
  NqosWifiMacHelper mac = NqosWifiMacHelper::Default ();
969
  WifiMacHelper mac;
970
970
971
The ``SetRemoteStationManager`` method tells the helper the type of 
971
The ``SetRemoteStationManager`` method tells the helper the type of 
972
rate control algorithm to use.  Here, it is asking the helper to use the AARF
972
rate control algorithm to use.  Here, it is asking the helper to use the AARF
 Lines 986-994    Link Here 
986
that will be used to set the value of the "Ssid" ``Attribute`` of
986
that will be used to set the value of the "Ssid" ``Attribute`` of
987
the MAC layer implementation.  The particular kind of MAC layer that
987
the MAC layer implementation.  The particular kind of MAC layer that
988
will be created by the helper is specified by ``Attribute`` as
988
will be created by the helper is specified by ``Attribute`` as
989
being of the "ns3::StaWifiMac" type.  The use of
989
being of the "ns3::StaWifiMac" type.  "QosSupported" ``Attribute`` is
990
``NqosWifiMacHelper`` will ensure that the "QosSupported"
990
set to false by default for ``WifiMacHelper`` objects. The combination
991
``Attribute`` for created MAC objects is set false. The combination
992
of these two configurations means that the MAC instance next created
991
of these two configurations means that the MAC instance next created
993
will be a non-QoS non-AP station (STA) in an infrastructure BSS (i.e.,
992
will be a non-QoS non-AP station (STA) in an infrastructure BSS (i.e.,
994
a BSS with an AP).  Finally, the "ActiveProbing" ``Attribute`` is
993
a BSS with an AP).  Finally, the "ActiveProbing" ``Attribute`` is
 Lines 1006-1012    Link Here 
1006
1005
1007
We have configured Wifi for all of our STA nodes, and now we need to 
1006
We have configured Wifi for all of our STA nodes, and now we need to 
1008
configure the AP (access point) node.  We begin this process by changing
1007
configure the AP (access point) node.  We begin this process by changing
1009
the default ``Attributes`` of the ``NqosWifiMacHelper`` to reflect the 
1008
the default ``Attributes`` of the ``WifiMacHelper`` to reflect the 
1010
requirements of the AP.
1009
requirements of the AP.
1011
1010
1012
::
1011
::
 Lines 1014-1023    Link Here 
1014
  mac.SetType ("ns3::ApWifiMac",
1013
  mac.SetType ("ns3::ApWifiMac",
1015
               "Ssid", SsidValue (ssid));
1014
               "Ssid", SsidValue (ssid));
1016
1015
1017
In this case, the ``NqosWifiMacHelper`` is going to create MAC
1016
In this case, the ``WifiMacHelper`` is going to create MAC
1018
layers of the "ns3::ApWifiMac", the latter specifying that a MAC
1017
layers of the "ns3::ApWifiMac", the latter specifying that a MAC
1019
instance configured as an AP should be created, with the helper type
1018
instance configured as an AP should be created. We do not change
1020
implying that the "QosSupported" ``Attribute`` should be set to
1019
the default setting of "QosSupported" ``Attribute``, so it remains
1021
false - disabling 802.11e/WMM-style QoS support at created APs.  
1020
false - disabling 802.11e/WMM-style QoS support at created APs.  
1022
1021
1023
The next lines create the single AP which shares the same set of PHY-level
1022
The next lines create the single AP which shares the same set of PHY-level

Return to bug 2674