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

Commit 783eaee6 authored by Alexander Bondar's avatar Alexander Bondar Committed by Emmanuel Grumbach
Browse files

iwlwifi: rs: disable MIMO only if allowed in configuration



Fix bug where MIMO is disabled for low latency TX on P2P VIF
regardless of configuration. Make it dependent on
IWL_MVM_RS_DISABLE_P2P_MIMO compilation option. Change configuration
so that MIMO will be disabled only in SDIO platforms.

Signed-off-by: default avatarAlexander Bondar <alexander.bondar@intel.com>
Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
parent 3c22a0ed
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -177,7 +177,8 @@ static bool rs_mimo_allow(struct iwl_mvm *mvm, struct ieee80211_sta *sta,


	mvmsta = iwl_mvm_sta_from_mac80211(sta);
	mvmsta = iwl_mvm_sta_from_mac80211(sta);
	mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif);
	mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif);
	if (iwl_mvm_vif_low_latency(mvmvif) && mvmsta->vif->p2p)
	if (IWL_MVM_RS_DISABLE_P2P_MIMO &&
	    iwl_mvm_vif_low_latency(mvmvif) && mvmsta->vif->p2p)
		return false;
		return false;


	if (mvm->nvm_data->sku_cap_mimo_disabled)
	if (mvm->nvm_data->sku_cap_mimo_disabled)