]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
iwlwifi: mvm: BT Coex - start AMPDU even when BT is active
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 6 Oct 2013 08:04:43 +0000 (11:04 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 11 Oct 2013 07:58:36 +0000 (09:58 +0200)
Tests have shown that we should start AMPDU even when BT
is active. So remove that constraint.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/mvm/rs.c

index a8bd0ede8f51f431c3ce5ae25ac5ea6fa8ff4813..dfd8025a7de76bfbf98bdebb5d47a174e60ceb06 100644 (file)
@@ -309,17 +309,6 @@ static int rs_tl_turn_on_agg_for_tid(struct iwl_mvm *mvm,
 {
        int ret = -EAGAIN;
 
-       /*
-        * Don't create TX aggregation sessions when in high
-        * BT traffic, as they would just be disrupted by BT.
-        */
-       if (le32_to_cpu(mvm->last_bt_notif.bt_activity_grading) >= 2) {
-               IWL_DEBUG_COEX(mvm, "BT traffic (%d), no aggregation allowed\n",
-                              BT_MBOX_MSG(&mvm->last_bt_notif,
-                                          3, TRAFFIC_LOAD));
-               return ret;
-       }
-
        IWL_DEBUG_HT(mvm, "Starting Tx agg: STA: %pM tid: %d\n",
                     sta->addr, tid);
        ret = ieee80211_start_tx_ba_session(sta, tid, 5000);