18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: ISC */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Copyright (c) 2014 Qualcomm Atheros, Inc. 48c2ecf20Sopenharmony_ci */ 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ci#include "core.h" 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_ci#ifdef CONFIG_NL80211_TESTMODE 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_civoid ath10k_testmode_destroy(struct ath10k *ar); 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_cibool ath10k_tm_event_wmi(struct ath10k *ar, u32 cmd_id, struct sk_buff *skb); 138c2ecf20Sopenharmony_ciint ath10k_tm_cmd(struct ieee80211_hw *hw, struct ieee80211_vif *vif, 148c2ecf20Sopenharmony_ci void *data, int len); 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ci#else 178c2ecf20Sopenharmony_ci 188c2ecf20Sopenharmony_cistatic inline void ath10k_testmode_destroy(struct ath10k *ar) 198c2ecf20Sopenharmony_ci{ 208c2ecf20Sopenharmony_ci} 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_cistatic inline bool ath10k_tm_event_wmi(struct ath10k *ar, u32 cmd_id, 238c2ecf20Sopenharmony_ci struct sk_buff *skb) 248c2ecf20Sopenharmony_ci{ 258c2ecf20Sopenharmony_ci return false; 268c2ecf20Sopenharmony_ci} 278c2ecf20Sopenharmony_ci 288c2ecf20Sopenharmony_cistatic inline int ath10k_tm_cmd(struct ieee80211_hw *hw, 298c2ecf20Sopenharmony_ci struct ieee80211_vif *vif, 308c2ecf20Sopenharmony_ci void *data, int len) 318c2ecf20Sopenharmony_ci{ 328c2ecf20Sopenharmony_ci return 0; 338c2ecf20Sopenharmony_ci} 348c2ecf20Sopenharmony_ci 358c2ecf20Sopenharmony_ci#endif 36