iwlwifi: mvm: don't enable protection for all AMPDUs
authorEyal Shapira <eyal@wizery.com>
Thu, 13 Mar 2014 11:53:00 +0000 (13:53 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 16 Mar 2014 06:55:30 +0000 (08:55 +0200)
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>
drivers/net/wireless/iwlwifi/mvm/tx.c

index 0e3f45a8553ed654c21ccc3bfce637349820e7ea..21ab59ce54064e2af13ad52857419deedbcb1797 100644 (file)
@@ -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;