![]() |
|
|||
0001 /* 0002 * Copyright (c) 2010-2011 Atheros Communications Inc. 0003 * Copyright (c) 2011 Qualcomm Atheros, Inc. 0004 * 0005 * Permission to use, copy, modify, and/or distribute this software for any 0006 * purpose with or without fee is hereby granted, provided that the above 0007 * copyright notice and this permission notice appear in all copies. 0008 * 0009 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 0010 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 0011 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 0012 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 0013 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 0014 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 0015 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 0016 */ 0017 0018 #include "core.h" 0019 0020 #ifdef CONFIG_NL80211_TESTMODE 0021 0022 void ath6kl_tm_rx_event(struct ath6kl *ar, void *buf, size_t buf_len); 0023 int ath6kl_tm_cmd(struct wiphy *wiphy, struct wireless_dev *wdev, 0024 void *data, int len); 0025 0026 #else 0027 0028 static inline void ath6kl_tm_rx_event(struct ath6kl *ar, void *buf, 0029 size_t buf_len) 0030 { 0031 } 0032 0033 static inline int ath6kl_tm_cmd(struct wiphy *wiphy, 0034 struct wireless_dev *wdev, 0035 void *data, int len) 0036 { 0037 return 0; 0038 } 0039 0040 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |