android_kernel_oneplus_msm8998/drivers/net/wireless/iwlwifi
Luca Coelho d2adb5ebec iwlwifi: pcie: fix SPLC structure parsing
commit e0d9727c111a5917a1184c71c1a8e6f78c7fc41d upstream.

The SPLC data parsing is too restrictive and was not trying find the
correct element for WiFi.  This causes problems with some BIOSes where
the SPLC method exists, but doesn't have a WiFi entry on the first
element of the list.  The domain type values are also incorrect
according to the specification.

Fix this by complying with the actual specification.

Additionally, replace all occurrences of SPLX to SPLC, since SPLX is
only a structure internal to the ACPI tables, and may not even exist.

Fixes: bcb079a14d ("iwlwifi: pcie: retrieve and parse ACPI power limitations")
Reported-by: Chris Rorvick <chris@rorvick.com>
Tested-by: Paul Bolle <pebolle@tiscali.nl>
Tested-by: Chris Rorvick <chris@rorvick.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-11-26 09:54:53 +01:00
..
dvm include/linux/kernel.h: change abs() macro so it uses consistent return type 2016-09-30 10:18:33 +02:00
mvm iwlmvm: mvm: set correct state in smart-fifo configuration 2016-10-07 15:23:44 +02:00
pcie iwlwifi: pcie: fix SPLC structure parsing 2016-11-26 09:54:53 +01:00
iwl-1000.c iwlwifi: fix max_ht_ampdu_exponent for older devices 2015-03-12 09:57:21 +02:00
iwl-2000.c iwlwifi: fix max_ht_ampdu_exponent for older devices 2015-03-12 09:57:21 +02:00
iwl-5000.c iwlwifi: fix max_ht_ampdu_exponent for older devices 2015-03-12 09:57:21 +02:00
iwl-6000.c iwlwifi: fix max_ht_ampdu_exponent for older devices 2015-03-12 09:57:21 +02:00
iwl-7000.c iwlwifi: separate firmware version for 7260 devices 2015-12-13 13:38:26 +02:00
iwl-8000.c iwlwifi: bump firmware API to 19 2015-11-15 21:18:00 +02:00
iwl-agn-hw.h
iwl-config.h iwlwifi: mvm: make threshold temperatures unsigned 2015-10-05 14:33:32 +03:00
iwl-csr.h iwlwifi: mvm: Add FW paging mechanism for the UMAC on SDIO 2015-08-04 21:30:15 +03:00
iwl-debug.c
iwl-debug.h iwlwifi: mvm: add MCC update FW API 2015-03-12 09:57:21 +02:00
iwl-devtrace-data.h iwlwifi: pcie: support frag SKBs 2015-08-04 21:29:40 +03:00
iwl-devtrace-io.h iwlwifi: Move each system tracepoints to their own header 2015-04-08 09:38:49 -04:00
iwl-devtrace-iwlwifi.h iwlwifi: add wide firmware command infrastructure for TX 2015-08-04 10:11:46 +03:00
iwl-devtrace-msg.h iwlwifi: Move each system tracepoints to their own header 2015-04-08 09:38:49 -04:00
iwl-devtrace-ucode.h iwlwifi: Move each system tracepoints to their own header 2015-04-08 09:38:49 -04:00
iwl-devtrace.c
iwl-devtrace.h iwlwifi: Move each system tracepoints to their own header 2015-04-08 09:38:49 -04:00
iwl-drv.c iwlwifi: size firmware flags memory correctly 2015-10-05 14:33:33 +03:00
iwl-drv.h iwlwifi: fix spelling errors 2015-04-02 09:29:13 +03:00
iwl-eeprom-parse.c iwlwifi: out-of-bounds access in iwl_init_sband_channels 2015-08-18 10:25:25 +03:00
iwl-eeprom-parse.h iwlwifi: mvm: forbid MIMO on devices that don't support it 2015-05-10 11:44:42 +03:00
iwl-eeprom-read.c iwlwifi: fix spelling errors 2015-04-02 09:29:13 +03:00
iwl-eeprom-read.h
iwl-fh.h iwlwifi: pcie: New RBD allocation model 2015-08-04 21:30:15 +03:00
iwl-fw-error-dump.h iwlwifi: mvm: Dump FW's virtual image in the case of a NIC error 2015-10-25 13:45:01 +02:00
iwl-fw-file.h iwlwifi: mvm: use short timeouts in P2P low latency if supported 2015-10-25 13:45:03 +02:00
iwl-fw.h iwlwifi: size firmware flags memory correctly 2015-10-05 14:33:33 +03:00
iwl-io.c iwlwifi: mvm: remove IWL_UCODE_TLV_API_HDC_PHASE_0 TLV flag 2015-09-21 18:08:34 +03:00
iwl-io.h iwlwifi: Deinline iwl_{read,write}(8,32} 2015-08-28 13:26:33 +03:00
iwl-modparams.h iwlwifi: allow disabling LAR via module param 2015-03-12 09:57:29 +02:00
iwl-notif-wait.c iwlwifi: add wide firmware command support for notifications 2015-08-04 21:29:35 +03:00
iwl-notif-wait.h iwlwifi: add wide firmware command support for notifications 2015-08-04 21:29:35 +03:00
iwl-nvm-parse.c iwlwifi: nvm: force 1x1 antenna in Series 8000 2015-10-05 12:28:44 +03:00
iwl-nvm-parse.h iwlwifi: nvm: force 1x1 antenna in Series 8000 2015-10-05 12:28:44 +03:00
iwl-op-mode.h iwlwifi: op-mode API: add rx_rss method 2015-10-05 14:33:26 +03:00
iwl-phy-db.c iwlwifi: fix spelling errors 2015-04-02 09:29:13 +03:00
iwl-phy-db.h
iwl-prph.h iwlwifi: mvm: Add FW paging mechanism for the UMAC on SDIO 2015-08-04 21:30:15 +03:00
iwl-scd.h
iwl-trans.c iwlwifi: transport: track number of allocated queues 2015-10-05 14:33:27 +03:00
iwl-trans.h iwlwifi: avoid read/write operations if the bus is dead 2015-10-25 13:45:05 +02:00
Kconfig iwlwifi: enable tracing by default 2015-10-05 12:29:00 +03:00
Makefile iwlwifi: refactor common transport alloc/init code 2015-05-28 13:32:34 +03:00