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