162306a36Sopenharmony_ci/* 262306a36Sopenharmony_ci * Copyright (c) 2010-2011 Atheros Communications Inc. 362306a36Sopenharmony_ci * Copyright (c) 2011 Qualcomm Atheros, Inc. 462306a36Sopenharmony_ci * 562306a36Sopenharmony_ci * Permission to use, copy, modify, and/or distribute this software for any 662306a36Sopenharmony_ci * purpose with or without fee is hereby granted, provided that the above 762306a36Sopenharmony_ci * copyright notice and this permission notice appear in all copies. 862306a36Sopenharmony_ci * 962306a36Sopenharmony_ci * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 1062306a36Sopenharmony_ci * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 1162306a36Sopenharmony_ci * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 1262306a36Sopenharmony_ci * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 1362306a36Sopenharmony_ci * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 1462306a36Sopenharmony_ci * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 1562306a36Sopenharmony_ci * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 1662306a36Sopenharmony_ci */ 1762306a36Sopenharmony_ci 1862306a36Sopenharmony_ci#include "core.h" 1962306a36Sopenharmony_ci 2062306a36Sopenharmony_ci#ifdef CONFIG_NL80211_TESTMODE 2162306a36Sopenharmony_ci 2262306a36Sopenharmony_civoid ath6kl_tm_rx_event(struct ath6kl *ar, void *buf, size_t buf_len); 2362306a36Sopenharmony_ciint ath6kl_tm_cmd(struct wiphy *wiphy, struct wireless_dev *wdev, 2462306a36Sopenharmony_ci void *data, int len); 2562306a36Sopenharmony_ci 2662306a36Sopenharmony_ci#else 2762306a36Sopenharmony_ci 2862306a36Sopenharmony_cistatic inline void ath6kl_tm_rx_event(struct ath6kl *ar, void *buf, 2962306a36Sopenharmony_ci size_t buf_len) 3062306a36Sopenharmony_ci{ 3162306a36Sopenharmony_ci} 3262306a36Sopenharmony_ci 3362306a36Sopenharmony_cistatic inline int ath6kl_tm_cmd(struct wiphy *wiphy, 3462306a36Sopenharmony_ci struct wireless_dev *wdev, 3562306a36Sopenharmony_ci void *data, int len) 3662306a36Sopenharmony_ci{ 3762306a36Sopenharmony_ci return 0; 3862306a36Sopenharmony_ci} 3962306a36Sopenharmony_ci 4062306a36Sopenharmony_ci#endif 41