Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b9269262 authored by Emmanuel Grumbach's avatar Emmanuel Grumbach Committed by Johannes Berg
Browse files

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: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 33223542
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -188,6 +188,8 @@ static const __le32 iwl_concurrent_lookup[BT_COEX_LUT_SIZE] = {


/* BT Antenna Coupling Threshold (dB) */
/* BT Antenna Coupling Threshold (dB) */
#define IWL_BT_ANTENNA_COUPLING_THRESHOLD	(35)
#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)
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)
	if (data->notif->bt_status)
		smps_mode = IEEE80211_SMPS_DYNAMIC;
		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;
		smps_mode = IEEE80211_SMPS_STATIC;


	IWL_DEBUG_COEX(data->mvm,
	IWL_DEBUG_COEX(data->mvm,