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>
Este commit está contenido en:

cometido por
John W. Linville

padre
5eb02e44ad
commit
02f2f1a951
@@ -1693,7 +1693,7 @@ il4965_tx_skb(struct il_priv *il, struct sk_buff *skb)
|
||||
sta_priv = (void *)sta->drv_priv;
|
||||
|
||||
if (sta_priv && sta_priv->asleep &&
|
||||
(info->flags & IEEE80211_TX_CTL_POLL_RESPONSE)) {
|
||||
(info->flags & IEEE80211_TX_CTL_NO_PS_BUFFER)) {
|
||||
/*
|
||||
* This sends an asynchronous command to the device,
|
||||
* but we can rely on it being processed before the
|
||||
|
Referencia en una nueva incidencia
Block a user