wlcore: Set rx_status boottime_ns field on rx
authorLoic Poulain <loic.poulain@linaro.org>
Fri, 27 Jul 2018 16:30:23 +0000 (18:30 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 31 Jul 2018 07:24:10 +0000 (10:24 +0300)
commit37a634f60fd6dfbda2c312657eec7ef0750546e7
tree7658bcd47d5ef4df137c0d0959fb552969b9de98
parent18dc5a4bbcc5c44be3062712f74180bae2c3c6b8
wlcore: Set rx_status boottime_ns field on rx

When receiving a beacon or probe response, we should update the
boottime_ns field which is the timestamp the frame was received at.
(cf mac80211.h)

This fixes a scanning issue with Android since it relies on this
timestamp to determine when the AP has been seen for the last time
(via the nl80211 BSS_LAST_SEEN_BOOTTIME parameter).

Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ti/wlcore/rx.c