Bug 2957 - Add BeaconArrival trace to StaWifiMac
Add BeaconArrival trace to StaWifiMac
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: wifi
unspecified
All All
: P3 enhancement
Assigned To: Tom Henderson
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-07-21 10:38 EDT by Muhammad Iqbal CR
Modified: 2018-08-10 11:14 EDT (History)
3 users (show)

See Also:


Attachments
Added BeaconArrival trace on StaWifiMac (1.69 KB, patch)
2018-07-21 10:38 EDT, Muhammad Iqbal CR
Details | Diff
updated patch to add StaWifiMac::BeaconArrivalTrace (1.44 KB, patch)
2018-08-03 02:10 EDT, Tom Henderson
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Muhammad Iqbal CR 2018-07-21 10:38:03 EDT
Created attachment 3146 [details]
Added BeaconArrival trace on StaWifiMac

Hi everyone,

I would like to add a simple trace on StaWifiMac that logs beacon arrival on the MAC layer of STA. Only the associated AP's beacons will be logged, since if we enable it for all beacons, it will be similar in functions to MonitorSnifferRx trace on WIfiPhy. This trace is important since it is used for statistics purposes on the Lte-WIfi Coexistence module that we are currently working on.

I would also like to mention that the original author of the code is Tom Henderson.

Best regards,
Muhammad Iqbal C. Rochman
Comment 1 Tom Henderson 2018-07-21 19:09:38 EDT
I might slightly change this from a traced value to a traced callback since we only want to publish the new arrival time.
Comment 2 Tom Henderson 2018-08-03 02:10:08 EDT
Created attachment 3156 [details]
updated patch to add StaWifiMac::BeaconArrivalTrace
Comment 3 sebastien.deronne 2018-08-08 15:27:02 EDT
Tom, feel free to push this.
Comment 4 Tom Henderson 2018-08-10 11:14:21 EDT
pushed in commit 13731:5bd156643109