Path: blob/main/sys/contrib/dev/athk/ath10k/testmode.h
48375 views
/* SPDX-License-Identifier: ISC */1/*2* Copyright (c) 2014 Qualcomm Atheros, Inc.3*/45#include "core.h"67#ifdef CONFIG_NL80211_TESTMODE89void ath10k_testmode_destroy(struct ath10k *ar);1011bool ath10k_tm_event_wmi(struct ath10k *ar, u32 cmd_id, struct sk_buff *skb);12int ath10k_tm_cmd(struct ieee80211_hw *hw, struct ieee80211_vif *vif,13void *data, int len);1415#else1617static inline void ath10k_testmode_destroy(struct ath10k *ar)18{19}2021static inline bool ath10k_tm_event_wmi(struct ath10k *ar, u32 cmd_id,22struct sk_buff *skb)23{24return false;25}2627static inline int ath10k_tm_cmd(struct ieee80211_hw *hw,28struct ieee80211_vif *vif,29void *data, int len)30{31return 0;32}3334#endif353637