2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/drivers/net/wireless/intel/iwlwifi
Johannes Berg 12a89f0177 wifi: iwlwifi: remove 'use_tfh' config to fix crash
This is equivalent to 'gen2', and it was always confusing to have
two identical config entries. The split config patch actually had
been originally developed after removing 'use_tfh" and didn't add
the use_tfh in the new configs as they'd later been copied to the
new files. Thus the easiest way to fix the init crash here now is
to just remove use_tfh (which is erroneously unset in most of the
configs now) and use 'gen2' in the code instead.

There's possibly still an unwind error in iwl_txq_gen2_init() as
it crashes if TXQ 0 fails to initialize, but we can deal with it
later since the original failure is due to the use_tfh confusion.

Tested-by: Xi Ruoyao <xry111@xry111.site>
Reported-and-tested-by: Niklāvs Koļesņikovs <pinkflames.linux@gmail.com>
Reported-and-tested-by: Jeff Chua <jeff.chua.linux@gmail.com>
Reported-and-tested-by: Zhang Rui <rui.zhang@intel.com>
Link: https://bugzilla.kernel.org/show_bug.cgi?id=217622
Link: https://lore.kernel.org/all/9274d9bd3d080a457649ff5addcc1726f08ef5b2.camel@xry111.site/
Link: https://lore.kernel.org/all/CAAJw_Zug6VCS5ZqTWaFSr9sd85k%3DtyPm9DEE%2BmV%3DAKoECZM%2BsQ@mail.gmail.com/
Fixes: 19898ce9cf ("wifi: iwlwifi: split 22000.c into multiple files")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Link: https://lore.kernel.org/r/20230710145038.84186-2-johannes@sipsolutions.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2023-07-11 20:26:06 -07:00
..
cfg wifi: iwlwifi: remove 'use_tfh' config to fix crash 2023-07-11 20:26:06 -07:00
dvm wifi: iwlwifi: dvm: fix -Wunused-const-variable gcc warning 2023-06-19 14:35:29 +02:00
fw wifi: iwlwifi: mvm: Add support for IGTK in D3 resume flow 2023-06-21 14:14:40 +02:00
mei wifi: iwlwifi: iwlmei: fix compilation error 2023-06-06 13:38:21 +02:00
mvm wifi: iwlwifi: remove 'use_tfh' config to fix crash 2023-07-11 20:26:06 -07:00
pcie wifi: iwlwifi: remove 'use_tfh' config to fix crash 2023-07-11 20:26:06 -07:00
queue wifi: iwlwifi: remove 'use_tfh' config to fix crash 2023-07-11 20:26:06 -07:00
iwl-agn-hw.h
iwl-config.h wifi: iwlwifi: remove 'use_tfh' config to fix crash 2023-07-11 20:26:06 -07:00
iwl-context-info-gen3.h wifi: iwlwifi: Enable loading of reduce-power tables into several segments 2023-06-06 13:44:52 +02:00
iwl-context-info.h wifi: iwlwifi: Generalize the parsing of the pnvm image 2023-06-06 13:43:06 +02:00
iwl-csr.h wifi: iwlwifi: Add RF Step Type for BZ device 2023-04-14 13:15:26 +02:00
iwl-dbg-tlv.c wifi: iwlwifi: dbg-tlv: clear FW debug memory on init 2023-06-14 12:32:21 +02:00
iwl-dbg-tlv.h iwlwifi: Configure FW debug preset via module param. 2022-03-10 09:23:27 +02:00
iwl-debug.c wifi: iwlwifi: debug: fix crash in __iwl_err() 2023-04-13 16:29:58 +02:00
iwl-debug.h
iwl-devtrace-data.h
iwl-devtrace-io.h
iwl-devtrace-iwlwifi.h
iwl-devtrace-msg.h tracing/iwlwifi: Use the new __vstring() helper 2022-07-15 17:44:40 -04:00
iwl-devtrace-ucode.h
iwl-devtrace.c wifi: iwlwifi: Avoid disabling GCC specific flag with clang 2023-03-16 08:51:56 +01:00
iwl-devtrace.h
iwl-drv.c wifi: iwlwifi: cfg: remove trailing dash from FW_PRE constants 2023-06-21 14:07:01 +02:00
iwl-drv.h wifi: iwlwifi: unify Bz/Gl device configurations 2023-06-21 14:07:01 +02:00
iwl-eeprom-parse.c
iwl-eeprom-parse.h wifi: iwlwifi: nvm: Update HE capabilities on 6GHz band for EHT device 2023-04-13 16:30:00 +02:00
iwl-eeprom-read.c
iwl-eeprom-read.h
iwl-fh.h wifi: iwlwifi: remove 'use_tfh' config to fix crash 2023-07-11 20:26:06 -07:00
iwl-io.c wifi: iwlwifi: unify checks for HW error values 2023-06-14 12:32:18 +02:00
iwl-io.h
iwl-modparams.h wifi: iwlwifi: mvm: Advertise EHT capabilities 2022-11-28 17:52:51 +02:00
iwl-nvm-parse.c wifi: iwlwifi: limit EHT capabilities based on PCIe link speed 2023-06-21 14:02:15 +02:00
iwl-nvm-parse.h wifi: iwlwifi: update response for mcc_update command 2023-06-14 12:32:17 +02:00
iwl-op-mode.h
iwl-phy-db.c
iwl-phy-db.h
iwl-prph.h wifi: iwlwifi: fw: Add new FSEQ defines to fw dump 2023-06-19 12:05:25 +02:00
iwl-scd.h
iwl-trans.c wifi: iwlwifi: remove 'use_tfh' config to fix crash 2023-07-11 20:26:06 -07:00
iwl-trans.h wifi: iwlwifi: limit EHT capabilities based on PCIe link speed 2023-06-21 14:02:15 +02:00
Kconfig wifi: iwlwifi: Mark IWLMEI as broken 2022-09-12 14:22:55 +03:00
Makefile wifi: iwlwifi: split 22000.c into multiple files 2023-06-21 14:07:00 +02:00