]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: don't ask for beacons when AP vif and no assoc sta
authorGregory Greenman <gregory.greenman@intel.com>
Mon, 24 Aug 2015 11:38:35 +0000 (14:38 +0300)
committerLuciano Coelho <luciano.coelho@intel.com>
Fri, 28 Aug 2015 10:26:34 +0000 (13:26 +0300)
commit98147a563f625072773a08284794ce08b8bad4f4
treef7553f810e69665297070032e856fc7638bc7e29
parent664aad44319c901f17ff3ff37cbcce434159703b
iwlwifi: mvm: don't ask for beacons when AP vif and no assoc sta

When in AP mode, we need beacons from other APs for HT protection.
However, when there's no any associated station we will not do
any Tx and thus don't really need beacons. On the other hand, these
beacons will cause a lot of unnecessary wakeups which increase our
power consumption. Handle this by asking FW to pass beacons only when
there's at least one associated station.

Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
drivers/net/wireless/iwlwifi/mvm/mac-ctxt.c
drivers/net/wireless/iwlwifi/mvm/mac80211.c
drivers/net/wireless/iwlwifi/mvm/mvm.h
drivers/net/wireless/iwlwifi/mvm/sta.c