Skip to contentSkip to conversation

iwlwifi: mvm: don't indicate no BA if STA was in powersave

PATCH New Emmanuel Grumbach 1 participant 1 message Jan 22, 2015 1 message not in the archive Networking drivers (wireless)

lore
Share & tools
lore
#1 lore raw

PATCH 1/38 iwlwifi: mvm: don't indicate no BA if STA was in powersave

In reply to a message not in the archive

From: Eyal Shapira <[email protected]>

If Tx failed because the STA was in powersave there's no point in sending a BAR so avoid indicating AMPDU_NO_BACK to mac80211.

---
 drivers/net/wireless/iwlwifi/mvm/tx.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/net/wireless/iwlwifi/mvm/tx.c +2 -1
index d6cdb77..1fff0f4 100644
@@ -656,7 +656,8 @@ static void iwl_mvm_rx_tx_cmd_single(struct iwl_mvm *mvm,
 
 		/* Single frame failure in an AMPDU queue => send BAR */
 		if (txq_id >= mvm->first_agg_queue &&
-		    !(info->flags & IEEE80211_TX_STAT_ACK))
+		    !(info->flags & IEEE80211_TX_STAT_ACK) &&
+		    !(info->flags & IEEE80211_TX_STAT_TX_FILTERED))
 			info->flags |= IEEE80211_TX_STAT_AMPDU_NO_BACK;
 
 		/* W/A FW bug: seq_ctl is wrong when the status isn't success */
Signature · 1 line
1.9.1