summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath6kl/testmode.h
diff options
context:
space:
mode:
authorThomas Pedersen <twpedersen@qca.qualcomm.com>2011-12-30 01:57:00 -0800
committerKalle Valo <kvalo@qca.qualcomm.com>2012-01-02 18:50:42 +0200
commit4f34dacea117029dbad1f0f50d68207b97546d1e (patch)
treea24eaf6691176efa6c043216dd75afdf83f09c1c /drivers/net/wireless/ath/ath6kl/testmode.h
parent792ecb33080f4e315695e0fe21cf3a3c2a514dd0 (diff)
downloadop-kernel-dev-4f34dacea117029dbad1f0f50d68207b97546d1e.zip
op-kernel-dev-4f34dacea117029dbad1f0f50d68207b97546d1e.tar.gz
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 43dffcc..7fd47a6 100644
--- a/drivers/net/wireless/ath/ath6kl/testmode.h
+++ b/drivers/net/wireless/ath/ath6kl/testmode.h
@@ -18,13 +18,13 @@
#ifdef CONFIG_NL80211_TESTMODE
-void ath6kl_tm_rx_report_event(struct ath6kl *ar, void *buf, size_t buf_len);
+void ath6kl_tm_rx_event(struct ath6kl *ar, void *buf, size_t buf_len);
int ath6kl_tm_cmd(struct wiphy *wiphy, void *data, int len);
#else
-static inline void ath6kl_tm_rx_report_event(struct ath6kl *ar, void *buf,
- size_t buf_len)
+static inline void ath6kl_tm_rx_event(struct ath6kl *ar, void *buf,
+ size_t buf_len)
{
}
OpenPOWER on IntegriCloud