mac80211: Inform AP when returning operating channel
authorLoic Poulain <loic.poulain@linaro.org>
Mon, 29 Jun 2020 08:55:23 +0000 (10:55 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 28 Sep 2020 11:18:53 +0000 (13:18 +0200)
commitdba0491f00114b9f688bfff60545e90a270023e1
tree596e9b0b2b197caf7069f948e9a7a59f6cee2c02
parent0675c285ea65540cccae64c87dfc7a00c7ede03a
mac80211: Inform AP when returning operating channel

Because we can miss AP wakeup (beacon) while scanning other channels,
it's better go into wakeup state and inform the AP of that upon
returning to the operating channel, rather than staying asleep and
waiting for the next TIM indicating traffic for us.

This saves precious time, especially when we only have 200ms inter-
scan period for monitoring the active connection.

Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
Link: https://lore.kernel.org/r/1593420923-26668-1-git-send-email-loic.poulain@linaro.org
[rewrite commit message a bit]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/ieee80211_i.h
net/mac80211/offchannel.c