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?