]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
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)
committerJuerg Haefliger <juergh@canonical.com>
Wed, 24 Jul 2019 01:47:42 +0000 (19:47 -0600)
commit99de363ffc638dc7b033cbf5e8a38c87da4fc0ba
tree7766d6348f01d5a0258947202f63f0eab80a0245
parent3101033bdb39bebfe1e577bd9b603770a7e72888
wlcore: Set rx_status boottime_ns field on rx

BugLink: https://bugs.launchpad.net/bugs/1836117
[ Upstream commit 37a634f60fd6dfbda2c312657eec7ef0750546e7 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
drivers/net/wireless/ti/wlcore/rx.c