mirror_ubuntu-kernels/drivers/net/wireless/realtek/rtw88
Zong-Zhe Yang 6cd4b59ddb rtw88: refine fw_crash debugfs to show non-zero while triggering
The usage of fw_crash debugfs is to write 1 to it to trigger fw crash
simulation and to read from it to check the state. When zero is read,
it is supposed to mean fw crash/restart process is done. Then, some
test plans can be designed for crash/restart.
e.g.
step 1. trigger fw crash simulation
step 2. poll the state until zero is read
step 3. check connection by ping test

However, in certain connection cases, triggering fw crash simulation
will take a while. If the state is queried too early before restart
begins processing, it may mistakenly think restart process has been
done. If some tests are started at this time, something unexpected
might happen due to the follow-up restart process.

To avoid that, let fw_crash also show non-zero when a simulation
is still triggering.

Signed-off-by: Zong-Zhe Yang <kevin_yang@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20211001082301.4805-1-pkshih@realtek.com
2021-10-05 08:28:36 +03:00
..
bf.c rtw88: 8821c: add beamformee support 2020-07-15 12:08:14 +03:00
bf.h rtw88: 8723d: add beamform wrapper functions 2020-04-21 15:59:18 +03:00
coex.c rtw88: fix c2h memory leak 2021-06-24 19:21:15 +03:00
coex.h rtw88: 8822c: add CFO tracking 2021-04-18 09:38:27 +03:00
debug.c rtw88: refine fw_crash debugfs to show non-zero while triggering 2021-10-05 08:28:36 +03:00
debug.h rtw88: move adaptivity mechanism to firmware 2021-09-21 17:51:57 +03:00
efuse.c rtw88: extract: export symbols used in chip functionalities 2020-05-18 15:16:15 +03:00
efuse.h rtw88: set power trim according to efuse PG values 2020-04-21 16:00:21 +03:00
fw.c rtw88: fix RX clock gate setting while fifo dump 2021-10-05 08:27:48 +03:00
fw.h rtw88: move adaptivity mechanism to firmware 2021-09-21 17:51:57 +03:00
hci.h rtw88: add flush hci support 2021-04-11 12:24:31 +03:00
Kconfig rtw88: 8821c: Add 8821CE to Kconfig and Makefile 2020-07-15 12:08:16 +03:00
mac80211.c Lots of changes: 2021-06-28 13:06:12 -07:00
mac.c rtw88: 8822c: support FW crash dump when FW crash 2021-03-15 10:27:13 +02:00
mac.h rtw88: 8822c: support FW crash dump when FW crash 2021-03-15 10:27:13 +02:00
main.c rtw88: refine fw_crash debugfs to show non-zero while triggering 2021-10-05 08:28:36 +03:00
main.h rtw88: refine fw_crash debugfs to show non-zero while triggering 2021-10-05 08:28:36 +03:00
Makefile rtw88: wow: build wow function only if CONFIG_PM is on 2021-08-21 22:19:15 +03:00
pci.c rtw88: add quirk to disable pci caps on HP Pavilion 14-ce0xxx 2021-08-29 10:25:36 +03:00
pci.h rtw88: 8822ce: set CLKREQ# signal to low during suspend 2021-08-21 22:18:45 +03:00
phy.c rtw88: move adaptivity mechanism to firmware 2021-09-21 17:51:57 +03:00
phy.h rtw88: support adaptivity for ETSI/JP DFS region 2021-09-21 17:51:56 +03:00
ps.c rtw88: add rtw_fw_feature_check api 2021-06-22 18:20:04 +03:00
ps.h rtw88: decide lps deep mode from firmware feature. 2020-11-07 17:51:06 +02:00
reg.h rtw88: fix RX clock gate setting while fifo dump 2021-10-05 08:27:48 +03:00
regd.c rtw88: support adaptivity for ETSI/JP DFS region 2021-09-21 17:51:56 +03:00
regd.h rtw88: add regulatory strategy by chip type 2021-09-21 17:51:56 +03:00
rtw8723d_table.c rtw88: 8723d: Add mac/bb/rf/agc/power_limit tables 2020-04-21 15:59:21 +03:00
rtw8723d_table.h rtw88: 8723d: Add mac/bb/rf/agc/power_limit tables 2020-04-21 15:59:21 +03:00
rtw8723d.c rtw88: 8723de: adjust the LTR setting 2021-01-25 16:41:10 +02:00
rtw8723d.h rtw88: 8723d: add cck pd seetings 2020-11-24 11:15:22 +02:00
rtw8723de.c rtw88: pci: Add prototypes for .probe, .remove and .shutdown 2020-12-07 18:32:17 +02:00
rtw8723de.h rtw88: pci: Add prototypes for .probe, .remove and .shutdown 2020-12-07 18:32:17 +02:00
rtw8821c_table.c rtw88: 8821c: support RFE type2 wifi NIC 2021-02-08 12:51:39 +02:00
rtw8821c_table.h rtw88: 8821c: support RFE type2 wifi NIC 2021-02-08 12:51:39 +02:00
rtw8821c.c rtw88: 8821c: correct 2.4G tx power for type 2/4 NIC 2021-09-24 14:22:33 +03:00
rtw8821c.h rtw88: 8821c: support RFE type2 wifi NIC 2021-02-08 12:51:39 +02:00
rtw8821ce.c rtw88: pci: Add prototypes for .probe, .remove and .shutdown 2020-12-07 18:32:17 +02:00
rtw8821ce.h rtw88: pci: Add prototypes for .probe, .remove and .shutdown 2020-12-07 18:32:17 +02:00
rtw8822b_table.c rtw88: use rtw_phy_pg_cfg_pair struct, not arrays 2019-10-31 10:03:48 +02:00
rtw8822b_table.h rtw88: 8822b: add RFE type 3 support 2019-10-31 10:03:47 +02:00
rtw8822b.c rtw88: support adaptivity for ETSI/JP DFS region 2021-09-21 17:51:56 +03:00
rtw8822b.h rtw88: support adaptivity for ETSI/JP DFS region 2021-09-21 17:51:56 +03:00
rtw8822be.c rtw88: pci: Add prototypes for .probe, .remove and .shutdown 2020-12-07 18:32:17 +02:00
rtw8822be.h rtw88: pci: Add prototypes for .probe, .remove and .shutdown 2020-12-07 18:32:17 +02:00
rtw8822c_table.c rtw88: 8822c: update RF parameter tables to v62 2021-06-22 18:19:26 +03:00
rtw8822c_table.h rtw88: 8822c: update phy parameter tables to v50 2020-05-04 12:46:14 +03:00
rtw8822c.c rtw88: support adaptivity for ETSI/JP DFS region 2021-09-21 17:51:56 +03:00
rtw8822c.h rtw88: support adaptivity for ETSI/JP DFS region 2021-09-21 17:51:56 +03:00
rtw8822ce.c rtw88: pci: Add prototypes for .probe, .remove and .shutdown 2020-12-07 18:32:17 +02:00
rtw8822ce.h rtw88: pci: Add prototypes for .probe, .remove and .shutdown 2020-12-07 18:32:17 +02:00
rx.c rtw88: extract: export symbols used in chip functionalities 2020-05-18 15:16:15 +03:00
rx.h rtw88: Don't set RX_FLAG_DECRYPTED if packet has no encryption 2019-10-04 16:45:01 +03:00
sec.c rtw88: fill zeros to words 0x06 and 0x07 of security cam entry 2020-05-13 18:48:52 +03:00
sec.h
tx.c rtw88: adjust the log level for failure of tx report 2021-08-21 22:18:06 +03:00
tx.h rtw88: replace tx tasklet with work queue 2021-02-12 09:51:09 +02:00
util.c rtw88: extract: export symbols used in chip functionalities 2020-05-18 15:16:15 +03:00
util.h rtw88: handle and recover when firmware crash 2020-09-29 11:22:19 +03:00
wow.c rtw88: wow: report wow reason through mac80211 api 2021-08-21 22:19:15 +03:00
wow.h rtw88: Add wowlan net-detect support 2020-01-26 17:37:05 +02:00