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)
commit02f2f1a951f87644166926862ec32fb13511e2f3
tree77d5ac88a112aeb9f18887277dabf311b7ec0e8a
parent5eb02e44adc92a71bae3ff60acb1eea5ada14e93
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