mac80211: CVE-2024-46760: rtw88: schedule rx work after everything is set up
[openwrt/openwrt.git] / package / kernel / mac80211 / patches / ath11k / 0030-wifi-ath11k-Remove-unused-struct-ath11k_htc_frame.patch
1 From 480d230bef0ecd06e72ae3a84117142e38e77503 Mon Sep 17 00:00:00 2001
2 From: Jeff Johnson <quic_jjohnson@quicinc.com>
3 Date: Mon, 9 Oct 2023 09:36:54 -0700
4 Subject: [PATCH] wifi: ath11k: Remove unused struct ath11k_htc_frame
5
6 struct ath11k_htc_frame is unused, and since it illogically contains
7 two consecutive flexible arrays, it could never be used, so remove it.
8
9 No functional changes, compile tested only.
10
11 Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
12 Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
13 Link: https://lore.kernel.org/r/20231009-ath11k_htc_frame-v1-1-81d405b7a195@quicinc.com
14 ---
15 drivers/net/wireless/ath/ath11k/htc.h | 12 ------------
16 1 file changed, 12 deletions(-)
17
18 --- a/drivers/net/wireless/ath/ath11k/htc.h
19 +++ b/drivers/net/wireless/ath/ath11k/htc.h
20 @@ -156,18 +156,6 @@ struct ath11k_htc_record {
21 };
22 } __packed __aligned(4);
23
24 -/* note: the trailer offset is dynamic depending
25 - * on payload length. this is only a struct layout draft
26 - */
27 -struct ath11k_htc_frame {
28 - struct ath11k_htc_hdr hdr;
29 - union {
30 - struct ath11k_htc_msg msg;
31 - u8 payload[0];
32 - };
33 - struct ath11k_htc_record trailer[0];
34 -} __packed __aligned(4);
35 -
36 enum ath11k_htc_svc_gid {
37 ATH11K_HTC_SVC_GRP_RSVD = 0,
38 ATH11K_HTC_SVC_GRP_WMI = 1,