Hi James,
On 11/20/19 11:31 AM, James Prestwood wrote:
The kernel sends NL80211_ATTR_SCAN_START_TIME_TSF with CMD_TRIGGER
and
RRM requires this value for beacon measurement reports. Since this
value is sent with CMD_TRIGGER we have to store it in the scan_context
and set it into the scan_bss when the scan finishes.
That seems rather expensive? To store an 8 byte value in all the bsses
that really belongs in the trigger callback? Perhaps we should just
pass it in as an additional argument.
Or since we have the scan_request id, perhaps it should be obtainable
using that? E.g. something like:
uint64_t scan_get_triggered_time(uint32_t id);
---
src/scan.c | 13 +++++++++++++
src/scan.h | 1 +
2 files changed, 14 insertions(+)
Regards,
-Denis