mac80211: ath11k: sync with ath-next
[openwrt/staging/hauke.git] / package / kernel / mac80211 / patches / ath11k / 0012-wifi-ath11k-Remove-unused-declarations.patch
1 From adb0b206709f4f2f1256a1ea20619ab98e99f2e7 Mon Sep 17 00:00:00 2001
2 From: Yue Haibing <yuehaibing@huawei.com>
3 Date: Fri, 11 Aug 2023 18:44:13 +0800
4 Subject: [PATCH] wifi: ath11k: Remove unused declarations
5
6 Commit 2c3960c2253d ("ath11k: setup ce tasklet for control path")
7 declared but never implemented ath11k_ce_map_service_to_pipe().
8 Commit e3396b8bddd2 ("ath11k: ce: support different CE configurations")
9 declared but never implemented ath11k_ce_attr_attach().
10 Commit d5c65159f289 ("ath11k: driver for Qualcomm IEEE 802.11ax devices")
11 declared but never implemented ath11k_qmi_event_work()/ath11k_qmi_msg_recv_work().
12
13 Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
14 Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com>
15 Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
16 Link: https://lore.kernel.org/r/20230811104413.33668-1-yuehaibing@huawei.com
17 ---
18 drivers/net/wireless/ath/ath11k/ce.h | 3 ---
19 drivers/net/wireless/ath/ath11k/qmi.h | 2 --
20 2 files changed, 5 deletions(-)
21
22 --- a/drivers/net/wireless/ath/ath11k/ce.h
23 +++ b/drivers/net/wireless/ath/ath11k/ce.h
24 @@ -203,9 +203,6 @@ int ath11k_ce_alloc_pipes(struct ath11k_
25 void ath11k_ce_free_pipes(struct ath11k_base *ab);
26 int ath11k_ce_get_attr_flags(struct ath11k_base *ab, int ce_id);
27 void ath11k_ce_poll_send_completed(struct ath11k_base *ab, u8 pipe_id);
28 -int ath11k_ce_map_service_to_pipe(struct ath11k_base *ab, u16 service_id,
29 - u8 *ul_pipe, u8 *dl_pipe);
30 -int ath11k_ce_attr_attach(struct ath11k_base *ab);
31 void ath11k_ce_get_shadow_config(struct ath11k_base *ab,
32 u32 **shadow_cfg, u32 *shadow_cfg_len);
33 void ath11k_ce_stop_shadow_timers(struct ath11k_base *ab);
34 --- a/drivers/net/wireless/ath/ath11k/qmi.h
35 +++ b/drivers/net/wireless/ath/ath11k/qmi.h
36 @@ -514,8 +514,6 @@ struct qmi_wlanfw_wlan_ini_resp_msg_v01
37 int ath11k_qmi_firmware_start(struct ath11k_base *ab,
38 u32 mode);
39 void ath11k_qmi_firmware_stop(struct ath11k_base *ab);
40 -void ath11k_qmi_event_work(struct work_struct *work);
41 -void ath11k_qmi_msg_recv_work(struct work_struct *work);
42 void ath11k_qmi_deinit_service(struct ath11k_base *ab);
43 int ath11k_qmi_init_service(struct ath11k_base *ab);
44 void ath11k_qmi_free_resource(struct ath11k_base *ab);