non-QoS AP state machine
More...
#include <nqap-wifi-mac.h>
List of all members.
Detailed Description
non-QoS AP state machine
Handle association, dis-association and authentication, of STAs within an IBSS. This class uses two output queues, each of which is server by a single DCF
- the highest priority DCF serves the queue which contains only beacons.
- the lowest priority DCF serves the queue which contains all other frames, including user data frames.
Member Function Documentation
- Parameters:
-
| packet | the packet to send. |
| to | the address to which the packet should be sent. |
| from | the address from which the packet should be sent. |
The packet should be enqueued in a tx queue, and should be dequeued as soon as the DCF function determines that access it granted to this MAC. The extra parameter "from" allows this device to operate in a bridged mode, forwarding received frames without altering the source address.
Implements ns3::WifiMac.
- Parameters:
-
| packet | the packet to send. |
| to | the address to which the packet should be sent. |
The packet should be enqueued in a tx queue, and should be dequeued as soon as the DCF function determines that access it granted to this MAC.
Implements ns3::WifiMac.
virtual Time ns3::NqapWifiMac::GetAckTimeout |
( |
void |
|
) |
const [virtual] |
- Returns:
- the current ACK timeout duration.
Implements ns3::WifiMac.
virtual Mac48Address ns3::NqapWifiMac::GetAddress |
( |
void |
|
) |
const [virtual] |
- Returns:
- the MAC address associated to this MAC layer.
Implements ns3::WifiMac.
Time ns3::NqapWifiMac::GetBeaconInterval |
( |
void |
|
) |
const |
- Returns:
- the interval between two beacon transmissions.
virtual Mac48Address ns3::NqapWifiMac::GetBssid |
( |
void |
|
) |
const [virtual] |
- Returns:
- the bssid of the network this device belongs to.
Implements ns3::WifiMac.
virtual Time ns3::NqapWifiMac::GetCtsTimeout |
( |
void |
|
) |
const [virtual] |
- Returns:
- the current CTS timeout duration.
Implements ns3::WifiMac.
virtual Time ns3::NqapWifiMac::GetEifsNoDifs |
( |
void |
|
) |
const [virtual] |
- Returns:
- the current EIFS minus DIFS duration
Implements ns3::WifiMac.
virtual Time ns3::NqapWifiMac::GetPifs |
( |
void |
|
) |
const [virtual] |
virtual Time ns3::NqapWifiMac::GetSifs |
( |
void |
|
) |
const [virtual] |
virtual Time ns3::NqapWifiMac::GetSlot |
( |
void |
|
) |
const [virtual] |
virtual Ssid ns3::NqapWifiMac::GetSsid |
( |
void |
|
) |
const [virtual] |
- Returns:
- the ssid which this MAC layer is going to try to stay in.
Implements ns3::WifiMac.
static TypeId ns3::NqapWifiMac::GetTypeId |
( |
void |
|
) |
[static] |
virtual void ns3::NqapWifiMac::SetAckTimeout |
( |
Time |
ackTimeout |
) |
[virtual] |
- Parameters:
-
| ackTimeout | the duration of an ACK timeout. |
Implements ns3::WifiMac.
virtual void ns3::NqapWifiMac::SetAddress |
( |
Mac48Address |
address |
) |
[virtual] |
- Parameters:
-
| address | the current address of this MAC layer. |
Implements ns3::WifiMac.
void ns3::NqapWifiMac::SetBeaconInterval |
( |
Time |
interval |
) |
|
- Parameters:
-
| interval | the interval between two beacon transmissions. |
virtual void ns3::NqapWifiMac::SetCtsTimeout |
( |
Time |
ctsTimeout |
) |
[virtual] |
- Parameters:
-
| ctsTimeout | the duration of a CTS timeout. |
Implements ns3::WifiMac.
virtual void ns3::NqapWifiMac::SetEifsNoDifs |
( |
Time |
eifsNoDifs |
) |
[virtual] |
- Parameters:
-
| eifsNoDifs | the duration of an EIFS minus DIFS. |
This value is used to calculate the EIFS depending on AIFSN.
Implements ns3::WifiMac.
- Parameters:
-
| upCallback | the callback to invoke when a packet must be forwarded up the stack. |
Implements ns3::WifiMac.
virtual void ns3::NqapWifiMac::SetLinkDownCallback |
( |
Callback< void > |
linkDown |
) |
[virtual] |
- Parameters:
-
| linkDown | the callback to invoke when the link becomes down. |
Implements ns3::WifiMac.
virtual void ns3::NqapWifiMac::SetLinkUpCallback |
( |
Callback< void > |
linkUp |
) |
[virtual] |
- Parameters:
-
| linkUp | the callback to invoke when the link becomes up. |
Implements ns3::WifiMac.
virtual void ns3::NqapWifiMac::SetPifs |
( |
Time |
pifs |
) |
[virtual] |
virtual void ns3::NqapWifiMac::SetSifs |
( |
Time |
sifs |
) |
[virtual] |
virtual void ns3::NqapWifiMac::SetSlot |
( |
Time |
slotTime |
) |
[virtual] |
- Parameters:
-
| slotTime | the slot duration |
Implements ns3::WifiMac.
virtual void ns3::NqapWifiMac::SetSsid |
( |
Ssid |
ssid |
) |
[virtual] |
- Parameters:
-
| ssid | the current ssid of this MAC layer. |
Implements ns3::WifiMac.
virtual void ns3::NqapWifiMac::SetWifiPhy |
( |
Ptr< WifiPhy > |
phy |
) |
[virtual] |
- Parameters:
-
| phy | the physical layer attached to this MAC. |
Implements ns3::WifiMac.
- Parameters:
-
| stationManager | the station manager attached to this MAC. |
Implements ns3::WifiMac.
void ns3::NqapWifiMac::StartBeaconing |
( |
void |
|
) |
|
Start beacon transmission immediately.
The documentation for this class was generated from the following files:
- src/devices/wifi/nqap-wifi-mac.h
- doc/introspected-doxygen.h