]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: iwlwifi: mld: use a radio/system specific power budget
authorBenjamin Berg <benjamin.berg@intel.com>
Tue, 6 May 2025 19:40:56 +0000 (22:40 +0300)
committerMiri Korenblit <miriam.rachel.korenblit@intel.com>
Fri, 9 May 2025 12:36:40 +0000 (15:36 +0300)
commit2d81aefc59fbc4b948aac976238dc616e0ead9ec
tree939b8370c664ef5735e26a20fcee28a520736a30
parent61d186045b48b167c3fbb11c1bfb3ad6b3d32957
wifi: iwlwifi: mld: use a radio/system specific power budget

Different hardware has a different maximum power consumption and the
BIOS can also define a power limit for the device. Add code to select
an appropriate maximum power budget for the device and configure that
instead of using a hardcoded table.

This removes the old table. It does not work with the variable upper
limit and the there should be no consumer that requires these exact step
values.

This considerably increases the power budget for some devices and can
prevent throttling in high traffic situations.

Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Link: https://patch.msgid.link/20250506194102.3407967-10-miriam.rachel.korenblit@intel.com
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
drivers/net/wireless/intel/iwlwifi/mld/mld.h
drivers/net/wireless/intel/iwlwifi/mld/thermal.c