]> 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)
commit1bdf311573bf8e3a8379335f7bd4d033e3d1652c
tree77d5ac88a112aeb9f18887277dabf311b7ec0e8a
parentbde6d16617d3ba282f17a2750dac439b41306aaf
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