mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-02 02:34:05 +08:00
iwlwifi: mvm: rs: avoid TPC while in search cycle
TPC is a power optimization which should only be attempted when we're in the "stay in column" state after we've locked onto an optimal rate. Signed-off-by: Eyal Shapira <eyalx.shapira@intel.com> Reviewed-by: Eliad Peller <eliad@wizery.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
This commit is contained in:
parent
1e9551deba
commit
e6c8d602dc
@ -2185,6 +2185,7 @@ static void rs_rate_scale_perform(struct iwl_mvm *mvm,
|
|||||||
break;
|
break;
|
||||||
case RS_ACTION_STAY:
|
case RS_ACTION_STAY:
|
||||||
/* No change */
|
/* No change */
|
||||||
|
if (lq_sta->rs_state == RS_STATE_STAY_IN_COLUMN)
|
||||||
update_lq = rs_tpc_perform(mvm, sta, lq_sta, tbl);
|
update_lq = rs_tpc_perform(mvm, sta, lq_sta, tbl);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user