mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2025-08-07 23:11:37 +00:00
Update to version 6.14.11 Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
32 lines
1.1 KiB
Diff
32 lines
1.1 KiB
Diff
From 64f6f6cdde0b6b763181145a698207fad4536c06 Mon Sep 17 00:00:00 2001
|
|
From: Ziyang Huang <hzyitc@outlook.com>
|
|
Date: Wed, 9 Aug 2023 17:44:49 +0000
|
|
Subject: [PATCH] wifi: ath11k: Support to assign m3 dump memory
|
|
|
|
Signed-off-by: Ziyang Huang <hzyitc@outlook.com>
|
|
---
|
|
drivers/net/wireless/ath/ath11k/qmi.c | 12 ++++++++++++
|
|
1 file changed, 12 insertions(+)
|
|
|
|
--- a/drivers/net/wireless/ath/ath11k/qmi.c
|
|
+++ b/drivers/net/wireless/ath/ath11k/qmi.c
|
|
@@ -2106,6 +2106,18 @@ static int ath11k_qmi_assign_target_mem_
|
|
ab->qmi.target_mem[idx].type = ab->qmi.target_mem[i].type;
|
|
idx++;
|
|
break;
|
|
+ case M3_DUMP_REGION_TYPE:
|
|
+ if (of_property_read_u32(dev->of_node, "qcom,m3-dump-addr", &addr)) {
|
|
+ ath11k_warn(ab, "qmi fail to get qcom,m3-dump-addr, ignore m3 dump mem req\n");
|
|
+ break;
|
|
+ }
|
|
+
|
|
+ ab->qmi.target_mem[idx].paddr = (phys_addr_t) addr;
|
|
+ ab->qmi.target_mem[idx].vaddr = NULL;
|
|
+ ab->qmi.target_mem[idx].size = ab->qmi.target_mem[i].size;
|
|
+ ab->qmi.target_mem[idx].type = ab->qmi.target_mem[i].type;
|
|
+ idx++;
|
|
+ break;
|
|
default:
|
|
ath11k_warn(ab, "qmi ignore invalid mem req type %d\n",
|
|
ab->qmi.target_mem[i].type);
|