32 #include "ns3/random-variable-stream.h"
void DoInitialize(void)
Initialize() implementation.
EdcaParameterSet GetEdcaParameterSet(void) const
Return the EDCA Parameter Set of the current AP.
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.
bool m_disableRifs
Flag whether to force RIFS to be disabled within the BSS If non-HT STAs are detected.
int64_t AssignStreams(int64_t stream)
Assign a fixed random variable stream number to the random variables used by this model...
DsssParameterSet GetDsssParameterSet(void) const
Return the DSSS Parameter Set that we support.
The VHT Operation Information ElementThis class knows how to serialise and deserialise the VHT Operat...
The HT Operation Information ElementThis class knows how to serialise and deserialise the HT Operatio...
uint8_t GetVhtOperationalChannelWidth(void) const
Determine the VHT operational channel width (in MHz).
bool SupportsSendFrom(void) const
Ptr< DcaTxop > m_beaconDca
Dedicated DcaTxop for beacons.
uint16_t GetNextAssociationId(void)
The Supported Rates Information ElementThis class knows how to serialise and deserialise the Supporte...
HeOperation GetHeOperation(void) const
Return the HE operation of the current AP.
bool GetUseNonErpProtection(void) const
Return whether protection for non-ERP stations is used in the 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)
base class for all MAC-level wifi objects.
static TypeId GetTypeId(void)
Get the type ID.
void ForwardDown(Ptr< const Packet > packet, Mac48Address from, Mac48Address to)
Forward the packet down to DCF/EDCAF (enqueue the packet).
bool GetRifsMode(void) const
Return whether RIFS is allowed in the BSS.
bool GetShortPreambleEnabled(void) const
Determine whether short preamble should be enabled or not in the BSS.
bool m_enableNonErpProtection
Flag whether protection mechanism is used or not when non-ERP STAs are present within the BSS...
EventId m_beaconEvent
Event to generate one beacon.
HtOperation GetHtOperation(void) const
Return the HT operation of the current AP.
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.
The EDCA Parameter SetThis class knows how to serialise and deserialise the EDCA Parameter Set...
bool IsNonGfHtStasPresent(void) const
Determine whether non-Greenfield HT stations are present or not.
bool GetBeaconGeneration(void) const
Return whether the AP is generating beacons.
Wi-Fi AP state machineHandle association, dis-association and authentication, of STAs within an infra...
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...
SupportedRates GetSupportedRates(void) const
Return an instance of SupportedRates that contains all rates that we support including HT rates...
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)
ErpInformation GetErpInformation(void) const
Return the ERP information of the current AP.
Ptr< UniformRandomVariable > m_beaconJitter
UniformRandomVariable used to randomize the time of the first beacon.
CapabilityInformation GetCapabilities(void) const
Return the Capability information of the current AP.
Time m_beaconInterval
Interval between beacons.
std::list< Mac48Address > m_nonErpStations
List of all non-ERP stations currently associated to the AP.
bool m_enableBeaconJitter
Flag whether the first beacon should be generated at random time.
Time GetBeaconInterval(void) const
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 GetShortSlotTimeEnabled(void) const
Determine whether short slot time should be enabled or not in the BSS.
VhtOperation GetVhtOperation(void) const
Return the VHT operation of the current AP.
a unique identifier for an interface.
void SetBeaconGeneration(bool enable)
Enable or disable beacon generation of the AP.