brintos

brintos / linux-shallow public Read only

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