0001
0002
0003
0004
0005
0006 #include "core.h"
0007
0008 #ifdef CONFIG_NL80211_TESTMODE
0009
0010 void ath10k_testmode_destroy(struct ath10k *ar);
0011
0012 bool ath10k_tm_event_wmi(struct ath10k *ar, u32 cmd_id, struct sk_buff *skb);
0013 int ath10k_tm_cmd(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
0014 void *data, int len);
0015
0016 #else
0017
0018 static inline void ath10k_testmode_destroy(struct ath10k *ar)
0019 {
0020 }
0021
0022 static inline bool ath10k_tm_event_wmi(struct ath10k *ar, u32 cmd_id,
0023 struct sk_buff *skb)
0024 {
0025 return false;
0026 }
0027
0028 static inline int ath10k_tm_cmd(struct ieee80211_hw *hw,
0029 struct ieee80211_vif *vif,
0030 void *data, int len)
0031 {
0032 return 0;
0033 }
0034
0035 #endif