]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: ignore temperature updates in the RX statistics notification
authorLuciano Coelho <luciano.coelho@intel.com>
Wed, 14 Jan 2015 19:39:34 +0000 (21:39 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 22 Jan 2015 15:54:09 +0000 (17:54 +0200)
commit45752a6f467d4a487372b24b0958ab4d2cd3a15d
treed6cd78fb01d254dbe8097cb6548657db8b25858d
parent8d2568f84b18527bc76b7f8bc9de063495825d63
iwlwifi: mvm: ignore temperature updates in the RX statistics notification

If the firmware sends spontaneous DTS notfications with the
temperature (indicated in a TLV), we can ignore the temperature we get
in the RX statistics notifications.  This prevents potentially
handling the same temperature change twice.  It also ignores
notifications with temperature equal to 0 that happens from time to
time.

Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/iwl-fw-file.h
drivers/net/wireless/iwlwifi/mvm/rx.c