aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wifi_display.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2012-03-02 15:26:01 (GMT)
committerJouni Malinen <j@w1.fi>2012-08-29 16:51:29 (GMT)
commit9675ce354af84f3f1c8729a349a93bb1271658cc (patch)
treea598e9db6f3f6ec3561b424e123750fcff2abc5e /wpa_supplicant/wifi_display.h
parenteb7719ff2204f4af21d76f13138fa21f6b4d94f0 (diff)
downloadhostap-9675ce354af84f3f1c8729a349a93bb1271658cc.zip
hostap-9675ce354af84f3f1c8729a349a93bb1271658cc.tar.gz
hostap-9675ce354af84f3f1c8729a349a93bb1271658cc.tar.bz2
WFD: Add Wi-Fi Display support
This commit adds control interface commands and internal storage of Wi-Fi Display related configuration. In addition, WFD IE is now added to various P2P frames, Probe Request/Response, and (Re)Association Request/Response frames. WFD subelements from peers are stored in the P2P peer table. Following control interface commands are now available: SET wifi_display <0/1> GET wifi_display WFD_SUBELEM_SET <subelem> [hexdump of length+body] WFD_SUBELEM_GET <subelem> Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/wifi_display.h')
-rw-r--r--wpa_supplicant/wifi_display.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/wpa_supplicant/wifi_display.h b/wpa_supplicant/wifi_display.h
new file mode 100644
index 0000000..b75d4f2
--- /dev/null
+++ b/wpa_supplicant/wifi_display.h
@@ -0,0 +1,20 @@
+/*
+ * wpa_supplicant - Wi-Fi Display
+ * Copyright (c) 2011, Atheros Communications, Inc.
+ * Copyright (c) 2011-2012, Qualcomm Atheros, Inc.
+ *
+ * This software may be distributed under the terms of the BSD license.
+ * See README for more details.
+ */
+
+#ifndef WIFI_DISPLAY_H
+#define WIFI_DISPLAY_H
+
+int wifi_display_init(struct wpa_global *global);
+void wifi_display_deinit(struct wpa_global *global);
+void wifi_display_enable(struct wpa_global *global, int enabled);
+int wifi_display_subelem_set(struct wpa_global *global, char *cmd);
+int wifi_display_subelem_get(struct wpa_global *global, char *cmd,
+ char *buf, size_t buflen);
+
+#endif /* WIFI_DISPLAY_H */