PhyTxDrop and MacTxDrop in WifiNetDevice (ns3.30.1)

248 views
Skip to first unread message

Gopal Rawat

unread,
Mar 19, 2020, 5:25:31 AM3/19/20
to ns-3-users
 Hi all ,

I am trying to check packet drop in Wifi scenario. I have read the questions posted in this group, read documentation page as well.  With  my understanding of traces , I am using following to trace packet drops MacTx. PhyTx, PhyRx respectively (ns3.30.1)

  Config::Connect("/NodeList/*/DeviceList/*/$ns3::WifiNetDevice/Mac/MacTxDrop", MakeCallback(&MacTxDrop));
  Config::Connect("/NodeList/*/DeviceList/*/$ns3::WifiNetDevice/Phy/PhyTxDrop", MakeCallback(&PhyTxDrop));
  Config::Connect("/NodeList/*/DeviceList/*/$ns3::WifiNetDevice/Phy/PhyRxDrop", MakeCallback(&PhyRxDrop));

I am able to get PhyRx values however the MacTx and PhyTx values i obtain is zero for the whole simualtion period.

Am i using the wrong traces ? or is it t do with the scenario i have used ?

Attached is the code for  analysis.  Any suggestions/ info?

myP.cc
Message has been deleted

Gopal Rawat

unread,
Mar 20, 2020, 1:36:29 PM3/20/20
to ns-3-users
Thanks, I am able to figure out that the trace sources used are fine. The configuration / scenario used is causing this behavior.
Reply all
Reply to author
Forward
0 new messages