Bug 2957

Summary: Add BeaconArrival trace to StaWifiMac
Product: ns-3 Reporter: Muhammad Iqbal CR <muh.iqbal.cr>
Component: wifiAssignee: Tom Henderson <tomh>
Status: RESOLVED FIXED    
Severity: enhancement CC: ns-bugs, sebastien.deronne, tomh
Priority: P3    
Version: unspecified   
Hardware: All   
OS: All   
Attachments: Added BeaconArrival trace on StaWifiMac
updated patch to add StaWifiMac::BeaconArrivalTrace

Description Muhammad Iqbal CR 2018-07-21 10:38:03 UTC
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 UTC
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 UTC
Created attachment 3156 [details]
updated patch to add StaWifiMac::BeaconArrivalTrace
Comment 3 sebastien.deronne 2018-08-08 15:27:02 UTC
Tom, feel free to push this.
Comment 4 Tom Henderson 2018-08-10 11:14:21 UTC
pushed in commit 13731:5bd156643109