31 class CapabilityInformation;
32 class DsssParameterSet;
34 class EdcaParameterSet;
void DoInitialize(void)
Initialize() implementation.
void SendCfEnd(void)
Send a CF-End packet.
std::map< uint16_t, Mac48Address > m_staList
Map of all stations currently associated to the AP with their association ID.
void SetBeaconInterval(Time interval)
Simulation virtual time values and global simulation resolution.
std::list< Mac48Address >::iterator m_itCfPollingList
Iterator to the list of all PCF stations currently associated to the AP.
bool GetRifsMode(void) const
Return whether RIFS is allowed in the BSS.
SupportedRates GetSupportedRates(void) const
Return an instance of SupportedRates that contains all rates that we support including HT rates...
EdcaParameterSet GetEdcaParameterSet(void) const
Return the EDCA Parameter Set of the current AP.
bool m_disableRifs
Flag whether to force RIFS to be disabled within the BSS If non-HT STAs are detected.
HeOperation GetHeOperation(void) const
Return the HE operation of the current AP.
int64_t AssignStreams(int64_t stream)
Assign a fixed random variable stream number to the random variables used by this model...
The VHT Operation Information ElementThis class knows how to serialise and deserialise the VHT Operat...
CfParameterSet GetCfParameterSet(void) const
Return the CF parameter set of the current AP.
The HT Operation Information ElementThis class knows how to serialise and deserialise the HT Operatio...
Time GetBeaconInterval(void) const
uint16_t GetVhtOperationalChannelWidth(void) const
Determine the VHT operational channel width (in MHz).
uint16_t GetNextAssociationId(void)
The Supported Rates Information ElementThis class knows how to serialise and deserialise the Supporte...
The Wifi MAC high model for a STA or AP in a BSS.
bool m_enableBeaconGeneration
Flag whether beacons are being generated.
void SendAssocResp(Mac48Address to, bool success, bool isReassoc)
Forward an association or a reassociation response packet to the DCF.
void SetWifiRemoteStationManager(const Ptr< WifiRemoteStationManager > stationManager)
void Enqueue(Ptr< const Packet > packet, Mac48Address to)
static TypeId GetTypeId(void)
Get the type ID.
CapabilityInformation GetCapabilities(void) const
Return the Capability information of the current AP.
void ForwardDown(Ptr< const Packet > packet, Mac48Address from, Mac48Address to)
Forward the packet down to DCF/EDCAF (enqueue the packet).
VhtOperation GetVhtOperation(void) const
Return the VHT operation of the current AP.
bool GetShortSlotTimeEnabled(void) const
Determine whether short slot time should be enabled or not in the BSS.
The CF Parameter SetThis class knows how to serialise and deserialise the CF Parameter Set...
bool m_enableNonErpProtection
Flag whether protection mechanism is used or not when non-ERP STAs are present within the BSS...
bool GetShortPreambleEnabled(void) const
Determine whether short preamble should be enabled or not in the BSS.
EventId m_beaconEvent
Event to generate one beacon.
Ptr< Txop > m_beaconTxop
Dedicated Txop for beacons.
std::list< Mac48Address > m_cfPollingList
List of all PCF stations currently associated to the AP.
void SendNextCfFrame(void)
Determine what is the next PCF frame and trigger its transmission.
void Receive(Ptr< Packet > packet, const WifiMacHeader *hdr)
This method acts as the MacRxMiddle receive callback and is invoked to notify us that a frame has bee...
void DeaggregateAmsduAndForward(Ptr< Packet > aggregatedPacket, const WifiMacHeader *hdr)
This method is called to de-aggregate an A-MSDU and forward the constituent packets up the stack...
void SetLinkUpCallback(Callback< void > linkUp)
Every class exported by the ns3 library is enclosed in the ns3 namespace.
void SetCfpMaxDuration(Time duration)
The EDCA Parameter SetThis class knows how to serialise and deserialise the EDCA Parameter Set...
Wi-Fi AP state machineHandle association, dis-association and authentication, of STAs within an infra...
DsssParameterSet GetDsssParameterSet(void) const
Return the DSSS Parameter Set that we support.
HtOperation GetHtOperation(void) const
Return the HT operation of the current AP.
ErpInformation GetErpInformation(void) const
Return the ERP information of the current AP.
void SendProbeResp(Mac48Address to)
Forward a probe response packet to the DCF.
The DSSS Parameter SetThis class knows how to serialise and deserialise the DSSS Parameter Set...
EventId m_cfpEvent
Event to generate one PCF frame.
bool GetUseNonErpProtection(void) const
Return whether protection for non-ERP stations is used in the BSS.
void TxFailed(const WifiMacHeader &hdr)
The packet we sent was successfully received by the receiver (i.e.
void SendOneBeacon(void)
Forward a beacon packet to the beacon special DCF.
An identifier for simulation events.
void DoDispose(void)
Destructor implementation.
void SetAddress(Mac48Address address)
Ptr< UniformRandomVariable > m_beaconJitter
UniformRandomVariable used to randomize the time of the first beacon.
std::list< Mac48Address > m_nonErpStations
List of all non-ERP stations currently associated to the AP.
void IncrementPollingListIterator(void)
Increment the PCF polling list iterator to indicate that the next polling station can be polled...
void SendCfPoll(void)
Send a CF-Poll packet to the next polling STA.
Time GetCfpMaxDuration(void) const
bool m_enableBeaconJitter
Flag whether the first beacon should be generated at random time.
bool IsNonGfHtStasPresent(void) const
Determine whether non-Greenfield HT stations are present or not.
void TxOk(const WifiMacHeader &hdr)
The packet we sent was successfully received by the receiver (i.e.
The HE Operation Information ElementThis class knows how to serialise and deserialise the HE Operatio...
std::list< Mac48Address > m_nonHtStations
List of all non-HT stations currently associated to the AP.
bool SupportsSendFrom(void) const
a unique identifier for an interface.
void SetBeaconGeneration(bool enable)
Enable or disable beacon generation of the AP.