On Thu, 2018-03-22 at 11:44 +0100, Arend van Spriel wrote: > I recall a similar attempt for another driver, but I think the timestamp > should really be the TSF of the beacon/proberesp received. As you > already Cc-ed Johannes explicitly maybe he can clarify what is needed > here as I do not recall the details. ;-) Yes, this should be "tsf", it's actually labelled explicitly as such. I know Android used to get this wrong and *even test* it wrongly, but that's no excuse. However, should switch this to cfg80211_inform_bss_data() and use the timestamp set up here to fill the cfg80211_inform_bss::boottime_ns value. That's also sent to userspace in the proper way for this. johannes