mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 15:02:32 +00:00
359a6e36e9
Synchronize the ath11k backports with the current ath-next tree. All of the changes are various bugfixes, there is no new major feature. Notable bugfixes are: * WCN6855 board name fixes * One MSI vector booting is working again This is rather important for most of the older platforms. * DFS CAC state in virtual interfaces was fixed * TX power during CAC reporting Signed-off-by: Robert Marko <robimarko@gmail.com>
39 lines
1.2 KiB
Diff
39 lines
1.2 KiB
Diff
From 480d230bef0ecd06e72ae3a84117142e38e77503 Mon Sep 17 00:00:00 2001
|
|
From: Jeff Johnson <quic_jjohnson@quicinc.com>
|
|
Date: Mon, 9 Oct 2023 09:36:54 -0700
|
|
Subject: [PATCH] wifi: ath11k: Remove unused struct ath11k_htc_frame
|
|
|
|
struct ath11k_htc_frame is unused, and since it illogically contains
|
|
two consecutive flexible arrays, it could never be used, so remove it.
|
|
|
|
No functional changes, compile tested only.
|
|
|
|
Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
|
|
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
|
|
Link: https://lore.kernel.org/r/20231009-ath11k_htc_frame-v1-1-81d405b7a195@quicinc.com
|
|
---
|
|
drivers/net/wireless/ath/ath11k/htc.h | 12 ------------
|
|
1 file changed, 12 deletions(-)
|
|
|
|
--- a/drivers/net/wireless/ath/ath11k/htc.h
|
|
+++ b/drivers/net/wireless/ath/ath11k/htc.h
|
|
@@ -156,18 +156,6 @@ struct ath11k_htc_record {
|
|
};
|
|
} __packed __aligned(4);
|
|
|
|
-/* note: the trailer offset is dynamic depending
|
|
- * on payload length. this is only a struct layout draft
|
|
- */
|
|
-struct ath11k_htc_frame {
|
|
- struct ath11k_htc_hdr hdr;
|
|
- union {
|
|
- struct ath11k_htc_msg msg;
|
|
- u8 payload[0];
|
|
- };
|
|
- struct ath11k_htc_record trailer[0];
|
|
-} __packed __aligned(4);
|
|
-
|
|
enum ath11k_htc_svc_gid {
|
|
ATH11K_HTC_SVC_GRP_RSVD = 0,
|
|
ATH11K_HTC_SVC_GRP_WMI = 1,
|