bianbu-linux-6.6/drivers/net/wireless/intel/iwlwifi
Sara Sharon fe56d05ee6 iwlwifi: mvm: fix kernel panic in case of assert during CSA
During CSA, we briefly nullify the phy context, in __iwl_mvm_unassign_vif_chanctx.
In case we have a FW assert right after it, it remains NULL though.
We end up running into endless loop due to mac80211 trying repeatedly to
move us to ASSOC state, and we keep returning -EINVAL. Later down the road
we hit a kernel panic.

Detect and avoid this endless loop.

Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/iwlwifi.20201107104557.d64de2c17bff.Iedd0d2afa20a2aacba5259a5cae31cb3a119a4eb@changeid
2020-11-10 20:45:36 +02:00
..
cfg iwlwifi: bump FW API to 59 for AX devices 2020-10-08 20:15:03 +03:00
dvm iwlwifi: dvm: devices: Fix function documentation formatting issues 2020-10-08 13:43:52 +03:00
fw iwlwifi: mvm: properly cancel a session protection for P2P 2020-11-10 20:45:32 +02:00
mvm iwlwifi: mvm: fix kernel panic in case of assert during CSA 2020-11-10 20:45:36 +02:00
pcie iwlwifi: pcie: set LTR to avoid completion timeout 2020-11-10 20:45:35 +02:00
queue iwlwifi: pcie: make iwl_pcie_txq_update_byte_cnt_tbl bus independent 2020-10-01 22:02:23 +03:00
iwl-agn-hw.h iwlwifi: remove all occurrences of the FSF address paragraph 2018-08-31 11:38:33 +03:00
iwl-config.h iwlwifi: pcie: fix xtal latency for 9560 devices 2020-10-08 20:14:48 +03:00
iwl-context-info-gen3.h iwlwifi: pcie: implement set_pnvm op 2020-10-08 20:15:00 +03:00
iwl-context-info.h iwlwifi: pcie: implement set_pnvm op 2020-10-08 20:15:00 +03:00
iwl-csr.h iwlwifi: pcie: set LTR to avoid completion timeout 2020-11-10 20:45:35 +02:00
iwl-dbg-tlv.c iwlwifi: yoyo: add support for internal buffer allocation in D3 2020-10-01 22:02:28 +03:00
iwl-dbg-tlv.h iwlwifi: yoyo: don't allow changing the domain via debugfs 2020-01-04 12:41:55 +02:00
iwl-debug.c net: iwlwifi: Remove in_interrupt() from tracing macro. 2020-09-29 14:02:55 -07:00
iwl-debug.h iwlwifi: mvm: add d3 prints 2020-10-01 22:00:59 +03:00
iwl-devtrace-data.h iwlwifi: pcie: trace IOVA for iwlwifi_dev_tx_tb 2019-11-20 12:28:55 +02:00
iwl-devtrace-io.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 322 2019-06-05 17:37:05 +02:00
iwl-devtrace-iwlwifi.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 322 2019-06-05 17:37:05 +02:00
iwl-devtrace-msg.h net: iwlwifi: Remove in_interrupt() from tracing macro. 2020-09-29 14:02:55 -07:00
iwl-devtrace-ucode.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 322 2019-06-05 17:37:05 +02:00
iwl-devtrace.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 322 2019-06-05 17:37:05 +02:00
iwl-devtrace.h iwlwifi: fix warning iwl-trans.h is included more than once 2019-09-06 15:52:05 +03:00
iwl-drv.c iwlwifi: mvm: get number of stations from TLV 2020-10-08 20:09:25 +03:00
iwl-drv.h iwlwifi: remove outdated copyright print/module statement 2020-05-08 09:53:06 +03:00
iwl-eeprom-parse.c iwlwifi: always access the trans configuration via trans 2019-09-06 15:52:04 +03:00
iwl-eeprom-parse.h iwlwifi: always access the trans configuration via trans 2019-09-06 15:52:04 +03:00
iwl-eeprom-read.c iwlwifi: always access the trans configuration via trans 2019-09-06 15:52:04 +03:00
iwl-eeprom-read.h iwlwifi: remove all occurrences of the FSF address paragraph 2018-08-31 11:38:33 +03:00
iwl-fh.h iwlwifi: use longer queues for 256-BA 2020-05-08 09:52:56 +03:00
iwl-io.c iwlwifi: remove CSR registers abstraction 2019-12-23 11:54:32 +02:00
iwl-io.h iwlwifi: don't access trans_cfg via cfg 2019-10-09 13:01:03 +03:00
iwl-modparams.h iwlwifi: remove antenna_coupling module parameter 2020-05-08 09:50:42 +03:00
iwl-nvm-parse.c iwlwifi: regulatory: regulatory capabilities api change 2020-10-01 21:57:22 +03:00
iwl-nvm-parse.h iwlwifi: regulatory: regulatory capabilities api change 2020-10-01 21:57:22 +03:00
iwl-op-mode.h iwlwifi: Replace zero-length array with flexible-array 2020-06-10 15:22:16 +03:00
iwl-phy-db.c iwlwifi: remove all occurrences of the FSF address paragraph 2018-08-31 11:38:33 +03:00
iwl-phy-db.h iwlwifi: remove all occurrences of the FSF address paragraph 2018-08-31 11:38:33 +03:00
iwl-prph.h iwlwifi: mvm: ring the doorbell and wait for PNVM load completion 2020-10-08 20:09:28 +03:00
iwl-scd.h iwlwifi: remove all occurrences of the FSF address paragraph 2018-08-31 11:38:33 +03:00
iwl-trans.c Revert "iwlwifi: remove wide_cmd_header field" 2020-10-09 18:04:50 +03:00
iwl-trans.h Revert "iwlwifi: remove wide_cmd_header field" 2020-10-09 18:04:50 +03:00
Kconfig First set of patches intended for v5.9 2020-06-15 20:23:23 +03:00
Makefile iwlwifi: move PNVM implementation to common code 2020-10-08 20:14:58 +03:00