18c2ecf20Sopenharmony_ci/*
28c2ecf20Sopenharmony_ci * Copyright (c) 2010-2011 Atheros Communications Inc.
38c2ecf20Sopenharmony_ci * Copyright (c) 2011 Qualcomm Atheros, Inc.
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci * Permission to use, copy, modify, and/or distribute this software for any
68c2ecf20Sopenharmony_ci * purpose with or without fee is hereby granted, provided that the above
78c2ecf20Sopenharmony_ci * copyright notice and this permission notice appear in all copies.
88c2ecf20Sopenharmony_ci *
98c2ecf20Sopenharmony_ci * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
108c2ecf20Sopenharmony_ci * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
118c2ecf20Sopenharmony_ci * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
128c2ecf20Sopenharmony_ci * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
138c2ecf20Sopenharmony_ci * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
148c2ecf20Sopenharmony_ci * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
158c2ecf20Sopenharmony_ci * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
168c2ecf20Sopenharmony_ci */
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ci#include "core.h"
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_ci#ifdef CONFIG_NL80211_TESTMODE
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_civoid ath6kl_tm_rx_event(struct ath6kl *ar, void *buf, size_t buf_len);
238c2ecf20Sopenharmony_ciint ath6kl_tm_cmd(struct wiphy *wiphy, struct wireless_dev *wdev,
248c2ecf20Sopenharmony_ci		  void *data, int len);
258c2ecf20Sopenharmony_ci
268c2ecf20Sopenharmony_ci#else
278c2ecf20Sopenharmony_ci
288c2ecf20Sopenharmony_cistatic inline void ath6kl_tm_rx_event(struct ath6kl *ar, void *buf,
298c2ecf20Sopenharmony_ci				      size_t buf_len)
308c2ecf20Sopenharmony_ci{
318c2ecf20Sopenharmony_ci}
328c2ecf20Sopenharmony_ci
338c2ecf20Sopenharmony_cistatic inline int ath6kl_tm_cmd(struct wiphy *wiphy,
348c2ecf20Sopenharmony_ci				struct wireless_dev *wdev,
358c2ecf20Sopenharmony_ci				void *data, int len)
368c2ecf20Sopenharmony_ci{
378c2ecf20Sopenharmony_ci	return 0;
388c2ecf20Sopenharmony_ci}
398c2ecf20Sopenharmony_ci
408c2ecf20Sopenharmony_ci#endif
41