summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ti/wlcore/vendor_cmd.h
diff options
context:
space:
mode:
authorEliad Peller <eliad@wizery.com>2014-07-11 03:01:33 +0300
committerJohn W. Linville <linville@tuxdriver.com>2014-07-15 15:59:57 -0400
commite93e15fb47e53bd5dc256e2c3e40785b39ff8ff7 (patch)
treeef5d8c266cac446e4bc460c5d47e6142c732899f /drivers/net/wireless/ti/wlcore/vendor_cmd.h
parent80ff8063e87c352072c6d96fb2d87becaf591966 (diff)
wlcore/wl18xx: handle smart config events
add defintions and handling for smart config events (SMART_CONFIG_SYNC_EVENT_ID and SMART_CONFIG_DECODE_EVENT_ID) parse the relevant info and send it to userspace as vendor event. Signed-off-by: Eliad Peller <eliad@wizery.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ti/wlcore/vendor_cmd.h')
-rw-r--r--drivers/net/wireless/ti/wlcore/vendor_cmd.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/net/wireless/ti/wlcore/vendor_cmd.h b/drivers/net/wireless/ti/wlcore/vendor_cmd.h
index 7e8e92fad16c..6e0c15e30f03 100644
--- a/drivers/net/wireless/ti/wlcore/vendor_cmd.h
+++ b/drivers/net/wireless/ti/wlcore/vendor_cmd.h
@@ -11,6 +11,10 @@
#ifndef __WLCORE_VENDOR_H__
#define __WLCORE_VENDOR_H__
+#ifdef __KERNEL__
+void wlcore_set_vendor_commands(struct wiphy *wiphy);
+#endif
+
#define TI_OUI 0x080028
enum wlcore_vendor_commands {
@@ -33,4 +37,9 @@ enum wlcore_vendor_attributes {
MAX_WLCORE_VENDOR_ATTR = NUM_WLCORE_VENDOR_ATTR - 1
};
+enum wlcore_vendor_events {
+ WLCORE_VENDOR_EVENT_SC_SYNC,
+ WLCORE_VENDOR_EVENT_SC_DECODE,
+};
+
#endif /* __WLCORE_VENDOR_H__ */