38 .SetGroupName (
"Wifi")
85 NS_LOG_DEBUG (
"Start transmission: signal power before antenna gain=" <<
GetPowerDbm (ppdu->GetTxVector ().GetTxPowerLevel ()) <<
"dBm");
96 std::tuple<double, double, double>
99 NS_ABORT_MSG (
"Tx mask rejection params not relevant for Yans");
100 return std::make_tuple (0.0, 0.0, 0.0);
void AddBand(WifiSpectrumBand band)
Add a frequency band.
a unique identifier for an interface.
TypeId SetParent(TypeId tid)
Set the parent TypeId.
virtual void DoDispose(void)
Destructor implementation.
InterferenceHelper m_interference
the class handling interference computations
double GetPowerDbm(uint8_t power) const
Get the power of the given power level in dBm.
double GetTxGain(void) const
Return the transmission gain (dB).
double GetTxPowerForTransmission(Ptr< const WifiPpdu > ppdu) const
Compute the transmit power for the next transmission.
Ptr< YansWifiChannel > m_channel
YansWifiChannel that this YansWifiPhy is connected to.
void StartTx(Ptr< WifiPpdu > ppdu) override
std::tuple< double, double, double > GetTxMaskRejectionParams(void) const override
uint16_t GetGuardBandwidth(uint16_t currentChannelWidth) const override
void SetChannel(const Ptr< YansWifiChannel > channel)
Set the YansWifiChannel this YansWifiPhy is to be connected to.
static TypeId GetTypeId(void)
Get the type ID.
Ptr< Channel > GetChannel(void) const override
Return the Channel this WifiPhy is connected to.
void DoDispose(void) override
Destructor implementation.
#define NS_ABORT_MSG(msg)
Unconditional abnormal program termination with a message.
#define NS_LOG_COMPONENT_DEFINE(name)
Define a Log component with a specific name.
#define NS_LOG_DEBUG(msg)
Use NS_LOG to output a message of level LOG_DEBUG.
#define NS_LOG_FUNCTION(parameters)
If log level LOG_FUNCTION is enabled, this macro will output all input parameters separated by ",...
#define NS_OBJECT_ENSURE_REGISTERED(type)
Register an Object subclass with the TypeId system.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
std::pair< uint32_t, uint32_t > WifiSpectrumBand
typedef for a pair of start and stop sub-band indexes