wifi: Further clarify WifiPhy::PhyTxBegin and PhyTxPsduBegin traces

This commit is contained in:
Tom Henderson
2024-10-11 09:48:09 -07:00
parent 3c7d1b371b
commit f9bdaaa04b

View File

@@ -302,15 +302,19 @@ WifiPhy::GetTypeId()
.AddTraceSource(
"PhyTxBegin",
"Trace source indicating a packet has begun transmitting over the medium; "
"the packet is a single MPDU even if the MPDU is transmitted within an A-MPDU.",
"the packet holds a single MPDU even if the MPDU is transmitted within an A-MPDU "
"(in which case this trace fires for each MPDU in the "
"A-MPDU).",
MakeTraceSourceAccessor(&WifiPhy::m_phyTxBeginTrace),
"ns3::WifiPhy::PhyTxBeginTracedCallback")
.AddTraceSource("PhyTxPsduBegin",
"Trace source indicating a PSDU (in the case of SU PPDU), "
"or a PSDU map (in the case of MU PPDU), "
"has begun transmitting over the channel medium",
MakeTraceSourceAccessor(&WifiPhy::m_phyTxPsduBeginTrace),
"ns3::WifiPhy::PsduTxBeginCallback")
.AddTraceSource(
"PhyTxPsduBegin",
"Trace source indicating a PSDU has begun transmitting over the channel medium; "
"this trace returns a WifiConstPsduMap with a single element (in the case of SU "
"PPDU) "
"or multiple elements (in the case of MU PPDU)",
MakeTraceSourceAccessor(&WifiPhy::m_phyTxPsduBeginTrace),
"ns3::WifiPhy::PsduTxBeginCallback")
.AddTraceSource("PhyTxEnd",
"Trace source indicating a packet "
"has been completely transmitted over the channel.",