1 | /* SPDX-License-Identifier: ISC */ |
2 | /* |
3 | * Copyright (c) 2014 Qualcomm Atheros, Inc. |
4 | */ |
5 | |
6 | #include "core.h" |
7 | |
8 | #ifdef CONFIG_NL80211_TESTMODE |
9 | |
10 | void ath10k_testmode_destroy(struct ath10k *ar); |
11 | |
12 | bool ath10k_tm_event_wmi(struct ath10k *ar, u32 cmd_id, struct sk_buff *skb); |
13 | int ath10k_tm_cmd(struct ieee80211_hw *hw, struct ieee80211_vif *vif, |
14 | void *data, int len); |
15 | |
16 | #else |
17 | |
18 | static inline void ath10k_testmode_destroy(struct ath10k *ar) |
19 | { |
20 | } |
21 | |
22 | static inline bool ath10k_tm_event_wmi(struct ath10k *ar, u32 cmd_id, |
23 | struct sk_buff *skb) |
24 | { |
25 | return false; |
26 | } |
27 | |
28 | static inline int ath10k_tm_cmd(struct ieee80211_hw *hw, |
29 | struct ieee80211_vif *vif, |
30 | void *data, int len) |
31 | { |
32 | return 0; |
33 | } |
34 | |
35 | #endif |
36 | |