iwlwifi: mvm: Avoid deferring non bufferable frames
commiteb045e6e0389eabfd704dd7a76d8b2a892970e85
authorDavid Spinadel <david.spinadel@intel.com>
Thu, 17 Aug 2017 14:28:22 +0000 (17 17:28 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 30 Aug 2017 09:30:56 +0000 (30 12:30 +0300)
tree079025cb6fc14a3cd043e100ad72fbe67f6812fd
parent075d8a75daedec14f2337c2881186aabd8fa4fda
iwlwifi: mvm: Avoid deferring non bufferable frames

Use bcast station for all non bufferable frames on AP and AD-HOC.

The host is no longer aware of STAs PS status because of buffer
station offload, so we can't rely on mac80211 to toggle on
IEEE80211_TX_CTL_NO_PS_BUFFER bit.

A possible issue with buffering such frames, beside the obvious spec
violation, is when a station disconnects while in PS but the AP isn't
aware of that. In such scenarios the AP won't be able to send probe
responses or auth frames so the STA won't be able to reconnect and
the AP will have a queue hang.

Fixes: 3e56eadfb6a1 ("iwlwifi: mvm: implement AP/GO uAPSD support")
Signed-off-by: David Spinadel <david.spinadel@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c