]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: handle non-bufferable MMPDUs correctly
authorJohannes Berg <johannes.berg@intel.com>
Mon, 27 Feb 2012 11:18:30 +0000 (12:18 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 29 Feb 2012 19:14:54 +0000 (14:14 -0500)
commit9af2956bd9bf23b45b197a86a1a88e122cb26bf6
tree77d5ac88a112aeb9f18887277dabf311b7ec0e8a
parenta5c12a30170674691e1850866fa834fdc2124771
mac80211: handle non-bufferable MMPDUs correctly

This renames the IEEE80211_TX_CTL_POLL_RESPONSE
TX flag to IEEE80211_TX_CTL_NO_PS_BUFFER and also
uses it for non-bufferable MMPDUs (all MMPDUs but
deauth, disassoc and action frames.)

Previously, mac80211 would let the MMPDU through
but not set the flag so drivers supporting some
hardware aids for avoiding the PS races would
then reject the frame.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlegacy/4965-mac.c
drivers/net/wireless/iwlwifi/iwl-agn-tx.c
drivers/net/wireless/p54/txrx.c
include/net/mac80211.h
net/mac80211/sta_info.c
net/mac80211/tx.c