aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath6kl/testmode.h
diff options
context:
space:
mode:
authorThomas Pedersen <twpedersen@qca.qualcomm.com>2011-12-30 04:57:00 -0500
committerKalle Valo <kvalo@qca.qualcomm.com>2012-01-02 11:50:42 -0500
commit4f34dacea117029dbad1f0f50d68207b97546d1e (patch)
treea24eaf6691176efa6c043216dd75afdf83f09c1c /drivers/net/wireless/ath/ath6kl/testmode.h
parent792ecb33080f4e315695e0fe21cf3a3c2a514dd0 (diff)
ath6kl: send TCMD response through testmode events
ath6kl no longer knows what it is transmitting through cfg80211_testmode, and simply passes opaque buffers between userspace and the firmware. Leave the CONT_RX enum for backwards compatibility. kvalo: change ATH6KL_TM_CMD_RX_REPORT to return -EOPNOTSUPP Signed-off-by: Thomas Pedersen <twpedersen@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/testmode.h')
-rw-r--r--drivers/net/wireless/ath/ath6kl/testmode.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/testmode.h b/drivers/net/wireless/ath/ath6kl/testmode.h
index 43dffcc11fb1..7fd47a62d078 100644
--- a/drivers/net/wireless/ath/ath6kl/testmode.h
+++ b/drivers/net/wireless/ath/ath6kl/testmode.h
@@ -18,13 +18,13 @@
18 18
19#ifdef CONFIG_NL80211_TESTMODE 19#ifdef CONFIG_NL80211_TESTMODE
20 20
21void ath6kl_tm_rx_report_event(struct ath6kl *ar, void *buf, size_t buf_len); 21void ath6kl_tm_rx_event(struct ath6kl *ar, void *buf, size_t buf_len);
22int ath6kl_tm_cmd(struct wiphy *wiphy, void *data, int len); 22int ath6kl_tm_cmd(struct wiphy *wiphy, void *data, int len);
23 23
24#else 24#else
25 25
26static inline void ath6kl_tm_rx_report_event(struct ath6kl *ar, void *buf, 26static inline void ath6kl_tm_rx_event(struct ath6kl *ar, void *buf,
27 size_t buf_len) 27 size_t buf_len)
28{ 28{
29} 29}
30 30