xref: /freebsd/contrib/wpa/wpa_supplicant/wifi_display.h (revision ccb59683b98360afaf5b5bb641a68fea22c68d0b)
1 /*
2  * wpa_supplicant - Wi-Fi Display
3  * Copyright (c) 2011, Atheros Communications, Inc.
4  * Copyright (c) 2011-2012, Qualcomm Atheros, Inc.
5  *
6  * This software may be distributed under the terms of the BSD license.
7  * See README for more details.
8  */
9 
10 #ifndef WIFI_DISPLAY_H
11 #define WIFI_DISPLAY_H
12 
13 int wifi_display_init(struct wpa_global *global);
14 void wifi_display_deinit(struct wpa_global *global);
15 void wifi_display_enable(struct wpa_global *global, int enabled);
16 struct wpabuf *wifi_display_get_wfd_ie(struct wpa_global *global);
17 int wifi_display_subelem_set(struct wpa_global *global, char *cmd);
18 int wifi_display_subelem_set_from_ies(struct wpa_global *global,
19 				      struct wpabuf *ie);
20 int wifi_display_subelem_get(struct wpa_global *global, char *cmd,
21 			     char *buf, size_t buflen);
22 char * wifi_display_subelem_hex(const struct wpabuf *wfd_subelems, u8 id);
23 
24 #endif /* WIFI_DISPLAY_H */
25