]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcdc7a2f4e81dd5d31bd0c626d5c8159fb3ad7f01
tree596e9b0b2b197caf7069f948e9a7a59f6cee2c02
parentc72612c2023d55044585a568552712990eed1937
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