802.11 PHY layer model More...
#include <wifi-phy.h>
Public Types | |
typedef Callback< void, Ptr < const Packet >, double > | RxErrorCallback |
typedef Callback< void, Ptr < Packet >, double, WifiMode, enum WifiPreamble > | RxOkCallback |
enum | State { IDLE, CCA_BUSY, TX, RX, SWITCHING } |
Public Member Functions | |
WifiPhy () | |
virtual | ~WifiPhy () |
virtual int64_t | AssignStreams (int64_t stream)=0 |
virtual double | CalculateSnr (WifiMode txMode, double ber) const =0 |
virtual void | ConfigureStandard (enum WifiPhyStandard standard)=0 |
virtual uint32_t | GetBssMembershipSelector (uint32_t selector) const =0 |
virtual Ptr< WifiChannel > | GetChannel (void) const =0 |
virtual bool | GetChannelBonding (void) const =0 |
virtual uint16_t | GetChannelNumber () const =0 |
Return current channel number, see SetChannelNumber() More... | |
virtual Time | GetDelayUntilIdle (void)=0 |
virtual uint32_t | GetFrequency (void) const =0 |
virtual bool | GetGreenfield (void) const =0 |
virtual bool | GetGuardInterval (void) const =0 |
virtual Time | GetLastRxStartTime (void) const =0 |
virtual bool | GetLdpc (void) const =0 |
virtual uint8_t | GetMcs (uint8_t mcs) const =0 |
virtual WifiModeList | GetMembershipSelectorModes (uint32_t selector)=0 |
virtual WifiMode | GetMode (uint32_t mode) const =0 |
virtual uint32_t | GetNBssMembershipSelectors (void) const =0 |
virtual uint8_t | GetNMcs (void) const =0 |
virtual uint32_t | GetNModes (void) const =0 |
virtual uint32_t | GetNTxPower (void) const =0 |
virtual uint32_t | GetNumberOfReceiveAntennas (void) const =0 |
virtual uint32_t | GetNumberOfTransmitAntennas (void) const =0 |
virtual Time | GetStateDuration (void)=0 |
virtual bool | GetStbc (void) const =0 |
virtual double | GetTxPowerEnd (void) const =0 |
virtual double | GetTxPowerStart (void) const =0 |
virtual bool | IsStateBusy (void)=0 |
virtual bool | IsStateCcaBusy (void)=0 |
virtual bool | IsStateIdle (void)=0 |
virtual bool | IsStateRx (void)=0 |
virtual bool | IsStateSwitching (void)=0 |
virtual bool | IsStateTx (void)=0 |
virtual WifiMode | McsToWifiMode (uint8_t mcs)=0 |
void | NotifyMonitorSniffRx (Ptr< const Packet > packet, uint16_t channelFreqMhz, uint16_t channelNumber, uint32_t rate, bool isShortPreamble, double signalDbm, double noiseDbm) |
void | NotifyMonitorSniffTx (Ptr< const Packet > packet, uint16_t channelFreqMhz, uint16_t channelNumber, uint32_t rate, bool isShortPreamble, uint8_t txPower) |
void | NotifyRxBegin (Ptr< const Packet > packet) |
void | NotifyRxDrop (Ptr< const Packet > packet) |
void | NotifyRxEnd (Ptr< const Packet > packet) |
void | NotifyTxBegin (Ptr< const Packet > packet) |
void | NotifyTxDrop (Ptr< const Packet > packet) |
void | NotifyTxEnd (Ptr< const Packet > packet) |
virtual void | RegisterListener (WifiPhyListener *listener)=0 |
virtual void | SendPacket (Ptr< const Packet > packet, WifiMode mode, enum WifiPreamble preamble, WifiTxVector txvector)=0 |
virtual void | SetChannelBonding (bool channelbonding)=0 |
virtual void | SetChannelNumber (uint16_t id)=0 |
Set channel number. More... | |
virtual void | SetFrequency (uint32_t freq)=0 |
virtual void | SetGreenfield (bool greenfield)=0 |
virtual void | SetGuardInterval (bool GuardInterval)=0 |
virtual void | SetLdpc (bool Ldpc)=0 |
virtual void | SetNumberOfReceiveAntennas (uint32_t rx)=0 |
virtual void | SetNumberOfTransmitAntennas (uint32_t tx)=0 |
virtual void | SetReceiveErrorCallback (RxErrorCallback callback)=0 |
virtual void | SetReceiveOkCallback (RxOkCallback callback)=0 |
virtual void | SetStbc (bool stbc)=0 |
virtual uint32_t | WifiModeToMcs (WifiMode mode)=0 |
![]() | |
Object () | |
virtual | ~Object () |
void | AggregateObject (Ptr< Object > other) |
void | Dispose (void) |
AggregateIterator | GetAggregateIterator (void) const |
virtual TypeId | GetInstanceTypeId (void) const |
template<typename T > | |
Ptr< T > | GetObject (void) const |
template<typename T > | |
Ptr< T > | GetObject (TypeId tid) const |
void | Initialize (void) |
![]() | |
SimpleRefCount () | |
SimpleRefCount (const SimpleRefCount &o) | |
uint32_t | GetReferenceCount (void) const |
SimpleRefCount & | operator= (const SimpleRefCount &o) |
void | Ref (void) const |
void | Unref (void) const |
![]() | |
virtual | ~ObjectBase () |
void | GetAttribute (std::string name, AttributeValue &value) const |
bool | GetAttributeFailSafe (std::string name, AttributeValue &attribute) const |
void | SetAttribute (std::string name, const AttributeValue &value) |
bool | SetAttributeFailSafe (std::string name, const AttributeValue &value) |
bool | TraceConnect (std::string name, std::string context, const CallbackBase &cb) |
bool | TraceConnectWithoutContext (std::string name, const CallbackBase &cb) |
bool | TraceDisconnect (std::string name, std::string context, const CallbackBase &cb) |
bool | TraceDisconnectWithoutContext (std::string name, const CallbackBase &cb) |
Private Attributes | |
TracedCallback< Ptr< const Packet >, uint16_t, uint16_t, uint32_t, bool, double, double > | m_phyMonitorSniffRxTrace |
TracedCallback< Ptr< const Packet >, uint16_t, uint16_t, uint32_t, bool, uint8_t > | m_phyMonitorSniffTxTrace |
TracedCallback< Ptr< const Packet > > | m_phyRxBeginTrace |
TracedCallback< Ptr< const Packet > > | m_phyRxDropTrace |
TracedCallback< Ptr< const Packet > > | m_phyRxEndTrace |
TracedCallback< Ptr< const Packet > > | m_phyTxBeginTrace |
TracedCallback< Ptr< const Packet > > | m_phyTxDropTrace |
TracedCallback< Ptr< const Packet > > | m_phyTxEndTrace |
Additional Inherited Members | |
![]() | |
Object (const Object &o) | |
virtual void | DoDispose (void) |
virtual void | DoInitialize (void) |
virtual void | NotifyNewAggregate (void) |
![]() | |
void | ConstructSelf (const AttributeConstructionList &attributes) |
virtual void | NotifyConstructionCompleted (void) |
802.11 PHY layer model
ns3::WifiPhy is accessible through the following paths with Config::Set and Config::Connect:
No Attributes are defined for this type.
Definition at line 117 of file wifi-phy.h.
typedef Callback<void,Ptr<const Packet>, double> ns3::WifiPhy::RxErrorCallback |
arg1: packet received unsuccessfully arg2: snr of packet
Definition at line 158 of file wifi-phy.h.
typedef Callback<void,Ptr<Packet>, double, WifiMode, enum WifiPreamble> ns3::WifiPhy::RxOkCallback |
arg1: packet received successfully arg2: snr of packet arg3: mode of packet arg4: type of preamble used for packet.
Definition at line 153 of file wifi-phy.h.
enum ns3::WifiPhy::State |
The state of the PHY layer.
Definition at line 123 of file wifi-phy.h.
ns3::WifiPhy::WifiPhy | ( | ) |
Definition at line 86 of file wifi-phy.cc.
References NS_LOG_FUNCTION.
|
virtual |
Definition at line 91 of file wifi-phy.cc.
References NS_LOG_FUNCTION.
|
pure virtual |
Assign a fixed random variable stream number to the random variables used by this model. Return the number of streams (possibly zero) that have been assigned.
stream | first stream index to use |
Implemented in ns3::YansWifiPhy.
|
pure virtual |
txMode | the transmission mode |
ber | the probability of bit error rate |
Implemented in ns3::YansWifiPhy.
Referenced by ns3::IdealWifiManager::SetupPhy().
|
static |
size | the number of bytes in the packet to send |
txvector | the transmission parameters used for this packet |
preamble | the type of preamble to use for this packet. |
Definition at line 439 of file wifi-phy.cc.
References ns3::WifiTxVector::GetMode(), GetPayloadDurationMicroSeconds(), GetPlcpHeaderDurationMicroSeconds(), GetPlcpHtSigHeaderDurationMicroSeconds(), GetPlcpHtTrainingSymbolDurationMicroSeconds(), and GetPlcpPreambleDurationMicroSeconds().
Referenced by ns3::MacLow::CalculateOverallTxTime(), ns3::MacLow::CalculateTransmissionTime(), ns3::TxDurationTest::CheckTxDuration(), ns3::MacLow::GetAckDuration(), ns3::MacLow::GetBlockAckDuration(), ns3::MacLow::GetCtsDuration(), ns3::MacLow::NotifyNav(), ns3::MacLow::SendCtsToSelf(), ns3::MacLow::SendDataAfterCts(), ns3::MacLow::SendDataPacket(), ns3::YansWifiPhy::SendPacket(), ns3::MacLow::SendRtsForPacket(), ns3::MinstrelWifiManager::SetupPhy(), ns3::MacLow::StartDataTxTimers(), and ns3::YansWifiPhy::StartReceivePacket().
|
pure virtual |
Implemented in ns3::YansWifiPhy.
Referenced by ns3::MeshHelper::CreateInterface(), and ns3::WifiHelper::Install().
|
pure virtual |
Implemented in ns3::YansWifiPhy.
Referenced by ns3::StaWifiMac::GetSupportedRates(), ns3::ApWifiMac::GetSupportedRates(), and ns3::StaWifiMac::Receive().
|
pure virtual |
Implemented in ns3::YansWifiPhy.
Referenced by ns3::WifiNetDevice::DoGetChannel(), and ns3::WifiNetDevice::GetChannel().
|
pure virtual |
channel bonding 40 MHz is supported or not
Implemented in ns3::YansWifiPhy.
|
pure virtual |
Return current channel number, see SetChannelNumber()
Implemented in ns3::YansWifiPhy.
|
pure virtual |
The PHY will never become WifiPhy::IDLE before the delay returned by this method but it could become really idle later.
Implemented in ns3::YansWifiPhy.
|
static |
Definition at line 549 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_UNDEFINED, and ns3::WIFI_MOD_CLASS_DSSS.
Referenced by ns3::YansWifiPhy::Configure80211b(), ns3::YansWifiPhy::Configure80211g(), ns3::YansWifiPhy::Configure80211n(), anonymous_namespace{wifi-phy.cc}::Constructor::Constructor(), and ns3::TxDurationTest::DoRun().
|
static |
Clause 15 rates (DSSS)
Definition at line 506 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_UNDEFINED, and ns3::WIFI_MOD_CLASS_DSSS.
Referenced by ns3::YansWifiPhy::Configure80211b(), ns3::YansWifiPhy::Configure80211g(), ns3::YansWifiPhy::Configure80211n(), anonymous_namespace{wifi-phy.cc}::Constructor::Constructor(), ns3::TxDurationTest::DoRun(), and GetPlcpHeaderMode().
|
static |
Definition at line 519 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_UNDEFINED, and ns3::WIFI_MOD_CLASS_DSSS.
Referenced by ns3::YansWifiPhy::Configure80211b(), ns3::YansWifiPhy::Configure80211g(), ns3::YansWifiPhy::Configure80211n(), anonymous_namespace{wifi-phy.cc}::Constructor::Constructor(), ns3::TxDurationTest::DoRun(), and GetPlcpHeaderMode().
|
static |
Clause 18 rates (HR/DSSS)
Definition at line 536 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_UNDEFINED, and ns3::WIFI_MOD_CLASS_DSSS.
Referenced by ns3::YansWifiPhy::Configure80211b(), ns3::YansWifiPhy::Configure80211g(), ns3::YansWifiPhy::Configure80211n(), anonymous_namespace{wifi-phy.cc}::Constructor::Constructor(), and ns3::TxDurationTest::DoRun().
|
static |
Definition at line 592 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_1_2, and ns3::WIFI_MOD_CLASS_ERP_OFDM.
Referenced by ns3::YansWifiPhy::Configure80211g(), ns3::YansWifiPhy::Configure80211n(), and anonymous_namespace{wifi-phy.cc}::Constructor::Constructor().
|
static |
Definition at line 605 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_3_4, and ns3::WIFI_MOD_CLASS_ERP_OFDM.
Referenced by ns3::YansWifiPhy::Configure80211g(), and anonymous_namespace{wifi-phy.cc}::Constructor::Constructor().
|
static |
Definition at line 618 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_1_2, and ns3::WIFI_MOD_CLASS_ERP_OFDM.
Referenced by ns3::YansWifiPhy::Configure80211g(), ns3::YansWifiPhy::Configure80211n(), and anonymous_namespace{wifi-phy.cc}::Constructor::Constructor().
|
static |
Definition at line 631 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_3_4, and ns3::WIFI_MOD_CLASS_ERP_OFDM.
Referenced by ns3::YansWifiPhy::Configure80211g(), and anonymous_namespace{wifi-phy.cc}::Constructor::Constructor().
|
static |
Definition at line 644 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_2_3, and ns3::WIFI_MOD_CLASS_ERP_OFDM.
Referenced by ns3::YansWifiPhy::Configure80211g(), and anonymous_namespace{wifi-phy.cc}::Constructor::Constructor().
|
static |
Definition at line 657 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_3_4, and ns3::WIFI_MOD_CLASS_ERP_OFDM.
Referenced by ns3::YansWifiPhy::Configure80211g(), anonymous_namespace{wifi-phy.cc}::Constructor::Constructor(), and ns3::TxDurationTest::DoRun().
|
static |
Clause 19.5 rates (ERP-OFDM)
Definition at line 566 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_1_2, and ns3::WIFI_MOD_CLASS_ERP_OFDM.
Referenced by ns3::YansWifiPhy::Configure80211g(), ns3::YansWifiPhy::Configure80211n(), anonymous_namespace{wifi-phy.cc}::Constructor::Constructor(), and GetPlcpHeaderMode().
|
static |
Definition at line 579 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_3_4, and ns3::WIFI_MOD_CLASS_ERP_OFDM.
Referenced by ns3::YansWifiPhy::Configure80211g(), and anonymous_namespace{wifi-phy.cc}::Constructor::Constructor().
|
pure virtual |
Implemented in ns3::YansWifiPhy.
|
pure virtual |
Implemented in ns3::YansWifiPhy.
Referenced by ns3::MacLow::CalculateOverallTxTime(), ns3::MacLow::CalculateTransmissionTime(), ns3::StaWifiMac::GetHtCapabilities(), ns3::ApWifiMac::GetHtCapabilities(), ns3::WifiRemoteStationManager::LookupState(), ns3::MacLow::SendDataAfterCts(), ns3::MacLow::SendDataPacket(), ns3::MacLow::SendRtsForPacket(), and ns3::MacLow::StartDataTxTimers().
|
pure virtual |
Implemented in ns3::YansWifiPhy.
Referenced by ns3::WifiRemoteStationManager::DoGetAckTxGuardInterval(), ns3::WifiRemoteStationManager::DoGetBlockAckTxGuardInterval(), ns3::WifiRemoteStationManager::DoGetCtsToSelfTxVector(), ns3::WifiRemoteStationManager::DoGetCtsTxGuardInterval(), ns3::StaWifiMac::GetHtCapabilities(), ns3::ApWifiMac::GetHtCapabilities(), and ns3::WifiRemoteStationManager::LookupState().
|
pure virtual |
Implemented in ns3::YansWifiPhy.
Referenced by ns3::MacLow::NavCounterResetCtsMissed().
|
pure virtual |
Implemented in ns3::YansWifiPhy.
Referenced by ns3::StaWifiMac::GetHtCapabilities(), and ns3::ApWifiMac::GetHtCapabilities().
|
pure virtual |
Implemented in ns3::YansWifiPhy.
Referenced by ns3::WifiRemoteStationManager::GetControlAnswerMode(), ns3::StaWifiMac::GetHtCapabilities(), ns3::ApWifiMac::GetHtCapabilities(), ns3::StaWifiMac::Receive(), ns3::ApWifiMac::Receive(), and ns3::WifiRemoteStationManager::SetupPhy().
|
pure virtual |
The WifiPhy::GetMembershipSelectorModes() method is used (e.g., by a WifiRemoteStationManager) to determine the set of transmission/reception modes that this WifiPhy(-derived class) can support - a set of WifiMode objects which we call the BssMemebershipSelectorSet, and which is stored as WifiPhy::m_bssMembershipSelectorSet.
This was introduced with 11n
selector | index in array of supported memeberships |
Implemented in ns3::YansWifiPhy.
|
static |
payloadMode | the WifiMode use for the transmission of the payload |
preamble | the type of preamble |
Definition at line 100 of file wifi-phy.cc.
References ns3::WifiMode::GetBandwidth(), GetOfdmRate13_5MbpsBW40MHz(), and GetOfdmRate6_5MbpsBW20MHz().
Referenced by ns3::InterferenceHelper::CalculatePer().
|
pure virtual |
The WifiPhy::GetNModes() and WifiPhy::GetMode() methods are used (e.g., by a WifiRemoteStationManager) to determine the set of transmission/reception modes that this WifiPhy(-derived class) can support - a set of WifiMode objects which we call the DeviceRateSet, and which is stored as WifiPhy::m_deviceRateSet.
It is important to note that the DeviceRateSet is a superset (not necessarily proper) of the OperationalRateSet (which is logically, if not actually, a property of the associated WifiRemoteStationManager), which itself is a superset (again, not necessarily proper) of the BSSBasicRateSet.
mode | index in array of supported modes |
Implemented in ns3::YansWifiPhy.
Referenced by ns3::AdhocWifiMac::Enqueue(), ns3::MeshWifiInterfaceMac::ForwardDown(), ns3::WifiRemoteStationManager::GetControlAnswerMode(), ns3::StaWifiMac::GetSupportedRates(), ns3::MeshWifiInterfaceMac::GetSupportedRates(), ns3::ApWifiMac::GetSupportedRates(), ns3::StaWifiMac::Receive(), ns3::ApWifiMac::Receive(), ns3::MeshWifiInterfaceMac::Receive(), ns3::IdealWifiManager::SetupPhy(), ns3::WifiRemoteStationManager::SetupPhy(), and ns3::MinstrelWifiManager::SetupPhy().
|
pure virtual |
The WifiPhy::NBssMembershipSelectors() and WifiPhy::BssMembershipSelector() methods are used (e.g., by a WifiRemoteStationManager) to determine the set of transmission/reception modes that this WifiPhy(-derived class) can support - a set of WifiMode objects which we call the BssMemebershipSelectorSet, and which is stored as WifiPhy::m_bssMembershipSelectorSet.
This was introduced with 11n
selector | index in array of supported memeberships |
Implemented in ns3::YansWifiPhy.
Referenced by ns3::StaWifiMac::GetSupportedRates(), ns3::ApWifiMac::GetSupportedRates(), and ns3::StaWifiMac::Receive().
|
pure virtual |
The WifiPhy::GetNMcs() and WifiPhy::GetMcs() methods are used (e.g., by a WifiRemoteStationManager) to determine the set of transmission/reception MCS indexes that this WifiPhy(-derived class) can support - a set of Mcs indexes which we call the DeviceMcsSet, and which is stored as WifiPhy::m_deviceMcsSet.
This was introduced with 11n
Mcs | index in array of supported Mcs |
Implemented in ns3::YansWifiPhy.
Referenced by ns3::WifiRemoteStationManager::GetControlAnswerMode(), ns3::StaWifiMac::GetHtCapabilities(), ns3::ApWifiMac::GetHtCapabilities(), ns3::StaWifiMac::Receive(), and ns3::ApWifiMac::Receive().
|
pure virtual |
The WifiPhy::GetNModes() and WifiPhy::GetMode() methods are used (e.g., by a WifiRemoteStationManager) to determine the set of transmission/reception modes that this WifiPhy(-derived class) can support - a set of WifiMode objects which we call the DeviceRateSet, and which is stored as WifiPhy::m_deviceRateSet.
It is important to note that the DeviceRateSet is a superset (not necessarily proper) of the OperationalRateSet (which is logically, if not actually, a property of the associated WifiRemoteStationManager), which itself is a superset (again, not necessarily proper) of the BSSBasicRateSet.
Implemented in ns3::YansWifiPhy.
Referenced by ns3::AdhocWifiMac::Enqueue(), ns3::MeshWifiInterfaceMac::ForwardDown(), ns3::WifiRemoteStationManager::GetControlAnswerMode(), ns3::StaWifiMac::GetSupportedRates(), ns3::MeshWifiInterfaceMac::GetSupportedRates(), ns3::ApWifiMac::GetSupportedRates(), ns3::StaWifiMac::Receive(), ns3::ApWifiMac::Receive(), ns3::MeshWifiInterfaceMac::Receive(), ns3::IdealWifiManager::SetupPhy(), and ns3::MinstrelWifiManager::SetupPhy().
|
pure virtual |
Implemented in ns3::YansWifiPhy.
|
pure virtual |
Implemented in ns3::YansWifiPhy.
|
pure virtual |
Implemented in ns3::YansWifiPhy.
Referenced by ns3::WifiRemoteStationManager::GetNumberOfTransmitAntennas().
|
static |
Definition at line 1325 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_2_3, and ns3::WIFI_MOD_CLASS_HT.
Referenced by anonymous_namespace{wifi-phy.cc}::Constructor::Constructor(), and ns3::YansWifiPhy::McsToWifiMode().
|
static |
Definition at line 1337 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_2_3, and ns3::WIFI_MOD_CLASS_HT.
Referenced by ns3::YansWifiPhy::McsToWifiMode().
|
static |
Definition at line 1349 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_3_4, and ns3::WIFI_MOD_CLASS_HT.
Referenced by anonymous_namespace{wifi-phy.cc}::Constructor::Constructor(), and ns3::YansWifiPhy::McsToWifiMode().
|
static |
Definition at line 700 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_1_2, and ns3::WIFI_MOD_CLASS_OFDM.
Referenced by ns3::YansWifiPhy::Configure80211a(), ns3::YansWifiPhy::ConfigureHolland(), and anonymous_namespace{wifi-phy.cc}::Constructor::Constructor().
|
static |
Definition at line 831 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_1_2, and ns3::WIFI_MOD_CLASS_OFDM.
Referenced by ns3::YansWifiPhy::Configure80211_10Mhz(), and anonymous_namespace{wifi-phy.cc}::Constructor::Constructor().
|
static |
Definition at line 962 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_2_3, and ns3::WIFI_MOD_CLASS_OFDM.
Referenced by ns3::YansWifiPhy::Configure80211_5Mhz(), and anonymous_namespace{wifi-phy.cc}::Constructor::Constructor().
|
static |
Definition at line 1373 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_5_6, and ns3::WIFI_MOD_CLASS_HT.
Referenced by anonymous_namespace{wifi-phy.cc}::Constructor::Constructor(), and ns3::YansWifiPhy::McsToWifiMode().
|
static |
Definition at line 1361 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_3_4, and ns3::WIFI_MOD_CLASS_HT.
Referenced by ns3::YansWifiPhy::McsToWifiMode().
|
static |
Definition at line 1198 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_1_2, and ns3::WIFI_MOD_CLASS_HT.
Referenced by anonymous_namespace{wifi-phy.cc}::Constructor::Constructor(), GetMFPlcpHeaderMode(), and ns3::YansWifiPhy::McsToWifiMode().
|
static |
Definition at line 975 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_3_4, and ns3::WIFI_MOD_CLASS_OFDM.
Referenced by ns3::YansWifiPhy::Configure80211_5Mhz(), and anonymous_namespace{wifi-phy.cc}::Constructor::Constructor().
|
static |
Definition at line 1015 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_1_2, and ns3::WIFI_MOD_CLASS_HT.
Referenced by anonymous_namespace{wifi-phy.cc}::Constructor::Constructor(), ns3::YansWifiPhy::GetMembershipSelectorModes(), GetPlcpHeaderMode(), and ns3::YansWifiPhy::McsToWifiMode().
|
static |
Definition at line 1028 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_1_2, and ns3::WIFI_MOD_CLASS_HT.
Referenced by anonymous_namespace{wifi-phy.cc}::Constructor::Constructor(), and ns3::YansWifiPhy::McsToWifiMode().
|
static |
Definition at line 1386 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_5_6, and ns3::WIFI_MOD_CLASS_HT.
Referenced by ns3::YansWifiPhy::McsToWifiMode().
|
static |
Definition at line 1211 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_1_2, and ns3::WIFI_MOD_CLASS_HT.
Referenced by ns3::YansWifiPhy::McsToWifiMode().
|
static |
Definition at line 713 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_3_4, and ns3::WIFI_MOD_CLASS_OFDM.
Referenced by ns3::YansWifiPhy::Configure80211a(), ns3::YansWifiPhy::ConfigureHolland(), and anonymous_namespace{wifi-phy.cc}::Constructor::Constructor().
|
static |
Definition at line 844 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_3_4, and ns3::WIFI_MOD_CLASS_OFDM.
Referenced by ns3::YansWifiPhy::Configure80211_10Mhz(), and anonymous_namespace{wifi-phy.cc}::Constructor::Constructor().
|
static |
Definition at line 1040 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_3_4, and ns3::WIFI_MOD_CLASS_HT.
Referenced by anonymous_namespace{wifi-phy.cc}::Constructor::Constructor(), ns3::YansWifiPhy::GetMembershipSelectorModes(), and ns3::YansWifiPhy::McsToWifiMode().
|
static |
Definition at line 884 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_1_2, and ns3::WIFI_MOD_CLASS_OFDM.
Referenced by ns3::YansWifiPhy::Configure80211_5Mhz(), anonymous_namespace{wifi-phy.cc}::Constructor::Constructor(), and GetPlcpHeaderMode().
|
static |
Definition at line 1053 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_3_4, and ns3::WIFI_MOD_CLASS_HT.
Referenced by anonymous_namespace{wifi-phy.cc}::Constructor::Constructor(), and ns3::YansWifiPhy::McsToWifiMode().
|
static |
Definition at line 726 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_1_2, and ns3::WIFI_MOD_CLASS_OFDM.
Referenced by ns3::YansWifiPhy::Configure80211a(), and anonymous_namespace{wifi-phy.cc}::Constructor::Constructor().
|
static |
Definition at line 857 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_2_3, and ns3::WIFI_MOD_CLASS_OFDM.
Referenced by ns3::YansWifiPhy::Configure80211_10Mhz(), and anonymous_namespace{wifi-phy.cc}::Constructor::Constructor().
|
static |
Definition at line 1067 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_1_2, and ns3::WIFI_MOD_CLASS_HT.
Referenced by anonymous_namespace{wifi-phy.cc}::Constructor::Constructor(), ns3::YansWifiPhy::GetMembershipSelectorModes(), and ns3::YansWifiPhy::McsToWifiMode().
|
static |
Definition at line 870 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_3_4, and ns3::WIFI_MOD_CLASS_OFDM.
Referenced by ns3::YansWifiPhy::Configure80211_10Mhz(), and anonymous_namespace{wifi-phy.cc}::Constructor::Constructor().
|
static |
Definition at line 1224 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_1_2, and ns3::WIFI_MOD_CLASS_HT.
Referenced by anonymous_namespace{wifi-phy.cc}::Constructor::Constructor(), GetPlcpHeaderMode(), and ns3::YansWifiPhy::McsToWifiMode().
|
static |
Definition at line 1080 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_1_2, and ns3::WIFI_MOD_CLASS_HT.
Referenced by anonymous_namespace{wifi-phy.cc}::Constructor::Constructor(), and ns3::YansWifiPhy::McsToWifiMode().
|
static |
Definition at line 897 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_3_4, and ns3::WIFI_MOD_CLASS_OFDM.
Referenced by ns3::YansWifiPhy::Configure80211_5Mhz(), and anonymous_namespace{wifi-phy.cc}::Constructor::Constructor().
|
static |
Definition at line 1236 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_1_2, and ns3::WIFI_MOD_CLASS_HT.
Referenced by ns3::YansWifiPhy::McsToWifiMode().
|
static |
Definition at line 739 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_3_4, and ns3::WIFI_MOD_CLASS_OFDM.
Referenced by ns3::YansWifiPhy::Configure80211a(), ns3::YansWifiPhy::ConfigureHolland(), and anonymous_namespace{wifi-phy.cc}::Constructor::Constructor().
|
static |
Definition at line 1093 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_3_4, and ns3::WIFI_MOD_CLASS_HT.
Referenced by anonymous_namespace{wifi-phy.cc}::Constructor::Constructor(), ns3::YansWifiPhy::GetMembershipSelectorModes(), and ns3::YansWifiPhy::McsToWifiMode().
|
static |
Definition at line 779 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_1_2, and ns3::WIFI_MOD_CLASS_OFDM.
Referenced by ns3::YansWifiPhy::Configure80211_10Mhz(), anonymous_namespace{wifi-phy.cc}::Constructor::Constructor(), and GetPlcpHeaderMode().
|
static |
Definition at line 910 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_1_2, and ns3::WIFI_MOD_CLASS_OFDM.
Referenced by ns3::YansWifiPhy::Configure80211_5Mhz(), and anonymous_namespace{wifi-phy.cc}::Constructor::Constructor().
|
static |
Definition at line 1249 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_3_4, and ns3::WIFI_MOD_CLASS_HT.
Referenced by anonymous_namespace{wifi-phy.cc}::Constructor::Constructor(), and ns3::YansWifiPhy::McsToWifiMode().
|
static |
Definition at line 1106 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_3_4, and ns3::WIFI_MOD_CLASS_HT.
Referenced by anonymous_namespace{wifi-phy.cc}::Constructor::Constructor(), and ns3::YansWifiPhy::McsToWifiMode().
|
static |
Definition at line 1261 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_3_4, and ns3::WIFI_MOD_CLASS_HT.
Referenced by ns3::YansWifiPhy::McsToWifiMode().
|
static |
Definition at line 752 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_2_3, and ns3::WIFI_MOD_CLASS_OFDM.
Referenced by ns3::YansWifiPhy::Configure80211a(), and anonymous_namespace{wifi-phy.cc}::Constructor::Constructor().
|
static |
Definition at line 792 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_3_4, and ns3::WIFI_MOD_CLASS_OFDM.
Referenced by ns3::YansWifiPhy::Configure80211_10Mhz(), and anonymous_namespace{wifi-phy.cc}::Constructor::Constructor().
|
static |
Definition at line 923 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_3_4, and ns3::WIFI_MOD_CLASS_OFDM.
Referenced by ns3::YansWifiPhy::Configure80211_5Mhz(), and anonymous_namespace{wifi-phy.cc}::Constructor::Constructor().
|
static |
Definition at line 1119 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_2_3, and ns3::WIFI_MOD_CLASS_HT.
Referenced by anonymous_namespace{wifi-phy.cc}::Constructor::Constructor(), ns3::YansWifiPhy::GetMembershipSelectorModes(), and ns3::YansWifiPhy::McsToWifiMode().
|
static |
Definition at line 765 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_3_4, and ns3::WIFI_MOD_CLASS_OFDM.
Referenced by ns3::YansWifiPhy::Configure80211a(), ns3::YansWifiPhy::ConfigureHolland(), anonymous_namespace{wifi-phy.cc}::Constructor::Constructor(), and ns3::TxDurationTest::DoRun().
|
static |
Definition at line 1274 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_1_2, and ns3::WIFI_MOD_CLASS_HT.
Referenced by anonymous_namespace{wifi-phy.cc}::Constructor::Constructor(), and ns3::YansWifiPhy::McsToWifiMode().
|
static |
Definition at line 1132 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_2_3, and ns3::WIFI_MOD_CLASS_HT.
Referenced by anonymous_namespace{wifi-phy.cc}::Constructor::Constructor(), and ns3::YansWifiPhy::McsToWifiMode().
|
static |
Definition at line 1146 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_3_4, and ns3::WIFI_MOD_CLASS_HT.
Referenced by anonymous_namespace{wifi-phy.cc}::Constructor::Constructor(), ns3::YansWifiPhy::GetMembershipSelectorModes(), and ns3::YansWifiPhy::McsToWifiMode().
|
static |
Definition at line 1287 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_1_2, and ns3::WIFI_MOD_CLASS_HT.
Referenced by ns3::YansWifiPhy::McsToWifiMode().
|
static |
Definition at line 1172 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_5_6, and ns3::WIFI_MOD_CLASS_HT.
Referenced by anonymous_namespace{wifi-phy.cc}::Constructor::Constructor(), ns3::TxDurationTest::DoRun(), ns3::YansWifiPhy::GetMembershipSelectorModes(), and ns3::YansWifiPhy::McsToWifiMode().
|
static |
Definition at line 1159 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_3_4, and ns3::WIFI_MOD_CLASS_HT.
Referenced by anonymous_namespace{wifi-phy.cc}::Constructor::Constructor(), ns3::TxDurationTest::DoRun(), and ns3::YansWifiPhy::McsToWifiMode().
|
static |
Definition at line 990 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_1_2, and ns3::WIFI_MOD_CLASS_HT.
Referenced by anonymous_namespace{wifi-phy.cc}::Constructor::Constructor(), ns3::YansWifiPhy::GetMembershipSelectorModes(), GetMFPlcpHeaderMode(), and ns3::YansWifiPhy::McsToWifiMode().
|
static |
Clause 17 rates (OFDM)
Definition at line 674 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_1_2, and ns3::WIFI_MOD_CLASS_OFDM.
Referenced by ns3::YansWifiPhy::Configure80211a(), ns3::YansWifiPhy::ConfigureHolland(), anonymous_namespace{wifi-phy.cc}::Constructor::Constructor(), and GetPlcpHeaderMode().
|
static |
Definition at line 805 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_1_2, and ns3::WIFI_MOD_CLASS_OFDM.
Referenced by ns3::YansWifiPhy::Configure80211_10Mhz(), and anonymous_namespace{wifi-phy.cc}::Constructor::Constructor().
|
static |
Definition at line 936 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_1_2, and ns3::WIFI_MOD_CLASS_OFDM.
Referenced by ns3::YansWifiPhy::Configure80211_5Mhz(), and anonymous_namespace{wifi-phy.cc}::Constructor::Constructor().
|
static |
Definition at line 1185 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_5_6, and ns3::WIFI_MOD_CLASS_HT.
Referenced by anonymous_namespace{wifi-phy.cc}::Constructor::Constructor(), and ns3::YansWifiPhy::McsToWifiMode().
|
static |
Definition at line 1002 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_1_2, and ns3::WIFI_MOD_CLASS_HT.
Referenced by anonymous_namespace{wifi-phy.cc}::Constructor::Constructor(), and ns3::YansWifiPhy::McsToWifiMode().
|
static |
Definition at line 1300 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_3_4, and ns3::WIFI_MOD_CLASS_HT.
Referenced by anonymous_namespace{wifi-phy.cc}::Constructor::Constructor(), and ns3::YansWifiPhy::McsToWifiMode().
|
static |
Definition at line 1312 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_3_4, and ns3::WIFI_MOD_CLASS_HT.
Referenced by ns3::YansWifiPhy::McsToWifiMode().
|
static |
Definition at line 687 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_3_4, and ns3::WIFI_MOD_CLASS_OFDM.
Referenced by ns3::YansWifiPhy::Configure80211a(), and anonymous_namespace{wifi-phy.cc}::Constructor::Constructor().
|
static |
Definition at line 818 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_3_4, and ns3::WIFI_MOD_CLASS_OFDM.
Referenced by ns3::YansWifiPhy::Configure80211_10Mhz(), and anonymous_namespace{wifi-phy.cc}::Constructor::Constructor().
|
static |
Definition at line 949 of file wifi-phy.cc.
References ns3::WifiModeFactory::CreateWifiMode(), ns3::WIFI_CODE_RATE_3_4, and ns3::WIFI_MOD_CLASS_OFDM.
Referenced by ns3::YansWifiPhy::Configure80211_5Mhz(), and anonymous_namespace{wifi-phy.cc}::Constructor::Constructor().
|
static |
size | the number of bytes in the packet to send |
txvector | the transmission parameters used for this packet |
Definition at line 332 of file wifi-phy.cc.
References ns3::WifiMode::GetBandwidth(), ns3::WifiMode::GetDataRate(), ns3::WifiTxVector::GetMode(), ns3::WifiMode::GetModulationClass(), ns3::WifiTxVector::GetNss(), ns3::WifiMode::GetUniqueName(), ns3::WifiTxVector::IsStbc(), NS_FATAL_ERROR, NS_LOG_FUNCTION, NS_LOG_LOGIC, ns3::WIFI_MOD_CLASS_DSSS, ns3::WIFI_MOD_CLASS_ERP_OFDM, ns3::WIFI_MOD_CLASS_HT, and ns3::WIFI_MOD_CLASS_OFDM.
Referenced by CalculateTxDuration(), and ns3::TxDurationTest::CheckPayloadDuration().
|
static |
payloadMode | the WifiMode use for the transmission of the payload |
preamble | the type of preamble |
Definition at line 221 of file wifi-phy.cc.
References ns3::WifiMode::GetBandwidth(), ns3::WifiMode::GetModulationClass(), NS_FATAL_ERROR, ns3::WIFI_MOD_CLASS_DSSS, ns3::WIFI_MOD_CLASS_ERP_OFDM, ns3::WIFI_MOD_CLASS_HT, ns3::WIFI_MOD_CLASS_OFDM, ns3::WIFI_PREAMBLE_HT_GF, ns3::WIFI_PREAMBLE_HT_MF, and ns3::WIFI_PREAMBLE_SHORT.
Referenced by ns3::InterferenceHelper::CalculatePer(), and CalculateTxDuration().
|
static |
payloadMode | the WifiMode use for the transmission of the payload |
preamble | the type of preamble |
Definition at line 148 of file wifi-phy.cc.
References ns3::WifiMode::GetBandwidth(), GetDsssRate1Mbps(), GetDsssRate2Mbps(), GetErpOfdmRate6Mbps(), ns3::WifiMode::GetModulationClass(), GetOfdmRate13MbpsBW20MHz(), GetOfdmRate1_5MbpsBW5MHz(), GetOfdmRate27MbpsBW40MHz(), GetOfdmRate3MbpsBW10MHz(), GetOfdmRate6Mbps(), NS_FATAL_ERROR, ns3::WIFI_MOD_CLASS_DSSS, ns3::WIFI_MOD_CLASS_ERP_OFDM, ns3::WIFI_MOD_CLASS_HT, ns3::WIFI_MOD_CLASS_OFDM, ns3::WIFI_PREAMBLE_HT_GF, ns3::WIFI_PREAMBLE_HT_MF, and ns3::WIFI_PREAMBLE_LONG.
Referenced by ns3::InterferenceHelper::CalculatePer().
|
static |
payloadMode | the WifiMode use for the transmission of the payload |
preamble | the type of preamble |
Definition at line 129 of file wifi-phy.cc.
References ns3::WIFI_PREAMBLE_HT_GF, and ns3::WIFI_PREAMBLE_HT_MF.
Referenced by ns3::InterferenceHelper::CalculatePer(), and CalculateTxDuration().
|
static |
payloadMode | the WifiMode use for the transmission of the payload |
preamble | the type of preamble |
txvector | the transmission parameters used for this packet |
Definition at line 113 of file wifi-phy.cc.
References ns3::WifiTxVector::GetNess(), ns3::WifiTxVector::GetNss(), ns3::WIFI_PREAMBLE_HT_GF, and ns3::WIFI_PREAMBLE_HT_MF.
Referenced by ns3::InterferenceHelper::CalculatePer(), and CalculateTxDuration().
|
static |
payloadMode | the WifiMode use for the transmission of the payload |
preamble | the type of preamble |
Definition at line 284 of file wifi-phy.cc.
References ns3::WifiMode::GetBandwidth(), ns3::WifiMode::GetModulationClass(), NS_FATAL_ERROR, ns3::WIFI_MOD_CLASS_DSSS, ns3::WIFI_MOD_CLASS_ERP_OFDM, ns3::WIFI_MOD_CLASS_HT, ns3::WIFI_MOD_CLASS_OFDM, and ns3::WIFI_PREAMBLE_SHORT.
Referenced by ns3::InterferenceHelper::CalculatePer(), and CalculateTxDuration().
|
pure virtual |
Implemented in ns3::YansWifiPhy.
|
pure virtual |
Implemented in ns3::YansWifiPhy.
Referenced by ns3::WifiRemoteStationManager::DoGetAckTxStbc(), ns3::WifiRemoteStationManager::DoGetBlockAckTxStbc(), and ns3::WifiRemoteStationManager::DoGetCtsTxStbc().
|
pure virtual |
Implemented in ns3::YansWifiPhy.
|
pure virtual |
Implemented in ns3::YansWifiPhy.
|
static |
Definition at line 54 of file wifi-phy.cc.
References m_phyMonitorSniffRxTrace, m_phyMonitorSniffTxTrace, m_phyRxBeginTrace, m_phyRxDropTrace, m_phyRxEndTrace, m_phyTxBeginTrace, m_phyTxDropTrace, m_phyTxEndTrace, ns3::MakeTraceSourceAccessor(), and ns3::TypeId::SetParent().
|
pure virtual |
Implemented in ns3::YansWifiPhy.
|
pure virtual |
Implemented in ns3::YansWifiPhy.
|
pure virtual |
Implemented in ns3::YansWifiPhy.
Referenced by ns3::MacLow::FastAckTimeout(), and ns3::MacLow::SuperFastAckTimeout().
|
pure virtual |
Implemented in ns3::YansWifiPhy.
|
pure virtual |
Implemented in ns3::YansWifiPhy.
|
pure virtual |
Implemented in ns3::YansWifiPhy.
Referenced by ns3::MacLow::StartTransmission().
|
pure virtual |
Implemented in ns3::YansWifiPhy.
Referenced by ns3::WifiRemoteStationManager::GetControlAnswerMode().
void ns3::WifiPhy::NotifyMonitorSniffRx | ( | Ptr< const Packet > | packet, |
uint16_t | channelFreqMhz, | ||
uint16_t | channelNumber, | ||
uint32_t | rate, | ||
bool | isShortPreamble, | ||
double | signalDbm, | ||
double | noiseDbm | ||
) |
Public method used to fire a MonitorSniffer trace for a wifi packet being received. Implemented for encapsulation purposes.
packet | the packet being received |
channelFreqMhz | the frequency in MHz at which the packet is received. Note that in real devices this is normally the frequency to which the receiver is tuned, and this can be different than the frequency at which the packet was originally transmitted. This is because it is possible to have the receiver tuned on a given channel and still to be able to receive packets on a nearby channel. |
channelNumber | the channel on which the packet is received |
rate | the PHY data rate in units of 500kbps (i.e., the same units used both for the radiotap and for the prism header) |
isShortPreamble | true if short preamble is used, false otherwise |
signalDbm | signal power in dBm |
noiseDbm | noise power in dBm |
Definition at line 489 of file wifi-phy.cc.
References m_phyMonitorSniffRxTrace.
Referenced by ns3::YansWifiPhy::EndReceive().
void ns3::WifiPhy::NotifyMonitorSniffTx | ( | Ptr< const Packet > | packet, |
uint16_t | channelFreqMhz, | ||
uint16_t | channelNumber, | ||
uint32_t | rate, | ||
bool | isShortPreamble, | ||
uint8_t | txPower | ||
) |
Public method used to fire a MonitorSniffer trace for a wifi packet being transmitted. Implemented for encapsulation purposes.
packet | the packet being transmitted |
channelFreqMhz | the frequency in MHz at which the packet is transmitted. |
channelNumber | the channel on which the packet is transmitted |
rate | the PHY data rate in units of 500kbps (i.e., the same units used both for the radiotap and for the prism header) |
isShortPreamble | true if short preamble is used, false otherwise |
Definition at line 495 of file wifi-phy.cc.
References m_phyMonitorSniffTxTrace.
Referenced by ns3::YansWifiPhy::SendPacket().
Public method used to fire a PhyRxBegin trace. Implemented for encapsulation purposes.
Definition at line 471 of file wifi-phy.cc.
References m_phyRxBeginTrace.
Referenced by ns3::YansWifiPhy::StartReceivePacket().
Public method used to fire a PhyRxDrop trace. Implemented for encapsulation purposes.
Definition at line 483 of file wifi-phy.cc.
References m_phyRxDropTrace.
Referenced by ns3::YansWifiPhy::EndReceive(), and ns3::YansWifiPhy::StartReceivePacket().
Public method used to fire a PhyRxEnd trace. Implemented for encapsulation purposes.
Definition at line 477 of file wifi-phy.cc.
References m_phyRxEndTrace.
Referenced by ns3::YansWifiPhy::EndReceive().
Public method used to fire a PhyTxBegin trace. Implemented for encapsulation purposes.
Definition at line 453 of file wifi-phy.cc.
References m_phyTxBeginTrace.
Referenced by ns3::YansWifiPhy::SendPacket().
Public method used to fire a PhyTxDrop trace. Implemented for encapsulation purposes.
Definition at line 465 of file wifi-phy.cc.
References m_phyTxDropTrace.
Public method used to fire a PhyTxEnd trace. Implemented for encapsulation purposes.
Definition at line 459 of file wifi-phy.cc.
References m_phyTxEndTrace.
|
pure virtual |
listener | the new listener |
Add the input listener to the list of objects to be notified of PHY-level events.
Implemented in ns3::YansWifiPhy.
Referenced by ns3::DcfManager::SetupPhyListener(), and ns3::MacLow::SetupPhyMacLowListener().
|
pure virtual |
packet | the packet to send |
mode | the transmission mode to use to send this packet |
preamble | the type of preamble to use to send this packet. |
txvector | the txvector that has tx parameters as txPowerLevel a power level to use to send this packet. The real transmission power is calculated as txPowerMin + txPowerLevel * (txPowerMax - txPowerMin) / nTxLevels |
Implemented in ns3::YansWifiPhy.
Referenced by ns3::MacLow::ForwardDown().
|
pure virtual |
Implemented in ns3::YansWifiPhy.
|
pure virtual |
Set channel number.
Channel center frequency = Channel starting frequency + 5 MHz * (nch - 1)
where Starting channel frequency is standard-dependent, see SetStandard() as defined in IEEE 802.11-2007 17.3.8.3.2.
Implemented in ns3::YansWifiPhy.
Referenced by ns3::InterferenceHelperSequenceTest::SwitchCh().
|
pure virtual |
the | operating frequency on this node. |
Implemented in ns3::YansWifiPhy.
|
pure virtual |
GreenField is supported or not
Implemented in ns3::YansWifiPhy.
|
pure virtual |
short guard interval is supported or not
Implemented in ns3::YansWifiPhy.
|
pure virtual |
LDPC is supported or not
Implemented in ns3::YansWifiPhy.
|
pure virtual |
the | number of recievers on this node. |
Implemented in ns3::YansWifiPhy.
|
pure virtual |
the | number of transmitters on this node. |
Implemented in ns3::YansWifiPhy.
|
pure virtual |
callback | the callback to invoke upon erroneous packet reception. |
Implemented in ns3::YansWifiPhy.
Referenced by ns3::MacLow::SetPhy().
|
pure virtual |
callback | the callback to invoke upon successful packet reception. |
Implemented in ns3::YansWifiPhy.
Referenced by ns3::MacLow::SetPhy().
|
pure virtual |
STBC is supported or not
Implemented in ns3::YansWifiPhy.
|
pure virtual |
Implemented in ns3::YansWifiPhy.
Referenced by ns3::WifiRemoteStationManager::NeedCtsToSelf().
|
private |
A trace source that emulates a wifi device in monitor mode sniffing a packet being received.
As a reference with the real world, firing this trace corresponds in the madwifi driver to calling the function ieee80211_input_monitor()
Definition at line 691 of file wifi-phy.h.
Referenced by GetTypeId(), and NotifyMonitorSniffRx().
|
private |
A trace source that emulates a wifi device in monitor mode sniffing a packet being transmitted.
As a reference with the real world, firing this trace corresponds in the madwifi driver to calling the function ieee80211_input_monitor()
Definition at line 703 of file wifi-phy.h.
Referenced by GetTypeId(), and NotifyMonitorSniffTx().
|
private |
The trace source fired when a packet begins the reception process from the medium.
Definition at line 664 of file wifi-phy.h.
Referenced by GetTypeId(), and NotifyRxBegin().
|
private |
The trace source fired when the phy layer drops a packet it has received.
Definition at line 679 of file wifi-phy.h.
Referenced by GetTypeId(), and NotifyRxDrop().
|
private |
The trace source fired when a packet ends the reception process from the medium.
Definition at line 672 of file wifi-phy.h.
Referenced by GetTypeId(), and NotifyRxEnd().
|
private |
The trace source fired when a packet begins the transmission process on the medium.
Definition at line 640 of file wifi-phy.h.
Referenced by GetTypeId(), and NotifyTxBegin().
|
private |
The trace source fired when the phy layer drops a packet as it tries to transmit it.
Definition at line 656 of file wifi-phy.h.
Referenced by GetTypeId(), and NotifyTxDrop().
|
private |
The trace source fired when a packet ends the transmission process on the medium.
Definition at line 648 of file wifi-phy.h.
Referenced by GetTypeId(), and NotifyTxEnd().