Skip to content

Commit

Permalink
wifi: Further clarify WifiPhy::PhyTxBegin and PhyTxPsduBegin traces
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhenderson committed Oct 15, 2024
1 parent 3c7d1b3 commit f9bdaaa
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions src/wifi/model/wifi-phy.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down

0 comments on commit f9bdaaa

Please sign in to comment.