A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
wifi-phy.h File Reference
#include "phy-entity.h"
#include "wifi-phy-operating-channel.h"
#include "wifi-phy-state-helper.h"
#include "wifi-standards.h"
#include "ns3/error-model.h"
#include <limits>
+ Include dependency graph for wifi-phy.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ns3::WifiPhy
 802.11 PHY layer model More...
 

Namespaces

namespace  ns3
 Every class exported by the ns3 library is enclosed in the ns3 namespace.
 

Macros

#define WIFI_PHY_NS_LOG_APPEND_CONTEXT(phy)
 

Functions

std::ostream & ns3::operator<< (std::ostream &os, RxSignalInfo rxSignalInfo)
 

Macro Definition Documentation

◆ WIFI_PHY_NS_LOG_APPEND_CONTEXT

#define WIFI_PHY_NS_LOG_APPEND_CONTEXT (   phy)
Value:
{ \
if (DynamicCast<const WifiPhy>(phy)) \
{ \
std::clog << "[index=" << +phy->GetPhyId() << "][channel=" \
<< (phy->GetOperatingChannel().IsSet() \
? std::to_string(+phy->GetOperatingChannel().GetNumber()) \
: "UNKNOWN") \
<< "][band=" << phy->GetPhyBand() << "] "; \
} \
}

Definition at line 33 of file wifi-phy.h.