mirror of
https://github.com/VIKINGYFY/immortalwrt.git
synced 2025-12-16 17:15:26 +00:00
Drop all upstreamed patch and refresh all affected patch.
Minor changes were needed to the
350-mac80211-allow-scanning-while-on-radar-channel due to changes in
6.18.
Also some changes were needed to downstream patch due to upstream commit
b74947b4f6ff ("wifi: cfg80211/mac80211: Add support to get radio index")
Link: https://github.com/openwrt/openwrt/pull/20964
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
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
|
|
@@ -2111,6 +2111,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);
|