1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/wireless/intel/iwlwifi/mvm
Luca Coelho 2eabc84d2f iwlwifi: mvm: only send LEDS_CMD when the FW supports it
The LEDS_CMD command is only supported in some newer FW versions
(e.g. iwlwifi-8000C-31.ucode), so we can't send it to older versions
(such as iwlwifi-8000C-27.ucode).

To fix this, check for a new bit in the FW capabilities TLV that tells
when the command is supported.

Note that the current version of -31.ucode in linux-firmware.git
(31.532993.0) does not have this capability bit set, so the LED won't
work, even though this version should support it.  But we will update
this firmware soon, so it won't be a problem anymore.

Fixes: 7089ae634c ("iwlwifi: mvm: use firmware LED command where applicable")
Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2017-09-07 19:40:09 +03:00
..
binding.c iwlwifi: mvm: memset binding before setting values 2017-04-25 23:06:51 +03:00
coex.c iwlwifi: mvm: support new Coex firmware API 2017-08-18 16:03:40 +03:00
constants.h iwlwifi: mvm: change open and close criteria of a BA session 2017-08-18 17:24:04 +03:00
d3.c iwlwifi: unify external & internal modparam names 2017-06-29 13:26:25 +03:00
debugfs-vif.c iwlwifi: reorganize firmware API 2017-08-01 12:41:43 +03:00
debugfs.c iwlwifi: move BT_MBOX_PRINT macro to common header 2017-08-18 16:10:44 +03:00
debugfs.h iwlwifi: change the Intel Wireless email address 2015-12-01 21:17:55 +02:00
fw-api.h iwlwifi: mvm: use firmware LED command where applicable 2017-08-09 09:15:32 +03:00
fw.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers.git 2017-08-24 14:47:42 +03:00
led.c iwlwifi: mvm: only send LEDS_CMD when the FW supports it 2017-09-07 19:40:09 +03:00
mac-ctxt.c iwlwifi: mvm: support new beacon template command 2017-08-09 21:14:41 +03:00
mac80211.c iwlwifi: mvm: Avoid deferring non bufferable frames 2017-08-30 12:30:56 +03:00
Makefile iwlwifi: refactor firmware debug code 2017-08-01 12:41:43 +03:00
mvm.h iwlwifi: mvm: remove useless argument in iwl_nvm_init() 2017-08-18 17:36:42 +03:00
nvm.c iwlwifi: use big-endian for the hw section of the nvm 2017-08-18 17:36:42 +03:00
offloading.c iwlwifi: mvm: change protocol offload flows 2015-12-16 10:19:53 +02:00
ops.c iwlwifi: mvm: add command name for FRAME_RELEASE 2017-08-18 16:05:00 +03:00
phy-ctxt.c iwlwifi: reorganize firmware API 2017-08-01 12:41:43 +03:00
power.c iwlwifi: reorganize firmware API 2017-08-01 12:41:43 +03:00
quota.c iwlwifi: mvm: support setting minimum quota from debugfs 2016-02-01 16:40:23 +02:00
rs.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers.git 2017-08-24 14:47:42 +03:00
rs.h iwlwifi: mvm: support aggs of 64 frames in A000 family 2017-06-29 13:26:25 +03:00
rx.c iwlwifi: refactor firmware debug code 2017-08-01 12:41:43 +03:00
rxmq.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers.git 2017-08-24 14:47:42 +03:00
scan.c iwlwifi: mvm: add compile-time option to disable EBS 2017-08-01 12:41:45 +03:00
sf.c iwlwifi: mvm: prepare for station count change 2017-04-19 22:20:51 +03:00
sta.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers.git 2017-08-24 14:47:42 +03:00
sta.h iwlwifi: mvm: change open and close criteria of a BA session 2017-08-18 17:24:04 +03:00
tdls.c iwlwifi: mvm: use schedule_delayed_work() 2017-06-05 23:34:26 +03:00
testmode.h iwlwifi: change the Intel Wireless email address 2015-12-01 21:17:55 +02:00
time-event.c iwlwifi: mvm: remove session protection to allow channel switch 2017-08-18 16:10:43 +03:00
time-event.h iwlwifi: mvm: extend time event duration 2016-03-07 13:34:16 +02:00
tof.c iwlwifi: reorganize firmware API 2017-08-01 12:41:43 +03:00
tof.h iwlwifi: reorganize firmware API 2017-08-01 12:41:43 +03:00
tt.c iwlwifi: mvm: add debugfs to force CT-kill 2017-08-09 09:30:15 +03:00
tx.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers.git 2017-08-24 14:47:42 +03:00
utils.c iwlwifi: reorganize firmware API 2017-08-01 12:41:43 +03:00