diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2013-03-19 13:40:38 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-03-20 14:17:12 +0100 |
commit | b9269262342817533a73958ff3f9b1553e9c9b7c (patch) | |
tree | a5c251bf0ab89ba11dd82e4ba90a18a731257a31 /drivers/net/wireless/iwlwifi/mvm/bt-coex.c | |
parent | iwlwifi: mvm: take the valid_{rx,tx}_ant from the TLV (diff) | |
download | linux-b9269262342817533a73958ff3f9b1553e9c9b7c.tar.xz linux-b9269262342817533a73958ff3f9b1553e9c9b7c.zip |
iwlwifi: mvm: tune the move to static SMPS due to BT load
We should disable MIMO only if bt_traffic_load goes up to 3.
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/mvm/bt-coex.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/mvm/bt-coex.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/bt-coex.c b/drivers/net/wireless/iwlwifi/mvm/bt-coex.c index 19e4cb602d76..1700232aa166 100644 --- a/drivers/net/wireless/iwlwifi/mvm/bt-coex.c +++ b/drivers/net/wireless/iwlwifi/mvm/bt-coex.c @@ -188,6 +188,8 @@ static const __le32 iwl_concurrent_lookup[BT_COEX_LUT_SIZE] = { /* BT Antenna Coupling Threshold (dB) */ #define IWL_BT_ANTENNA_COUPLING_THRESHOLD (35) +#define IWL_BT_LOAD_FORCE_SISO_THRESHOLD (3) + int iwl_send_bt_init_conf(struct iwl_mvm *mvm) { @@ -274,7 +276,7 @@ static void iwl_mvm_bt_notif_iterator(void *_data, u8 *mac, if (data->notif->bt_status) smps_mode = IEEE80211_SMPS_DYNAMIC; - if (data->notif->bt_traffic_load) + if (data->notif->bt_traffic_load >= IWL_BT_LOAD_FORCE_SISO_THRESHOLD) smps_mode = IEEE80211_SMPS_STATIC; IWL_DEBUG_COEX(data->mvm, |