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