]> Git Repo - J-linux.git/blob - drivers/net/wireless/ath/ath11k/testmode.h
Merge tag 'vfs-6.13-rc7.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs
[J-linux.git] / drivers / net / wireless / ath / ath11k / testmode.h
1 /* SPDX-License-Identifier: BSD-3-Clause-Clear */
2 /*
3  * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
4  * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
5  */
6
7 #include "core.h"
8
9 #ifdef CONFIG_NL80211_TESTMODE
10
11 void ath11k_tm_wmi_event(struct ath11k_base *ab, u32 cmd_id, struct sk_buff *skb);
12 int ath11k_tm_cmd(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
13                   void *data, int len);
14
15 #else
16
17 static inline void ath11k_tm_wmi_event(struct ath11k_base *ab, u32 cmd_id,
18                                        struct sk_buff *skb)
19 {
20 }
21
22 static inline int ath11k_tm_cmd(struct ieee80211_hw *hw,
23                                 struct ieee80211_vif *vif,
24                                 void *data, int len)
25 {
26         return 0;
27 }
28
29 #endif
This page took 0.032988 seconds and 4 git commands to generate.