You will have to add the counter related code in
EnableWifiPhyCounters
WifiPhyTxBeginTrace
TrackWifiPhyCounters
--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+unsubscribe@googlegroups.com.
To post to this group, send email to ns-3-...@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.
uint32_t m_wifiPhyTxBeginCounterId;
NodeCounterMap64 m_nodeWifiPhyTxBegin;
void
AnimationInterface::EnableWifiPhyCounters (Time startTime, Time stopTime, Time pollInterval)
void
void
Config::Connect ("/NodeList/*/DeviceList/*/$ns3::WifiNetDevice/Phy/PhyTxBegin", MakeCallback (&AnimationInterface::WifiPhyTxBeginTrace, this));