WIP FPC-III support
[linux/fpc-iii.git] / drivers / net / wireless / ath / ath11k / testmode.h
blobaaa122ed90697fecf67ce3926c54263dcb32921c
1 /* SPDX-License-Identifier: BSD-3-Clause-Clear */
2 /*
3 * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
4 */
6 #include "core.h"
8 #ifdef CONFIG_NL80211_TESTMODE
10 bool ath11k_tm_event_wmi(struct ath11k *ar, u32 cmd_id, struct sk_buff *skb);
11 int ath11k_tm_cmd(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
12 void *data, int len);
14 #else
16 static inline bool ath11k_tm_event_wmi(struct ath11k *ar, u32 cmd_id,
17 struct sk_buff *skb)
19 return false;
22 static inline int ath11k_tm_cmd(struct ieee80211_hw *hw,
23 struct ieee80211_vif *vif,
24 void *data, int len)
26 return 0;
29 #endif