Skip to content

Commit b1a2e5c

Browse files
committed
wifi: iwlwifi: mvm: set siso/mimo chains to 1 in FW SMPS request
The firmware changed their mind, don't set the chains to zero, instead set them to 1 as we normally would for connections to APs that don't use MIMO. Fixes: 2a7ce54 ("iwlwifi: mvm: honour firmware SMPS requests") Signed-off-by: Johannes Berg <[email protected]> Reviewed-by: Luciano Coelho <[email protected]> Signed-off-by: Miri Korenblit <[email protected]> Link: https://msgid.link/20231219215605.7f031f1a127f.Idc816e0f604b07d22a9d5352bc23c445512fad14@changeid Signed-off-by: Johannes Berg <[email protected]>
1 parent e993af2 commit b1a2e5c

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

drivers/net/wireless/intel/iwlwifi/mvm/phy-ctxt.c

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -99,17 +99,6 @@ static void iwl_mvm_phy_ctxt_set_rxchain(struct iwl_mvm *mvm,
9999
active_cnt = 2;
100100
}
101101

102-
/*
103-
* If the firmware requested it, then we know that it supports
104-
* getting zero for the values to indicate "use one, but pick
105-
* which one yourself", which means it can dynamically pick one
106-
* that e.g. has better RSSI.
107-
*/
108-
if (mvm->fw_static_smps_request && active_cnt == 1 && idle_cnt == 1) {
109-
idle_cnt = 0;
110-
active_cnt = 0;
111-
}
112-
113102
*rxchain_info = cpu_to_le32(iwl_mvm_get_valid_rx_ant(mvm) <<
114103
PHY_RX_CHAIN_VALID_POS);
115104
*rxchain_info |= cpu_to_le32(idle_cnt << PHY_RX_CHAIN_CNT_POS);

0 commit comments

Comments
 (0)