wifi_display.h 904 B

123456789101112131415161718192021222324
  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. #ifndef WIFI_DISPLAY_H
  10. #define WIFI_DISPLAY_H
  11. int wifi_display_init(struct wpa_global *global);
  12. void wifi_display_deinit(struct wpa_global *global);
  13. void wifi_display_enable(struct wpa_global *global, int enabled);
  14. struct wpabuf *wifi_display_get_wfd_ie(struct wpa_global *global);
  15. int wifi_display_subelem_set(struct wpa_global *global, char *cmd);
  16. int wifi_display_subelem_set_from_ies(struct wpa_global *global,
  17. struct wpabuf *ie);
  18. int wifi_display_subelem_get(struct wpa_global *global, char *cmd,
  19. char *buf, size_t buflen);
  20. char * wifi_display_subelem_hex(const struct wpabuf *wfd_subelems, u8 id);
  21. #endif /* WIFI_DISPLAY_H */