blob: 0966bdb93befc36cc1c4708e6cfea40195b3cc2e [file] [log] [blame]
Dmitry Shmidt61d9df32012-08-29 16:22:06 -07001/*
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
13int wifi_display_init(struct wpa_global *global);
14void wifi_display_deinit(struct wpa_global *global);
15void wifi_display_enable(struct wpa_global *global, int enabled);
Dmitry Shmidt661b4f72014-09-29 14:58:27 -070016struct wpabuf *wifi_display_get_wfd_ie(struct wpa_global *global);
Dmitry Shmidt61d9df32012-08-29 16:22:06 -070017int wifi_display_subelem_set(struct wpa_global *global, char *cmd);
Dmitry Shmidt661b4f72014-09-29 14:58:27 -070018int wifi_display_subelem_set_from_ies(struct wpa_global *global,
19 struct wpabuf *ie);
Dmitry Shmidt61d9df32012-08-29 16:22:06 -070020int wifi_display_subelem_get(struct wpa_global *global, char *cmd,
21 char *buf, size_t buflen);
Dmitry Shmidt04f534e2013-12-09 15:50:16 -080022char * wifi_display_subelem_hex(const struct wpabuf *wfd_subelems, u8 id);
Dmitry Shmidt61d9df32012-08-29 16:22:06 -070023
24#endif /* WIFI_DISPLAY_H */