From: Ido Yariv Date: Fri, 17 Jan 2014 02:12:02 +0000 (-0500) Subject: iwlwifi: mvm: handle platform PCIe power limitation X-Git-Tag: v3.15-rc1~113^2~289^2^2~102^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c0e2c71b4da1818693acd73d49c4971283c8e72;p=pandora-kernel.git iwlwifi: mvm: handle platform PCIe power limitation The tx backoff settings used by the thermal throttling mechanism can also be used for enforcing a limit on the power consumption of the module. Handle the platform PCIe power limitation by translating the limit (measured in mw) to its respective tx backoff value. The translation is module specific. The resulting tx backoff value is sent to the ucode, and also serves as the minimal backoff value that can be set by the thermal throttling mechanism. Signed-off-by: Ido Yariv Reviewed-by: Johannes Berg Signed-off-by: Emmanuel Grumbach --- Reading git-diff-tree failed