]> asedeno.scripts.mit.edu Git - linux.git/commit
iwlwifi: mvm: update the DTS measurement type
authorGolan Ben Ami <golan.ben.ami@intel.com>
Fri, 31 Jan 2020 13:45:26 +0000 (15:45 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 3 Feb 2020 18:09:10 +0000 (20:09 +0200)
commit6bd5fa332a8c24c8b9079a70c44240b61858fab8
tree0971f1bf90b8ed655485c5a9784a15eff0497aa1
parent197288d5ba8a5289f22d3aeb4fca3824bfd9b4af
iwlwifi: mvm: update the DTS measurement type

Till now, the driver asked the fw for a DTS measurement in automatic
mode. This triggered a flow in which the fw actively measured the
temperature.  This is not needed anymore, as the fw performs
measurements by itself, without the driver triggering them, and the
current cadence in which the fw performs such measurements is
sufficient.

In addition, in some time-sensitive scenarios, in which the driver asks
the fw for an active measurement twice in a short time (<100ms), the fw
asserts with code 0x20100801.

Change the DTS measurement to _WITHOUT_MEASURE instead, so the fw will
respond with the last measurement it has performed.

Signed-off-by: Golan Ben Ami <golan.ben.ami@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/intel/iwlwifi/mvm/tt.c