]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
wcn36xx: Fix missing frame timestamp for beacon/probe-resp
authorLoic Poulain <loic.poulain@linaro.org>
Thu, 26 Aug 2021 15:46:08 +0000 (17:46 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Sun, 29 Aug 2021 07:11:36 +0000 (10:11 +0300)
commit8678fd31f2d3eb14f2b8b39c9bc266f16fa24b22
treebbbff91b4db355b9cb636365a60f50c1f9204765
parentb7f96d5c79cd9584bb1193a3c9008bd1e2683906
wcn36xx: Fix missing frame timestamp for beacon/probe-resp

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>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1629992768-23785-1-git-send-email-loic.poulain@linaro.org
drivers/net/wireless/ath/wcn36xx/txrx.c