]> Pileus Git - ~andy/linux/commitdiff
iwlwifi: mvm: BT Coex - fine tune the aggregation size
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 13 Nov 2013 20:00:30 +0000 (22:00 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 9 Dec 2013 20:29:05 +0000 (22:29 +0200)
Latest tests have shown that when BT is active and has
connections but the traffic is low, the WiFi aggregation can
be large up to 4000us without noticeable impact on BT.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/bt-coex.c

index 75b72a956552759685613c249f51a31926059a8f..75c3e0b6e07781937df5f42ac50138b373269fe9 100644 (file)
@@ -921,7 +921,7 @@ u16 iwl_mvm_bt_coex_agg_time_limit(struct iwl_mvm *mvm,
        enum iwl_bt_coex_lut_type lut_type;
 
        if (le32_to_cpu(mvm->last_bt_notif.bt_activity_grading) <
-           BT_LOW_TRAFFIC)
+           BT_HIGH_TRAFFIC)
                return LINK_QUAL_AGG_TIME_LIMIT_DEF;
 
        lut_type = iwl_get_coex_type(mvm, mvmsta->vif);