diff options
author | Wen Gong <quic_wgong@quicinc.com> | 2023-10-10 10:27:20 +0300 |
---|---|---|
committer | Kalle Valo <quic_kvalo@quicinc.com> | 2023-10-12 19:06:28 +0300 |
commit | ae3ed72020de04dbdda5206757917117ff3a605f (patch) | |
tree | 9fd89ae89e35240f65e55df40e0dd0ebe5af4eb0 /drivers/net/wireless/ath/ath12k/hw.h | |
parent | 29ea0d40910391e95c49917a180214a9f4cea9fa (diff) |
wifi: ath12k: configure RDDM size to MHI for device recovery
RDDM is Ram Dump Debug Module which is used to debug issues when the
firmware encounters an error. The rddm_size is needed by the firmware
while MHI goes to the RDDM state. Provide the size to MHI subsystem so
that the firmware restart works when the firmware crashes.
Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0-03427-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1.15378.4
Signed-off-by: Wen Gong <quic_wgong@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20230721055305.20420-2-quic_wgong@quicinc.com
Diffstat (limited to 'drivers/net/wireless/ath/ath12k/hw.h')
-rw-r--r-- | drivers/net/wireless/ath/ath12k/hw.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath12k/hw.h b/drivers/net/wireless/ath/ath12k/hw.h index 1b4912bf57ad..2d6427cf41a4 100644 --- a/drivers/net/wireless/ath/ath12k/hw.h +++ b/drivers/net/wireless/ath/ath12k/hw.h @@ -190,6 +190,8 @@ struct ath12k_hw_params { u32 rfkill_pin; u32 rfkill_cfg; u32 rfkill_on_level; + + u32 rddm_size; }; struct ath12k_hw_ops { |