infinite results on the flow-monitor for tracing WiFi nodes in laa-wifi-indoor scenario

16 views
Skip to first unread message

m.alh...@gmail.com

unread,
Sep 28, 2017, 9:21:17 AM9/28/17
to ns-3-users
Hello,

I am using the laa-wifi-indoor scenario. Operator (1): LAA and Operator (2): WiFi. I need to trace the states of the WiFi nodes (State, start time, duration in the state). I added the following lines into the scenarioHelper.cc :


void
LogMyState (const Time start, const Time duration, const WifiPhy::State state)
  
       {
           std::cout << " state" << state << " start" << start <<" duration" << duration << std::endl;
        }



Config::ConnectWithoutContext ("/NodeList/*/DeviceList/*/Phy/State/State",MakeCallback (&LogMyState));






is that right what i did? moreover, i got infinite results on the flow monitor as attached!!. How to check the state of just the Wifi nodes?

Regards.
Screenshot from 2017-09-28 14-17-01.png

Rediet

unread,
Oct 4, 2017, 12:07:22 PM10/4/17
to ns-3-users
Hello,

Are you sure you get the exact same line an "infinite" number of times? Do not forget that you have a certain number of Wi-Fi stations that are listening to the channel (including APs and LAA eNBs STA device used for LBT).

Rediet
Reply all
Reply to author
Forward
0 new messages