projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3322354
)
iwlwifi: mvm: tune the move to static SMPS due to BT load
author
Emmanuel Grumbach
<
[email protected]
>
Tue, 19 Mar 2013 12:40:38 +0000
(14:40 +0200)
committer
Johannes Berg
<
[email protected]
>
Wed, 20 Mar 2013 13:17:12 +0000
(14:17 +0100)
We should disable MIMO only if bt_traffic_load goes up to 3.
Signed-off-by: Emmanuel Grumbach <
[email protected]
>
Signed-off-by: Johannes Berg <
[email protected]
>
drivers/net/wireless/iwlwifi/mvm/bt-coex.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/iwlwifi/mvm/bt-coex.c
b/drivers/net/wireless/iwlwifi/mvm/bt-coex.c
index 19e4cb602d76bf881907de4c2e7da529c44e5930..1700232aa1665d6eb1fe18acbc095826a818d3d0 100644
(file)
--- 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,