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

Commit 15993e08 authored by Wey-Yi Guy's avatar Wey-Yi Guy Committed by John W. Linville
Browse files

iwlwifi: add thermal throttling support to 5150



Adding legacy thermal throttling management support to 5150 NIC

Signed-off-by: default avatarWey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: default avatarReinette Chatre <reinette.chatre@intel.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent b261793d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1411,6 +1411,7 @@ static void iwl5150_temperature(struct iwl_priv *priv)
	vt = vt / IWL_5150_VOLTAGE_TO_TEMPERATURE_COEFF + offset;
	/* now vt hold the temperature in Kelvin */
	priv->temperature = KELVIN_TO_CELSIUS(vt);
	iwl_tt_handler(priv);
}

/* Calc max signal level (dBm) among 3 possible receivers */