summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/iwlwifi/mvm/tx.c
diff options
context:
space:
mode:
authorEyal Shapira <eyal@wizery.com>2014-03-13 13:53:00 +0200
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>2014-03-16 08:55:30 +0200
commit7f5bd0422e0a85dc48418de3950b7726f3fc5a7d (patch)
tree301e1acbe018e0fdc7df988f6c034fa605c4bfd6 /drivers/net/wireless/iwlwifi/mvm/tx.c
parent8930b05090acd321b1fc7c642528c697cb105c42 (diff)
downloadlwn-7f5bd0422e0a85dc48418de3950b7726f3fc5a7d.tar.gz
lwn-7f5bd0422e0a85dc48418de3950b7726f3fc5a7d.zip
iwlwifi: mvm: don't enable protection for all AMPDUs
Currently RTS protection was done whenever trasnmitting an AMPDU. This limits throughput in cases where there's no need for protection. Disable this too inclusive protection for now. Signed-off-by: Eyal Shapira <eyalx.shapira@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/mvm/tx.c')
-rw-r--r--drivers/net/wireless/iwlwifi/mvm/tx.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/tx.c b/drivers/net/wireless/iwlwifi/mvm/tx.c
index 0e3f45a8553e..21ab59ce5406 100644
--- a/drivers/net/wireless/iwlwifi/mvm/tx.c
+++ b/drivers/net/wireless/iwlwifi/mvm/tx.c
@@ -127,9 +127,6 @@ static void iwl_mvm_set_tx_cmd(struct iwl_mvm *mvm, struct sk_buff *skb,
tx_cmd->pm_frame_timeout = 0;
}
- if (info->flags & IEEE80211_TX_CTL_AMPDU)
- tx_flags |= TX_CMD_FLG_PROT_REQUIRE;
-
if (ieee80211_is_data(fc) && len > mvm->rts_threshold &&
!is_multicast_ether_addr(ieee80211_get_DA(hdr)))
tx_flags |= TX_CMD_FLG_PROT_REQUIRE;