#include <mac-low.h>
Public Member Functions | |
void | EnableAck (void) |
void | EnableFastAck (void) |
void | EnableSuperFastAck (void) |
void | EnableRts (void) |
void | EnableNextData (uint32_t size) |
void | EnableOverrideDurationId (Time durationId) |
void | DisableAck (void) |
void | DisableRts (void) |
void | DisableNextData (void) |
void | DisableOverrideDurationId (void) |
bool | MustWaitAck (void) const |
bool | MustWaitNormalAck (void) const |
bool | MustWaitFastAck (void) const |
bool | MustWaitSuperFastAck (void) const |
bool | MustSendRts (void) const |
bool | HasDurationId (void) const |
Time | GetDurationId (void) const |
bool | HasNextPacket (void) const |
uint32_t | GetNextPacketSize (void) const |
The ns3::MacLow::StartTransmission method expects an instance of this class to describe how the packet should be transmitted.
void ns3::MacLowTransmissionParameters::DisableAck | ( | void | ) |
Do not wait for Ack after data transmission. Typically used for Broadcast and multicast frames.
void ns3::MacLowTransmissionParameters::DisableNextData | ( | void | ) |
Do not attempt to send data burst after current transmission
void ns3::MacLowTransmissionParameters::DisableOverrideDurationId | ( | void | ) |
Do not force the duration/id field of the packet: its value is automatically calculated by the MacLow before calling WifiPhy::Send.
void ns3::MacLowTransmissionParameters::DisableRts | ( | void | ) |
Do not send rts and wait for cts before sending data.
void ns3::MacLowTransmissionParameters::EnableAck | ( | void | ) |
Wait ACKTimeout for an ACK. If we get an ACK on time, call MacLowTransmissionListener::GotAck. Call MacLowTransmissionListener::MissedAck otherwise.
void ns3::MacLowTransmissionParameters::EnableFastAck | ( | void | ) |
This is really complicated but it is needed for proper HCCA support.
void ns3::MacLowTransmissionParameters::EnableNextData | ( | uint32_t | size | ) |
size | size of next data to send after current packet is sent. |
void ns3::MacLowTransmissionParameters::EnableOverrideDurationId | ( | Time | durationId | ) |
durationId | the value to set in the duration/Id field of the outgoing packet. |
void ns3::MacLowTransmissionParameters::EnableRts | ( | void | ) |
Send a RTS, and wait CTSTimeout for a CTS. If we get a CTS on time, call MacLowTransmissionListener::GotCts and send data. Otherwise, call MacLowTransmissionListener::MissedCts and do not send data.
void ns3::MacLowTransmissionParameters::EnableSuperFastAck | ( | void | ) |
Time ns3::MacLowTransmissionParameters::GetDurationId | ( | void | ) | const |
uint32_t ns3::MacLowTransmissionParameters::GetNextPacketSize | ( | void | ) | const |
bool ns3::MacLowTransmissionParameters::HasDurationId | ( | void | ) | const |
bool ns3::MacLowTransmissionParameters::HasNextPacket | ( | void | ) | const |
bool ns3::MacLowTransmissionParameters::MustSendRts | ( | void | ) | const |
bool ns3::MacLowTransmissionParameters::MustWaitAck | ( | void | ) | const |
bool ns3::MacLowTransmissionParameters::MustWaitFastAck | ( | void | ) | const |
bool ns3::MacLowTransmissionParameters::MustWaitNormalAck | ( | void | ) | const |
bool ns3::MacLowTransmissionParameters::MustWaitSuperFastAck | ( | void | ) | const |