802.11 PHY layer modelThis PHY implements a model of 802.11a. The model implemented here is based on the model described in "Yet Another Network Simulator", (http://cutebugs.net/files/wns2-yans.pdf). More...
#include <yans-wifi-phy.h>
Public Member Functions | |
YansWifiPhy () | |
virtual | ~YansWifiPhy () |
int64_t | AssignStreams (int64_t stream) |
virtual double | CalculateSnr (WifiMode txMode, double ber) const |
virtual void | ConfigureStandard (enum WifiPhyStandard standard) |
virtual uint32_t | GetBssMembershipSelector (uint32_t selector) const |
double | GetCcaMode1Threshold (void) const |
virtual Ptr< WifiChannel > | GetChannel (void) const |
virtual bool | GetChannelBonding (void) const |
double | GetChannelFrequencyMhz () const |
Return current center channel frequency in MHz, see SetChannelNumber() | |
uint16_t | GetChannelNumber () const |
Return current channel number, see SetChannelNumber() | |
virtual Time | GetDelayUntilIdle (void) |
Ptr< Object > | GetDevice (void) const |
double | GetEdThreshold (void) const |
Ptr< ErrorRateModel > | GetErrorRateModel (void) const |
virtual uint32_t | GetFrequency (void) const |
virtual bool | GetGreenfield (void) const |
virtual bool | GetGuardInterval (void) const |
virtual Time | GetLastRxStartTime (void) const |
virtual bool | GetLdpc (void) const |
virtual uint8_t | GetMcs (uint8_t mcs) const |
virtual WifiModeList | GetMembershipSelectorModes (uint32_t selector) |
Ptr< Object > | GetMobility (void) |
virtual WifiMode | GetMode (uint32_t mode) const |
virtual uint32_t | GetNBssMembershipSelectors (void) const |
virtual uint8_t | GetNMcs (void) const |
virtual uint32_t | GetNModes (void) const |
virtual uint32_t | GetNTxPower (void) const |
virtual uint32_t | GetNumberOfReceiveAntennas (void) const |
virtual uint32_t | GetNumberOfTransmitAntennas (void) const |
double | GetRxGain (void) const |
double | GetRxNoiseFigure (void) const |
virtual Time | GetStateDuration (void) |
virtual bool | GetStbc (void) const |
double | GetTxGain (void) const |
virtual double | GetTxPowerEnd (void) const |
virtual double | GetTxPowerStart (void) const |
virtual bool | IsStateBusy (void) |
virtual bool | IsStateCcaBusy (void) |
virtual bool | IsStateIdle (void) |
virtual bool | IsStateRx (void) |
virtual bool | IsStateSwitching (void) |
virtual bool | IsStateTx (void) |
virtual WifiMode | McsToWifiMode (uint8_t mcs) |
virtual void | RegisterListener (WifiPhyListener *listener) |
virtual void | SendPacket (Ptr< const Packet > packet, WifiMode mode, enum WifiPreamble preamble, WifiTxVector txvector) |
void | SetCcaMode1Threshold (double threshold) |
void | SetChannel (Ptr< YansWifiChannel > channel) |
virtual void | SetChannelBonding (bool channelbonding) |
void | SetChannelNumber (uint16_t id) |
Set channel number. | |
void | SetDevice (Ptr< Object > device) |
void | SetEdThreshold (double threshold) |
void | SetErrorRateModel (Ptr< ErrorRateModel > rate) |
virtual void | SetFrequency (uint32_t freq) |
virtual void | SetGreenfield (bool greenfield) |
virtual void | SetGuardInterval (bool GuardInterval) |
virtual void | SetLdpc (bool Ldpc) |
void | SetMobility (Ptr< Object > mobility) |
void | SetNTxPower (uint32_t n) |
virtual void | SetNumberOfReceiveAntennas (uint32_t rx) |
virtual void | SetNumberOfTransmitAntennas (uint32_t tx) |
virtual void | SetReceiveErrorCallback (WifiPhy::RxErrorCallback callback) |
virtual void | SetReceiveOkCallback (WifiPhy::RxOkCallback callback) |
void | SetRxGain (double gain) |
void | SetRxNoiseFigure (double noiseFigureDb) |
virtual void | SetStbc (bool stbc) |
void | SetTxGain (double gain) |
void | SetTxPowerEnd (double end) |
void | SetTxPowerStart (double start) |
void | StartReceivePacket (Ptr< Packet > packet, double rxPowerDbm, WifiTxVector txVector, WifiPreamble preamble) |
virtual uint32_t | WifiModeToMcs (WifiMode mode) |
![]() | |
WifiPhy () | |
virtual | ~WifiPhy () |
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) |
![]() | |
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 Member Functions | |
YansWifiPhy (const YansWifiPhy &o) | |
void | Configure80211_10Mhz (void) |
void | Configure80211_5Mhz () |
void | Configure80211a (void) |
void | Configure80211b (void) |
void | Configure80211g (void) |
void | Configure80211n (void) |
void | Configure80211p_CCH (void) |
void | Configure80211p_SCH (void) |
void | ConfigureHolland (void) |
double | DbmToW (double dbm) const |
double | DbToRatio (double db) const |
virtual void | DoDispose (void) |
void | EndReceive (Ptr< Packet > packet, Ptr< InterferenceHelper::Event > event) |
double | GetEdThresholdW (void) const |
double | GetPowerDbm (uint8_t power) const |
double | RatioToDb (double ratio) const |
double | WToDbm (double w) const |
Private Attributes | |
std::vector< uint32_t > | m_bssMembershipSelectorSet |
double | m_ccaMode1ThresholdW |
Ptr< YansWifiChannel > | m_channel |
bool | m_channelBonding |
uint16_t | m_channelNumber |
double | m_channelStartingFrequency |
Standard-dependent center frequency of 0-th channel, MHz. | |
Time | m_channelSwitchDelay |
Ptr< Object > | m_device |
std::vector< uint8_t > | m_deviceMcsSet |
WifiModeList | m_deviceRateSet |
double | m_edThresholdW |
EventId | m_endRxEvent |
bool | m_greenfield |
bool | m_guardInterval |
InterferenceHelper | m_interference |
bool | m_ldpc |
Ptr< Object > | m_mobility |
uint32_t | m_nTxPower |
uint32_t | m_numberOfReceivers |
uint32_t | m_numberOfTransmitters |
Ptr< UniformRandomVariable > | m_random |
Provides uniform random variables. | |
double | m_rxGainDb |
Ptr< WifiPhyStateHelper > | m_state |
bool | m_stbc |
double | m_txGainDb |
double | m_txPowerBaseDbm |
double | m_txPowerEndDbm |
Additional Inherited Members | |
![]() | |
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 } |
![]() | |
Object (const Object &o) | |
virtual void | DoDispose (void) |
virtual void | DoInitialize (void) |
virtual void | NotifyNewAggregate (void) |
802.11 PHY layer model
This PHY implements a model of 802.11a. The model implemented here is based on the model described in "Yet Another Network Simulator", (http://cutebugs.net/files/wns2-yans.pdf).
This PHY model depends on a channel loss and delay model as provided by the ns3::PropagationLossModel and ns3::PropagationDelayModel classes, both of which are members of the ns3::YansWifiChannel class.
ns3::YansWifiPhy is accessible through the following paths with Config::Set and Config::Connect:
No TraceSources are defined for this type.
Definition at line 64 of file yans-wifi-phy.h.
ns3::YansWifiPhy::YansWifiPhy | ( | ) |
Definition at line 170 of file yans-wifi-phy.cc.
References m_random, m_state, and NS_LOG_FUNCTION.
|
virtual |
Definition at line 180 of file yans-wifi-phy.cc.
References NS_LOG_FUNCTION.
|
private |
|
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 |
Implements ns3::WifiPhy.
Definition at line 856 of file yans-wifi-phy.cc.
References m_random, NS_LOG_FUNCTION, and ns3::RandomVariableStream::SetStream().
|
virtual |
txMode | the transmission mode |
ber | the probability of bit error rate |
Implements ns3::WifiPhy.
Definition at line 362 of file yans-wifi-phy.cc.
References ns3::ErrorRateModel::CalculateSnr(), ns3::InterferenceHelper::GetErrorRateModel(), and m_interference.
|
private |
Definition at line 644 of file yans-wifi-phy.cc.
References ns3::WifiPhy::GetOfdmRate12MbpsBW10MHz(), ns3::WifiPhy::GetOfdmRate18MbpsBW10MHz(), ns3::WifiPhy::GetOfdmRate24MbpsBW10MHz(), ns3::WifiPhy::GetOfdmRate27MbpsBW10MHz(), ns3::WifiPhy::GetOfdmRate3MbpsBW10MHz(), ns3::WifiPhy::GetOfdmRate4_5MbpsBW10MHz(), ns3::WifiPhy::GetOfdmRate6MbpsBW10MHz(), ns3::WifiPhy::GetOfdmRate9MbpsBW10MHz(), m_channelStartingFrequency, m_deviceRateSet, and NS_LOG_FUNCTION.
Referenced by ConfigureStandard().
|
private |
Definition at line 660 of file yans-wifi-phy.cc.
References ns3::WifiPhy::GetOfdmRate12MbpsBW5MHz(), ns3::WifiPhy::GetOfdmRate13_5MbpsBW5MHz(), ns3::WifiPhy::GetOfdmRate1_5MbpsBW5MHz(), ns3::WifiPhy::GetOfdmRate2_25MbpsBW5MHz(), ns3::WifiPhy::GetOfdmRate3MbpsBW5MHz(), ns3::WifiPhy::GetOfdmRate4_5MbpsBW5MHz(), ns3::WifiPhy::GetOfdmRate6MbpsBW5MHz(), ns3::WifiPhy::GetOfdmRate9MbpsBW5MHz(), m_channelStartingFrequency, m_deviceRateSet, and NS_LOG_FUNCTION.
Referenced by ConfigureStandard().
|
private |
Definition at line 595 of file yans-wifi-phy.cc.
References ns3::WifiPhy::GetOfdmRate12Mbps(), ns3::WifiPhy::GetOfdmRate18Mbps(), ns3::WifiPhy::GetOfdmRate24Mbps(), ns3::WifiPhy::GetOfdmRate36Mbps(), ns3::WifiPhy::GetOfdmRate48Mbps(), ns3::WifiPhy::GetOfdmRate54Mbps(), ns3::WifiPhy::GetOfdmRate6Mbps(), ns3::WifiPhy::GetOfdmRate9Mbps(), m_channelStartingFrequency, m_deviceRateSet, and NS_LOG_FUNCTION.
Referenced by ConfigureStandard().
|
private |
Definition at line 612 of file yans-wifi-phy.cc.
References ns3::WifiPhy::GetDsssRate11Mbps(), ns3::WifiPhy::GetDsssRate1Mbps(), ns3::WifiPhy::GetDsssRate2Mbps(), ns3::WifiPhy::GetDsssRate5_5Mbps(), m_channelStartingFrequency, m_deviceRateSet, and NS_LOG_FUNCTION.
Referenced by ConfigureStandard().
|
private |
Definition at line 624 of file yans-wifi-phy.cc.
References ns3::WifiPhy::GetDsssRate11Mbps(), ns3::WifiPhy::GetDsssRate1Mbps(), ns3::WifiPhy::GetDsssRate2Mbps(), ns3::WifiPhy::GetDsssRate5_5Mbps(), ns3::WifiPhy::GetErpOfdmRate12Mbps(), ns3::WifiPhy::GetErpOfdmRate18Mbps(), ns3::WifiPhy::GetErpOfdmRate24Mbps(), ns3::WifiPhy::GetErpOfdmRate36Mbps(), ns3::WifiPhy::GetErpOfdmRate48Mbps(), ns3::WifiPhy::GetErpOfdmRate54Mbps(), ns3::WifiPhy::GetErpOfdmRate6Mbps(), ns3::WifiPhy::GetErpOfdmRate9Mbps(), m_channelStartingFrequency, m_deviceRateSet, and NS_LOG_FUNCTION.
Referenced by ConfigureStandard().
|
private |
Definition at line 955 of file yans-wifi-phy.cc.
References ns3::WifiPhy::GetDsssRate11Mbps(), ns3::WifiPhy::GetDsssRate1Mbps(), ns3::WifiPhy::GetDsssRate2Mbps(), ns3::WifiPhy::GetDsssRate5_5Mbps(), ns3::WifiPhy::GetErpOfdmRate12Mbps(), ns3::WifiPhy::GetErpOfdmRate24Mbps(), ns3::WifiPhy::GetErpOfdmRate6Mbps(), HT_PHY, m_bssMembershipSelectorSet, m_deviceMcsSet, m_deviceRateSet, and NS_LOG_FUNCTION.
Referenced by ConfigureStandard().
|
private |
Definition at line 688 of file yans-wifi-phy.cc.
References ns3::WifiPhy::GetOfdmRate12MbpsBW10MHz(), ns3::WifiPhy::GetOfdmRate18MbpsBW10MHz(), ns3::WifiPhy::GetOfdmRate24MbpsBW10MHz(), ns3::WifiPhy::GetOfdmRate27MbpsBW10MHz(), ns3::WifiPhy::GetOfdmRate3MbpsBW10MHz(), ns3::WifiPhy::GetOfdmRate4_5MbpsBW10MHz(), ns3::WifiPhy::GetOfdmRate6MbpsBW10MHz(), ns3::WifiPhy::GetOfdmRate9MbpsBW10MHz(), m_channelStartingFrequency, m_deviceRateSet, and NS_LOG_FUNCTION.
Referenced by ConfigureStandard().
|
private |
Definition at line 704 of file yans-wifi-phy.cc.
References ns3::WifiPhy::GetOfdmRate12MbpsBW10MHz(), ns3::WifiPhy::GetOfdmRate18MbpsBW10MHz(), ns3::WifiPhy::GetOfdmRate24MbpsBW10MHz(), ns3::WifiPhy::GetOfdmRate27MbpsBW10MHz(), ns3::WifiPhy::GetOfdmRate3MbpsBW10MHz(), ns3::WifiPhy::GetOfdmRate4_5MbpsBW10MHz(), ns3::WifiPhy::GetOfdmRate6MbpsBW10MHz(), ns3::WifiPhy::GetOfdmRate9MbpsBW10MHz(), m_channelStartingFrequency, m_deviceRateSet, and NS_LOG_FUNCTION.
Referenced by ConfigureStandard().
|
private |
Definition at line 676 of file yans-wifi-phy.cc.
References ns3::WifiPhy::GetOfdmRate12Mbps(), ns3::WifiPhy::GetOfdmRate18Mbps(), ns3::WifiPhy::GetOfdmRate36Mbps(), ns3::WifiPhy::GetOfdmRate54Mbps(), ns3::WifiPhy::GetOfdmRate6Mbps(), m_channelStartingFrequency, m_deviceRateSet, and NS_LOG_FUNCTION.
Referenced by ConfigureStandard().
|
virtual |
Implements ns3::WifiPhy.
Definition at line 198 of file yans-wifi-phy.cc.
References Configure80211_10Mhz(), Configure80211_5Mhz(), Configure80211a(), Configure80211b(), Configure80211g(), Configure80211n(), Configure80211p_CCH(), Configure80211p_SCH(), ConfigureHolland(), m_channelStartingFrequency, NS_ASSERT, NS_LOG_FUNCTION, ns3::WIFI_PHY_STANDARD_80211_10MHZ, ns3::WIFI_PHY_STANDARD_80211_5MHZ, ns3::WIFI_PHY_STANDARD_80211a, ns3::WIFI_PHY_STANDARD_80211b, ns3::WIFI_PHY_STANDARD_80211g, ns3::WIFI_PHY_STANDARD_80211n_2_4GHZ, ns3::WIFI_PHY_STANDARD_80211n_5GHZ, ns3::WIFI_PHY_STANDARD_80211p_CCH, ns3::WIFI_PHY_STANDARD_80211p_SCH, and ns3::WIFI_PHY_STANDARD_holland.
|
private |
Definition at line 782 of file yans-wifi-phy.cc.
Referenced by SetCcaMode1Threshold(), SetEdThreshold(), and StartReceivePacket().
|
private |
Definition at line 775 of file yans-wifi-phy.cc.
Referenced by SetRxNoiseFigure().
|
privatevirtual |
Definition at line 186 of file yans-wifi-phy.cc.
References m_channel, m_device, m_deviceMcsSet, m_deviceRateSet, m_mobility, m_state, and NS_LOG_FUNCTION.
|
private |
Definition at line 825 of file yans-wifi-phy.cc.
References ns3::InterferenceHelper::CalculateSnrPer(), GetChannelFrequencyMhz(), GetChannelNumber(), GetRxNoiseFigure(), ns3::Packet::GetSize(), ns3::UniformRandomVariable::GetValue(), IsStateRx(), m_interference, m_random, m_state, ns3::WifiPhy::NotifyMonitorSniffRx(), ns3::WifiPhy::NotifyRxDrop(), ns3::InterferenceHelper::NotifyRxEnd(), ns3::WifiPhy::NotifyRxEnd(), ns3::Now(), NS_ASSERT, NS_LOG_DEBUG, NS_LOG_FUNCTION, RatioToDb(), ns3::WifiPhyStateHelper::SwitchFromRxEndError(), ns3::WifiPhyStateHelper::SwitchFromRxEndOk(), and ns3::WIFI_PREAMBLE_SHORT.
Referenced by StartReceivePacket().
|
virtual |
Implements ns3::WifiPhy.
Definition at line 978 of file yans-wifi-phy.cc.
References m_bssMembershipSelectorSet.
Referenced by GetMembershipSelectorModes().
double ns3::YansWifiPhy::GetCcaMode1Threshold | ( | void | ) | const |
Definition at line 340 of file yans-wifi-phy.cc.
References m_ccaMode1ThresholdW, and WToDbm().
Referenced by GetTypeId().
|
virtual |
|
virtual |
sets | channel bonding is supported or not |
Implements ns3::WifiPhy.
Definition at line 943 of file yans-wifi-phy.cc.
References m_channelBonding.
Referenced by GetTypeId(), and McsToWifiMode().
double ns3::YansWifiPhy::GetChannelFrequencyMhz | ( | ) | const |
Return current center channel frequency in MHz, see SetChannelNumber()
Definition at line 435 of file yans-wifi-phy.cc.
References GetChannelNumber(), and m_channelStartingFrequency.
Referenced by EndReceive(), and SendPacket().
|
virtual |
Return current channel number, see SetChannelNumber()
Implements ns3::WifiPhy.
Definition at line 429 of file yans-wifi-phy.cc.
References m_channelNumber.
Referenced by EndReceive(), GetChannelFrequencyMhz(), ns3::MeshWifiInterfaceMac::GetFrequencyChannel(), GetTypeId(), ns3::YansWifiChannel::Send(), and SendPacket().
|
virtual |
The PHY will never become WifiPhy::IDLE before the delay returned by this method but it could become really idle later.
Implements ns3::WifiPhy.
Definition at line 763 of file yans-wifi-phy.cc.
References ns3::WifiPhyStateHelper::GetDelayUntilIdle(), and m_state.
Referenced by SetChannelNumber().
Definition at line 351 of file yans-wifi-phy.cc.
References m_device.
double ns3::YansWifiPhy::GetEdThreshold | ( | void | ) | const |
Definition at line 334 of file yans-wifi-phy.cc.
References m_edThresholdW, and WToDbm().
Referenced by GetTypeId().
|
private |
Definition at line 801 of file yans-wifi-phy.cc.
References m_edThresholdW.
Ptr< ErrorRateModel > ns3::YansWifiPhy::GetErrorRateModel | ( | void | ) | const |
Definition at line 346 of file yans-wifi-phy.cc.
References ns3::InterferenceHelper::GetErrorRateModel(), and m_interference.
|
virtual |
Implements ns3::WifiPhy.
Definition at line 909 of file yans-wifi-phy.cc.
References m_channelStartingFrequency.
Referenced by GetTypeId().
|
virtual |
Implements ns3::WifiPhy.
Definition at line 937 of file yans-wifi-phy.cc.
References m_greenfield.
Referenced by GetTypeId().
|
virtual |
Implements ns3::WifiPhy.
Definition at line 898 of file yans-wifi-phy.cc.
References m_guardInterval.
Referenced by GetTypeId(), and McsToWifiMode().
|
virtual |
Implements ns3::WifiPhy.
Definition at line 769 of file yans-wifi-phy.cc.
References ns3::WifiPhyStateHelper::GetLastRxStartTime(), and m_state.
|
virtual |
Implements ns3::WifiPhy.
Definition at line 926 of file yans-wifi-phy.cc.
References m_ldpc.
Referenced by GetTypeId().
|
virtual |
Implements ns3::WifiPhy.
Definition at line 1007 of file yans-wifi-phy.cc.
References m_deviceMcsSet.
|
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 |
Implements ns3::WifiPhy.
Definition at line 983 of file yans-wifi-phy.cc.
References GetBssMembershipSelector(), ns3::WifiPhy::GetOfdmRate13MbpsBW20MHz(), ns3::WifiPhy::GetOfdmRate19_5MbpsBW20MHz(), ns3::WifiPhy::GetOfdmRate26MbpsBW20MHz(), ns3::WifiPhy::GetOfdmRate39MbpsBW20MHz(), ns3::WifiPhy::GetOfdmRate52MbpsBW20MHz(), ns3::WifiPhy::GetOfdmRate58_5MbpsBW20MHz(), ns3::WifiPhy::GetOfdmRate65MbpsBW20MHz(), ns3::WifiPhy::GetOfdmRate6_5MbpsBW20MHz(), and HT_PHY.
Definition at line 356 of file yans-wifi-phy.cc.
References m_mobility.
Referenced by ns3::YansWifiChannel::Send().
|
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 |
Implements ns3::WifiPhy.
Definition at line 584 of file yans-wifi-phy.cc.
References m_deviceRateSet.
|
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 |
Implements ns3::WifiPhy.
Definition at line 973 of file yans-wifi-phy.cc.
References m_bssMembershipSelectorSet.
|
virtual |
Implements ns3::WifiPhy.
Definition at line 1002 of file yans-wifi-phy.cc.
References m_deviceMcsSet.
|
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.
Implements ns3::WifiPhy.
Definition at line 579 of file yans-wifi-phy.cc.
References m_deviceRateSet.
|
virtual |
Implements ns3::WifiPhy.
Definition at line 589 of file yans-wifi-phy.cc.
References m_nTxPower.
|
virtual |
Implements ns3::WifiPhy.
Definition at line 920 of file yans-wifi-phy.cc.
References m_numberOfReceivers.
Referenced by GetTypeId().
|
virtual |
Implements ns3::WifiPhy.
Definition at line 915 of file yans-wifi-phy.cc.
References m_numberOfTransmitters.
Referenced by GetTypeId().
|
private |
Definition at line 807 of file yans-wifi-phy.cc.
References m_nTxPower, m_txPowerBaseDbm, m_txPowerEndDbm, NS_ASSERT, and NS_ASSERT_MSG.
Referenced by SendPacket().
double ns3::YansWifiPhy::GetRxGain | ( | void | ) | const |
Definition at line 328 of file yans-wifi-phy.cc.
References m_rxGainDb.
Referenced by GetTypeId().
double ns3::YansWifiPhy::GetRxNoiseFigure | ( | void | ) | const |
Definition at line 308 of file yans-wifi-phy.cc.
References ns3::InterferenceHelper::GetNoiseFigure(), m_interference, and RatioToDb().
Referenced by EndReceive(), and GetTypeId().
|
virtual |
Implements ns3::WifiPhy.
Definition at line 758 of file yans-wifi-phy.cc.
References ns3::WifiPhyStateHelper::GetStateDuration(), and m_state.
|
virtual |
Implements ns3::WifiPhy.
Definition at line 931 of file yans-wifi-phy.cc.
References m_stbc.
Referenced by GetTypeId().
double ns3::YansWifiPhy::GetTxGain | ( | void | ) | const |
Definition at line 323 of file yans-wifi-phy.cc.
References m_txGainDb.
Referenced by GetTypeId().
|
virtual |
Implements ns3::WifiPhy.
Definition at line 318 of file yans-wifi-phy.cc.
References m_txPowerEndDbm.
Referenced by GetTypeId().
|
virtual |
Implements ns3::WifiPhy.
Definition at line 313 of file yans-wifi-phy.cc.
References m_txPowerBaseDbm.
Referenced by GetTypeId().
|
static |
Get the type ID.
Reimplemented from ns3::WifiPhy.
Definition at line 48 of file yans-wifi-phy.cc.
References GetCcaMode1Threshold(), GetChannelBonding(), GetChannelNumber(), GetEdThreshold(), GetFrequency(), GetGreenfield(), GetGuardInterval(), GetLdpc(), GetNumberOfReceiveAntennas(), GetNumberOfTransmitAntennas(), GetRxGain(), GetRxNoiseFigure(), GetStbc(), GetTxGain(), GetTxPowerEnd(), GetTxPowerStart(), m_channelSwitchDelay, m_nTxPower, m_state, ns3::MakeTimeChecker(), SetCcaMode1Threshold(), SetChannelBonding(), SetChannelNumber(), SetEdThreshold(), SetFrequency(), SetGreenfield(), SetGuardInterval(), SetLdpc(), SetNumberOfReceiveAntennas(), SetNumberOfTransmitAntennas(), ns3::TypeId::SetParent(), SetRxGain(), SetRxNoiseFigure(), SetStbc(), SetTxGain(), SetTxPowerEnd(), and SetTxPowerStart().
|
virtual |
Implements ns3::WifiPhy.
Definition at line 737 of file yans-wifi-phy.cc.
References ns3::WifiPhyStateHelper::IsStateBusy(), and m_state.
|
virtual |
Implements ns3::WifiPhy.
Definition at line 726 of file yans-wifi-phy.cc.
References ns3::WifiPhyStateHelper::IsStateCcaBusy(), and m_state.
|
virtual |
Implements ns3::WifiPhy.
Definition at line 732 of file yans-wifi-phy.cc.
References ns3::WifiPhyStateHelper::IsStateIdle(), and m_state.
|
virtual |
Implements ns3::WifiPhy.
Definition at line 742 of file yans-wifi-phy.cc.
References ns3::WifiPhyStateHelper::IsStateRx(), and m_state.
Referenced by EndReceive().
|
virtual |
Implements ns3::WifiPhy.
Definition at line 752 of file yans-wifi-phy.cc.
References ns3::WifiPhyStateHelper::IsStateSwitching(), and m_state.
Referenced by SetChannelNumber().
|
virtual |
Implements ns3::WifiPhy.
Definition at line 747 of file yans-wifi-phy.cc.
References ns3::WifiPhyStateHelper::IsStateTx(), and m_state.
|
virtual |
For a given MCS finds the corresponding WifiMode and returns it as defined in the IEEE 802.11n standard.
mcs | the MCS number |
Implements ns3::WifiPhy.
Definition at line 1074 of file yans-wifi-phy.cc.
References GetChannelBonding(), GetGuardInterval(), ns3::WifiPhy::GetOfdmRate108MbpsBW40MHz(), ns3::WifiPhy::GetOfdmRate120MbpsBW40MHz(), ns3::WifiPhy::GetOfdmRate121_5MbpsBW40MHz(), ns3::WifiPhy::GetOfdmRate135MbpsBW40MHz(), ns3::WifiPhy::GetOfdmRate135MbpsBW40MHzShGi(), ns3::WifiPhy::GetOfdmRate13_5MbpsBW40MHz(), ns3::WifiPhy::GetOfdmRate13MbpsBW20MHz(), ns3::WifiPhy::GetOfdmRate14_4MbpsBW20MHz(), ns3::WifiPhy::GetOfdmRate150MbpsBW40MHz(), ns3::WifiPhy::GetOfdmRate15MbpsBW40MHz(), ns3::WifiPhy::GetOfdmRate19_5MbpsBW20MHz(), ns3::WifiPhy::GetOfdmRate21_7MbpsBW20MHz(), ns3::WifiPhy::GetOfdmRate26MbpsBW20MHz(), ns3::WifiPhy::GetOfdmRate27MbpsBW40MHz(), ns3::WifiPhy::GetOfdmRate28_9MbpsBW20MHz(), ns3::WifiPhy::GetOfdmRate30MbpsBW40MHz(), ns3::WifiPhy::GetOfdmRate39MbpsBW20MHz(), ns3::WifiPhy::GetOfdmRate40_5MbpsBW40MHz(), ns3::WifiPhy::GetOfdmRate43_3MbpsBW20MHz(), ns3::WifiPhy::GetOfdmRate45MbpsBW40MHz(), ns3::WifiPhy::GetOfdmRate52MbpsBW20MHz(), ns3::WifiPhy::GetOfdmRate54MbpsBW40MHz(), ns3::WifiPhy::GetOfdmRate57_8MbpsBW20MHz(), ns3::WifiPhy::GetOfdmRate58_5MbpsBW20MHz(), ns3::WifiPhy::GetOfdmRate60MbpsBW40MHz(), ns3::WifiPhy::GetOfdmRate65MbpsBW20MHz(), ns3::WifiPhy::GetOfdmRate65MbpsBW20MHzShGi(), ns3::WifiPhy::GetOfdmRate6_5MbpsBW20MHz(), ns3::WifiPhy::GetOfdmRate72_2MbpsBW20MHz(), ns3::WifiPhy::GetOfdmRate7_2MbpsBW20MHz(), ns3::WifiPhy::GetOfdmRate81MbpsBW40MHz(), and ns3::WifiPhy::GetOfdmRate90MbpsBW40MHz().
|
private |
Definition at line 795 of file yans-wifi-phy.cc.
Referenced by EndReceive(), and GetRxNoiseFigure().
|
virtual |
listener | the new listener |
Add the input listener to the list of objects to be notified of PHY-level events.
Implements ns3::WifiPhy.
Definition at line 720 of file yans-wifi-phy.cc.
References m_state, and ns3::WifiPhyStateHelper::RegisterListener().
|
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 |
Implements ns3::WifiPhy.
Definition at line 553 of file yans-wifi-phy.cc.
References ns3::WifiPhy::CalculateTxDuration(), ns3::EventId::Cancel(), GetChannelFrequencyMhz(), GetChannelNumber(), ns3::WifiMode::GetDataRate(), ns3::WifiTxVector::GetMode(), ns3::WifiTxVector::GetNss(), GetPowerDbm(), ns3::Packet::GetSize(), ns3::WifiTxVector::GetTxPowerLevel(), ns3::WifiPhyStateHelper::IsStateRx(), ns3::WifiPhyStateHelper::IsStateSwitching(), ns3::WifiPhyStateHelper::IsStateTx(), m_channel, m_endRxEvent, m_interference, m_state, m_txGainDb, ns3::WifiPhy::NotifyMonitorSniffTx(), ns3::InterferenceHelper::NotifyRxEnd(), ns3::WifiPhy::NotifyTxBegin(), NS_ASSERT, NS_LOG_FUNCTION, ns3::YansWifiChannel::Send(), ns3::WifiPhyStateHelper::SwitchToTx(), and ns3::WIFI_PREAMBLE_SHORT.
void ns3::YansWifiPhy::SetCcaMode1Threshold | ( | double | threshold | ) |
Definition at line 286 of file yans-wifi-phy.cc.
References DbmToW(), m_ccaMode1ThresholdW, and NS_LOG_FUNCTION.
Referenced by GetTypeId().
void ns3::YansWifiPhy::SetChannel | ( | Ptr< YansWifiChannel > | channel | ) |
Definition at line 373 of file yans-wifi-phy.cc.
References ns3::YansWifiChannel::Add(), and m_channel.
Referenced by ns3::YansWifiPhyHelper::Create().
|
virtual |
Implements ns3::WifiPhy.
Definition at line 949 of file yans-wifi-phy.cc.
References m_channelBonding.
Referenced by GetTypeId().
|
virtual |
Set channel number.
Channel center frequency = Channel starting frequency + 5 MHz * nch
where Starting channel frequency is standard-dependent, see SetStandard() as defined in IEEE 802.11-2007 17.3.8.3.2.
YansWifiPhy can switch among different channels. Basically, YansWifiPhy has a private attribute m_channelNumber that identifies the channel the PHY operates on. Channel switching cannot interrupt an ongoing transmission. When PHY is in TX state, the channel switching is postponed until the end of the current transmission. When the PHY is in RX state, the channel switching causes the drop of the synchronized packet.
Implements ns3::WifiPhy.
Definition at line 380 of file yans-wifi-phy.cc.
References ns3::EventId::Cancel(), ns3::WifiPhy::CCA_BUSY, ns3::InterferenceHelper::EraseEvents(), GetDelayUntilIdle(), ns3::WifiPhyStateHelper::GetState(), ns3::WifiPhy::IDLE, IsStateSwitching(), m_channelNumber, m_channelSwitchDelay, m_endRxEvent, m_interference, m_state, ns3::Simulator::Now(), NS_ASSERT, NS_LOG_DEBUG, ns3::WifiPhy::RX, ns3::Simulator::Schedule(), ns3::WifiPhyStateHelper::SwitchToChannelSwitching(), and ns3::WifiPhy::TX.
Referenced by GetTypeId(), and ns3::MeshWifiInterfaceMac::SwitchFrequencyChannel().
Definition at line 297 of file yans-wifi-phy.cc.
References m_device.
Referenced by ns3::YansWifiPhyHelper::Create().
void ns3::YansWifiPhy::SetEdThreshold | ( | double | threshold | ) |
Definition at line 280 of file yans-wifi-phy.cc.
References DbmToW(), m_edThresholdW, and NS_LOG_FUNCTION.
Referenced by GetTypeId().
void ns3::YansWifiPhy::SetErrorRateModel | ( | Ptr< ErrorRateModel > | rate | ) |
Definition at line 292 of file yans-wifi-phy.cc.
References m_interference, and ns3::InterferenceHelper::SetErrorRateModel().
Referenced by ns3::YansWifiPhyHelper::Create().
|
virtual |
the | operating frequency on this node (2.4 GHz or 5GHz). |
Implements ns3::WifiPhy.
Definition at line 864 of file yans-wifi-phy.cc.
References m_channelStartingFrequency.
Referenced by GetTypeId().
|
virtual |
sets | Greenfield is supported or not |
Implements ns3::WifiPhy.
Definition at line 893 of file yans-wifi-phy.cc.
References m_greenfield.
Referenced by GetTypeId().
|
virtual |
set | short/long guard interval. |
Implements ns3::WifiPhy.
Definition at line 903 of file yans-wifi-phy.cc.
References m_guardInterval.
Referenced by GetTypeId().
|
virtual |
sets | LDPC is supported or not |
Implements ns3::WifiPhy.
Definition at line 881 of file yans-wifi-phy.cc.
References m_ldpc.
Referenced by GetTypeId().
Definition at line 302 of file yans-wifi-phy.cc.
References m_mobility.
Referenced by ns3::YansWifiPhyHelper::Create().
void ns3::YansWifiPhy::SetNTxPower | ( | uint32_t | n | ) |
Definition at line 262 of file yans-wifi-phy.cc.
References m_nTxPower, and NS_LOG_FUNCTION.
|
virtual |
the | number of recievers on this node. |
Implements ns3::WifiPhy.
Definition at line 875 of file yans-wifi-phy.cc.
References m_numberOfReceivers.
Referenced by GetTypeId().
|
virtual |
the | number of transmitters on this node. |
Implements ns3::WifiPhy.
Definition at line 870 of file yans-wifi-phy.cc.
References m_numberOfTransmitters.
Referenced by GetTypeId().
|
virtual |
callback | the callback to invoke upon erroneous packet reception. |
Implements ns3::WifiPhy.
Definition at line 446 of file yans-wifi-phy.cc.
References m_state, and ns3::WifiPhyStateHelper::SetReceiveErrorCallback().
|
virtual |
callback | the callback to invoke upon successful packet reception. |
Implements ns3::WifiPhy.
Definition at line 441 of file yans-wifi-phy.cc.
References m_state, and ns3::WifiPhyStateHelper::SetReceiveOkCallback().
void ns3::YansWifiPhy::SetRxGain | ( | double | gain | ) |
Definition at line 274 of file yans-wifi-phy.cc.
References m_rxGainDb, and NS_LOG_FUNCTION.
Referenced by GetTypeId().
void ns3::YansWifiPhy::SetRxNoiseFigure | ( | double | noiseFigureDb | ) |
Definition at line 244 of file yans-wifi-phy.cc.
References DbToRatio(), m_interference, NS_LOG_FUNCTION, and ns3::InterferenceHelper::SetNoiseFigure().
Referenced by GetTypeId().
|
virtual |
sets | STBC is supported or not |
Implements ns3::WifiPhy.
Definition at line 887 of file yans-wifi-phy.cc.
References m_stbc.
Referenced by GetTypeId().
void ns3::YansWifiPhy::SetTxGain | ( | double | gain | ) |
Definition at line 268 of file yans-wifi-phy.cc.
References m_txGainDb, and NS_LOG_FUNCTION.
Referenced by GetTypeId().
void ns3::YansWifiPhy::SetTxPowerEnd | ( | double | end | ) |
Definition at line 256 of file yans-wifi-phy.cc.
References m_txPowerEndDbm, and NS_LOG_FUNCTION.
Referenced by GetTypeId().
void ns3::YansWifiPhy::SetTxPowerStart | ( | double | start | ) |
Definition at line 250 of file yans-wifi-phy.cc.
References m_txPowerBaseDbm, NS_LOG_FUNCTION, and visualizer.core::start().
Referenced by GetTypeId().
void ns3::YansWifiPhy::StartReceivePacket | ( | Ptr< Packet > | packet, |
double | rxPowerDbm, | ||
WifiTxVector | txVector, | ||
WifiPreamble | preamble | ||
) |
Definition at line 451 of file yans-wifi-phy.cc.
References ns3::InterferenceHelper::Add(), ns3::WifiPhy::CalculateTxDuration(), ns3::WifiPhy::CCA_BUSY, DbmToW(), EndReceive(), ns3::WifiPhyStateHelper::GetDelayUntilIdle(), ns3::InterferenceHelper::GetEnergyDuration(), ns3::WifiTxVector::GetMode(), ns3::Packet::GetSize(), ns3::WifiPhyStateHelper::GetState(), ns3::WifiPhy::IDLE, ns3::EventId::IsExpired(), ns3::Time::IsZero(), m_ccaMode1ThresholdW, m_edThresholdW, m_endRxEvent, m_interference, m_rxGainDb, m_state, ns3::WifiPhy::NotifyRxBegin(), ns3::WifiPhy::NotifyRxDrop(), ns3::InterferenceHelper::NotifyRxStart(), ns3::Now(), ns3::Simulator::Now(), NS_ASSERT, NS_LOG_DEBUG, NS_LOG_FUNCTION, ns3::WifiPhy::RX, ns3::Simulator::Schedule(), ns3::WifiPhy::SWITCHING, ns3::WifiPhyStateHelper::SwitchMaybeToCcaBusy(), ns3::WifiPhyStateHelper::SwitchToRx(), and ns3::WifiPhy::TX.
|
virtual |
For a given WifiMode finds the corresponding MCS value and returns it as defined in the IEEE 802.11n standard
mode | the WifiMode |
Implements ns3::WifiPhy.
Definition at line 1012 of file yans-wifi-phy.cc.
References ns3::WifiMode::GetDataRate(), and ns3::WifiMode::GetUniqueName().
|
private |
Definition at line 789 of file yans-wifi-phy.cc.
Referenced by GetCcaMode1Threshold(), and GetEdThreshold().
|
private |
Definition at line 327 of file yans-wifi-phy.h.
Referenced by Configure80211n(), GetBssMembershipSelector(), and GetNBssMembershipSelectors().
|
private |
Definition at line 261 of file yans-wifi-phy.h.
Referenced by GetCcaMode1Threshold(), SetCcaMode1Threshold(), and StartReceivePacket().
|
private |
Definition at line 268 of file yans-wifi-phy.h.
Referenced by DoDispose(), GetChannel(), SendPacket(), and SetChannel().
|
private |
Definition at line 286 of file yans-wifi-phy.h.
Referenced by GetChannelBonding(), and SetChannelBonding().
|
private |
Definition at line 269 of file yans-wifi-phy.h.
Referenced by GetChannelNumber(), and SetChannelNumber().
|
private |
Standard-dependent center frequency of 0-th channel, MHz.
Definition at line 333 of file yans-wifi-phy.h.
Referenced by Configure80211_10Mhz(), Configure80211_5Mhz(), Configure80211a(), Configure80211b(), Configure80211g(), Configure80211p_CCH(), Configure80211p_SCH(), ConfigureHolland(), ConfigureStandard(), GetChannelFrequencyMhz(), GetFrequency(), and SetFrequency().
|
private |
Definition at line 336 of file yans-wifi-phy.h.
Referenced by GetTypeId(), and SetChannelNumber().
Definition at line 270 of file yans-wifi-phy.h.
Referenced by DoDispose(), GetDevice(), and SetDevice().
|
private |
Definition at line 328 of file yans-wifi-phy.h.
Referenced by Configure80211n(), DoDispose(), GetMcs(), and GetNMcs().
|
private |
This vector holds the set of transmission modes that this WifiPhy(-derived class) can support. In conversation we call this the DeviceRateSet (not a term you'll find in the standard), and it is a superset of standard-defined parameters such as the OperationalRateSet, and the BSSBasicRateSet (which, themselves, have a superset/subset relationship).
Mandatory rates relevant to this WifiPhy can be found by iterating over this vector looking for WifiMode objects for which WifiMode::IsMandatory() is true.
A quick note is appropriate here (well, here is as good a place as any I can find)...
In the standard there is no text that explicitly precludes production of a device that does not support some rates that are mandatory (according to the standard) for PHYs that the device happens to fully or partially support.
This approach is taken by some devices which choose to only support, for example, 6 and 9 Mbps ERP-OFDM rates for cost and power consumption reasons (i.e., these devices don't need to be designed for and waste current on the increased linearity requirement of higher-order constellations when 6 and 9 Mbps more than meet their data requirements). The wording of the standard allows such devices to have an OperationalRateSet which includes 6 and 9 Mbps ERP-OFDM rates, despite 12 and 24 Mbps being "mandatory" rates for the ERP-OFDM PHY.
Now this doesn't actually have any impact on code, yet. It is, however, something that we need to keep in mind for the future. Basically, the key point is that we can't be making assumptions like "the Operational Rate Set will contain all the mandatory rates".
Definition at line 325 of file yans-wifi-phy.h.
Referenced by Configure80211_10Mhz(), Configure80211_5Mhz(), Configure80211a(), Configure80211b(), Configure80211g(), Configure80211n(), Configure80211p_CCH(), Configure80211p_SCH(), ConfigureHolland(), DoDispose(), GetMode(), and GetNModes().
|
private |
Definition at line 260 of file yans-wifi-phy.h.
Referenced by GetEdThreshold(), GetEdThresholdW(), SetEdThreshold(), and StartReceivePacket().
|
private |
Definition at line 329 of file yans-wifi-phy.h.
Referenced by SendPacket(), SetChannelNumber(), and StartReceivePacket().
|
private |
Definition at line 282 of file yans-wifi-phy.h.
Referenced by GetGreenfield(), and SetGreenfield().
|
private |
Definition at line 284 of file yans-wifi-phy.h.
Referenced by GetGuardInterval(), and SetGuardInterval().
|
private |
Definition at line 335 of file yans-wifi-phy.h.
Referenced by CalculateSnr(), EndReceive(), GetErrorRateModel(), GetRxNoiseFigure(), SendPacket(), SetChannelNumber(), SetErrorRateModel(), SetRxNoiseFigure(), and StartReceivePacket().
|
private |
Definition at line 278 of file yans-wifi-phy.h.
Definition at line 271 of file yans-wifi-phy.h.
Referenced by DoDispose(), GetMobility(), and SetMobility().
|
private |
Definition at line 266 of file yans-wifi-phy.h.
Referenced by GetNTxPower(), GetPowerDbm(), GetTypeId(), and SetNTxPower().
|
private |
Definition at line 276 of file yans-wifi-phy.h.
Referenced by GetNumberOfReceiveAntennas(), and SetNumberOfReceiveAntennas().
|
private |
Definition at line 274 of file yans-wifi-phy.h.
Referenced by GetNumberOfTransmitAntennas(), and SetNumberOfTransmitAntennas().
|
private |
Provides uniform random variables.
Definition at line 331 of file yans-wifi-phy.h.
Referenced by AssignStreams(), EndReceive(), and YansWifiPhy().
|
private |
Definition at line 263 of file yans-wifi-phy.h.
Referenced by GetRxGain(), SetRxGain(), and StartReceivePacket().
|
private |
Definition at line 334 of file yans-wifi-phy.h.
Referenced by DoDispose(), EndReceive(), GetDelayUntilIdle(), GetLastRxStartTime(), GetStateDuration(), GetTypeId(), IsStateBusy(), IsStateCcaBusy(), IsStateIdle(), IsStateRx(), IsStateSwitching(), IsStateTx(), RegisterListener(), SendPacket(), SetChannelNumber(), SetReceiveErrorCallback(), SetReceiveOkCallback(), StartReceivePacket(), and YansWifiPhy().
|
private |
Definition at line 280 of file yans-wifi-phy.h.
|
private |
Definition at line 262 of file yans-wifi-phy.h.
Referenced by GetTxGain(), SendPacket(), and SetTxGain().
|
private |
Definition at line 264 of file yans-wifi-phy.h.
Referenced by GetPowerDbm(), GetTxPowerStart(), and SetTxPowerStart().
|
private |
Definition at line 265 of file yans-wifi-phy.h.
Referenced by GetPowerDbm(), GetTxPowerEnd(), and SetTxPowerEnd().