linux/drivers/net/wireless/ath/ath11k
Baochen Qiang 71c748b5e0 ath11k: Fix unexpected return buffer manager error for QCA6390
We are seeing below error on QCA6390:
...
[70211.671189] ath11k_pci 0000:72:00.0: failed to parse rx error in wbm_rel ring desc -22
[70212.696154] ath11k_pci 0000:72:00.0: failed to parse rx error in wbm_rel ring desc -22
[70213.092941] ath11k_pci 0000:72:00.0: failed to parse rx error in wbm_rel ring desc -22
...

The reason is that, with commit 734223d784 ("ath11k: change return
buffer manager for QCA6390"), ath11k expects the return buffer manager
(RBM) field of descriptor configured as HAL_RX_BUF_RBM_SW1_BM when
parsing error frames from WBM2SW3_RELEASE ring. This is a wrong change
cause the RBM field is set as HAL_RX_BUF_RBM_SW3_BM.

The same issue also applies to REO2TCL ring though we have not got any
error reported.

Fix it by changing RBM from HAL_RX_BUF_RBM_SW1_BM to HAL_RX_BUF_RBM_SW3_BM
for these two rings.

Tested-on: QCA6390 hw2.0 PCI WLAN.HST.1.0.1-01740-QCAHSTSWPLZ_V2_TO_X86-1

Fixes: 734223d784 ("ath11k: change return buffer manager for QCA6390")
Signed-off-by: Baochen Qiang <quic_bqiang@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20211222013536.582527-1-quic_bqiang@quicinc.com
2021-12-22 19:39:13 +02:00
..
ahb.c ath11k: Fix napi related hang 2021-12-22 08:02:35 +02:00
ahb.h ath11k: Remove rproc references from common core layer 2020-09-21 16:11:28 +03:00
ce.c ath11k: Disabling credit flow for WMI path 2021-11-17 09:28:04 +02:00
ce.h ath11k: Disabling credit flow for WMI path 2021-11-17 09:28:04 +02:00
core.c ath11k: add support of firmware logging for WCN6855 2021-12-22 08:03:13 +02:00
core.h ath11k: Fix napi related hang 2021-12-22 08:02:35 +02:00
dbring.c ath11k: add spectral/CFR buffer validation support 2021-12-09 10:14:20 +02:00
dbring.h ath11k: add spectral/CFR buffer validation support 2021-12-09 10:14:20 +02:00
debug.c ath11k: add trace log support 2021-11-17 09:29:34 +02:00
debug.h ath11k: add trace log support 2021-11-17 09:29:34 +02:00
debugfs_htt_stats.c ath11k: add HTT stats support for new stats 2021-09-28 16:53:15 +03:00
debugfs_htt_stats.h ath11k: add HTT stats support for new stats 2021-09-28 16:53:15 +03:00
debugfs_sta.c ath11k: report tx bitrate for iw wlan station dump 2021-12-20 20:29:01 +02:00
debugfs_sta.h ath11k: report tx bitrate for iw wlan station dump 2021-12-20 20:29:01 +02:00
debugfs.c ath11k: report rssi of each chain to mac80211 for QCA6390/WCN6855 2021-12-20 18:05:29 +02:00
debugfs.h ath11k: report rssi of each chain to mac80211 for QCA6390/WCN6855 2021-12-20 18:05:29 +02:00
dp_rx.c ath11k: Fix unexpected return buffer manager error for QCA6390 2021-12-22 19:39:13 +02:00
dp_rx.h ath11k: Clear the fragment cache during key install 2021-05-11 20:16:21 +02:00
dp_tx.c ath11k: report tx bitrate for iw wlan station dump 2021-12-20 20:29:01 +02:00
dp_tx.h ath11k: report tx bitrate for iw wlan station dump 2021-12-20 20:29:01 +02:00
dp.c ath11k: Process full monitor mode rx support 2021-12-09 10:10:33 +02:00
dp.h ath11k: Process full monitor mode rx support 2021-12-09 10:10:33 +02:00
hal_desc.h ath11k: add software monitor ring descriptor for full monitor 2021-12-09 10:10:32 +02:00
hal_rx.c ath11k: Fix unexpected return buffer manager error for QCA6390 2021-12-22 19:39:13 +02:00
hal_rx.h ath11k: report tx bitrate for iw wlan station dump 2021-12-20 20:29:01 +02:00
hal_tx.c ath11k: add data path support for QCN9074 2021-02-17 11:32:51 +02:00
hal_tx.h ath11k: add hal support for QCN9074 2021-02-17 11:32:48 +02:00
hal.c ath11k: Avoid false DEADLOCK warning reported by lockdep 2021-12-13 11:49:22 +02:00
hal.h ath11k: Avoid false DEADLOCK warning reported by lockdep 2021-12-13 11:49:22 +02:00
hif.h ath11k: add CE interrupt support for QCN9074 2021-02-17 11:32:58 +02:00
htc.c ath11k: Disabling credit flow for WMI path 2021-11-17 09:28:04 +02:00
htc.h ath11k: Disabling credit flow for WMI path 2021-11-17 09:28:04 +02:00
hw.c ath11k: add ab to TARGET_NUM_VDEVS & co 2021-12-14 17:32:33 +02:00
hw.h ath11k: add support of firmware logging for WCN6855 2021-12-22 08:03:13 +02:00
Kconfig ath11k: use remoteproc only with AHB devices 2020-08-17 13:07:17 +03:00
mac.c ath11k: add support for hardware rfkill for QCA6390 2021-12-20 20:29:22 +02:00
mac.h ath11k: add support for hardware rfkill for QCA6390 2021-12-20 20:29:22 +02:00
Makefile ath11k: implement WoW enable and wakeup commands 2020-12-12 06:41:37 +02:00
mhi.c wireless-drivers-next patches for v5.17 2021-12-17 07:30:07 -08:00
mhi.h ath11k: mhi: hook suspend and resume 2020-12-12 06:41:16 +02:00
pci.c ath11k: Fix napi related hang 2021-12-22 08:02:35 +02:00
pci.h ath11k: refactor multiple MSI vector implementation 2021-11-22 13:11:02 +02:00
peer.c ath11k: fix 4addr multicast packet tx 2021-09-16 12:15:40 +03:00
peer.h ath11k: fix fw crash due to peer get authorized before key install 2021-11-15 11:14:58 +02:00
qmi.c ath11k: add support of firmware logging for WCN6855 2021-12-22 08:03:13 +02:00
qmi.h ath11k: add support of firmware logging for WCN6855 2021-12-22 08:03:13 +02:00
reg.c ath11k: add 11d scan offload support 2021-12-08 10:33:31 +02:00
reg.h ath11k: Avoid race during regd updates 2021-09-28 13:57:32 +03:00
rx_desc.h ath11k: add dp support for WCN6855 2021-06-12 13:31:02 +03:00
spectral.c ath11k: add spectral/CFR buffer validation support 2021-12-09 10:14:20 +02:00
spectral.h ath11k: add support for spectral scan 2020-06-15 17:21:54 +03:00
testmode_i.h
testmode.c ath11k: remove repeated words in comments and warnings 2020-10-28 15:44:04 +02:00
testmode.h
thermal.c net: ath11k: constify ath11k_thermal_ops 2020-08-26 16:21:17 -07:00
thermal.h ath11k: fix compiler warnings without CONFIG_THERMAL 2020-04-06 17:21:23 +03:00
trace.c ath11k: add trace log support 2021-11-17 09:29:34 +02:00
trace.h ath11k: add support of firmware logging for WCN6855 2021-12-22 08:03:13 +02:00
wmi.c ath11k: add support of firmware logging for WCN6855 2021-12-22 08:03:13 +02:00
wmi.h ath11k: add support for hardware rfkill for QCA6390 2021-12-20 20:29:22 +02:00
wow.c ath11k: implement WoW enable and wakeup commands 2020-12-12 06:41:37 +02:00
wow.h ath11k: implement WoW enable and wakeup commands 2020-12-12 06:41:37 +02:00