xref: /kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/testmode.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/
18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: BSD-3-Clause-Clear */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
48c2ecf20Sopenharmony_ci */
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ci#include "core.h"
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ci#ifdef CONFIG_NL80211_TESTMODE
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_cibool ath11k_tm_event_wmi(struct ath11k *ar, u32 cmd_id, struct sk_buff *skb);
118c2ecf20Sopenharmony_ciint ath11k_tm_cmd(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
128c2ecf20Sopenharmony_ci		  void *data, int len);
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ci#else
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_cistatic inline bool ath11k_tm_event_wmi(struct ath11k *ar, u32 cmd_id,
178c2ecf20Sopenharmony_ci				       struct sk_buff *skb)
188c2ecf20Sopenharmony_ci{
198c2ecf20Sopenharmony_ci	return false;
208c2ecf20Sopenharmony_ci}
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_cistatic inline int ath11k_tm_cmd(struct ieee80211_hw *hw,
238c2ecf20Sopenharmony_ci				struct ieee80211_vif *vif,
248c2ecf20Sopenharmony_ci				void *data, int len)
258c2ecf20Sopenharmony_ci{
268c2ecf20Sopenharmony_ci	return 0;
278c2ecf20Sopenharmony_ci}
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_ci#endif
30

Indexes created Thu Nov 07 10:32:03 CST 2024