iwlwifi: thermal: support new temperature measurement API
authorGil Adam <gil.adam@intel.com>
Wed, 30 Sep 2020 13:31:22 +0000 (16:31 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Thu, 1 Oct 2020 19:01:00 +0000 (22:01 +0300)
commit762c523f95b8fbdcd53a2652c5857ce430d27a90
treeb542df52551e78c6d08c644c4d34fa176403272a
parent42f8a2735cc218b6b372134684d4cd3c1423f123
iwlwifi: thermal: support new temperature measurement API

New API for temperature measurement (DTS_MEASUREMENT_TRIGGER)
involves getting an immediate response from FW, and not waiting
for a notification like in previous APIs. Support new API while
keeping backwards compatibility.

Signed-off-by: Gil Adam <gil.adam@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20200930161256.b4893554d8e7.Ia4d7f389d4ac3256fcfe3ce6144e924dd6dbf6eb@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/api/phy.h
drivers/net/wireless/intel/iwlwifi/mvm/tt.c