39 .SetGroupName (
"Wifi")
#define NS_LOG_FUNCTION(parameters)
If log level LOG_FUNCTION is enabled, this macro will output all input parameters separated by "...
This class mimics the TXVECTOR which is to be passed to the PHY in order to define the parameters whi...
#define NS_OBJECT_ENSURE_REGISTERED(type)
Register an Object subclass with the TypeId system.
void SetChannel(const Ptr< YansWifiChannel > channel)
Set the YansWifiChannel this YansWifiPhy is to be connected to.
Ptr< YansWifiChannel > m_channel
YansWifiChannel that this YansWifiPhy is connected to.
virtual void DoDispose(void)
Destructor implementation.
#define NS_LOG_COMPONENT_DEFINE(name)
Define a Log component with a specific name.
double GetTxPowerForTransmission(WifiTxVector txVector) const
Compute the transmit power (in dBm) for the next transmission.
virtual void DoDispose(void)
Destructor implementation.
std::pair< uint32_t, uint32_t > WifiSpectrumBand
typedef for a pair of start and stop sub-band indexes
void StartTx(Ptr< WifiPpdu > ppdu)
double GetPowerDbm(uint8_t power) const
Get the power of the given power level in dBm.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
802.11 PHY layer modelThis PHY implements a model of 802.11a.
static TypeId GetTypeId(void)
Get the type ID.
void AddBand(WifiSpectrumBand band)
Add a frequency band.
InterferenceHelper m_interference
Pointer to InterferenceHelper.
#define NS_LOG_DEBUG(msg)
Use NS_LOG to output a message of level LOG_DEBUG.
uint8_t GetTxPowerLevel(void) const
double GetTxGain(void) const
Return the transmission gain (dB).
a unique identifier for an interface.
virtual Ptr< Channel > GetChannel(void) const
Return the Channel this WifiPhy is connected to.
TypeId SetParent(TypeId tid)
Set the parent TypeId.