Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef AP_H
00017 #define AP_H
00018
00019 int wpa_supplicant_create_ap(struct wpa_supplicant *wpa_s,
00020 struct wpa_ssid *ssid);
00021 void wpa_supplicant_ap_deinit(struct wpa_supplicant *wpa_s);
00022 void wpa_supplicant_ap_rx_eapol(struct wpa_supplicant *wpa_s,
00023 const u8 *src_addr, const u8 *buf, size_t len);
00024 int wpa_supplicant_ap_wps_pbc(struct wpa_supplicant *wpa_s, const u8 *bssid);
00025 int wpa_supplicant_ap_wps_pin(struct wpa_supplicant *wpa_s, const u8 *bssid,
00026 const char *pin, char *buf, size_t buflen);
00027 int ap_ctrl_iface_sta_first(struct wpa_supplicant *wpa_s,
00028 char *buf, size_t buflen);
00029 int ap_ctrl_iface_sta(struct wpa_supplicant *wpa_s, const char *txtaddr,
00030 char *buf, size_t buflen);
00031 int ap_ctrl_iface_sta_next(struct wpa_supplicant *wpa_s, const char *txtaddr,
00032 char *buf, size_t buflen);
00033 int ap_ctrl_iface_wpa_get_status(struct wpa_supplicant *wpa_s, char *buf,
00034 size_t buflen, int verbose);
00035 void ap_tx_status(void *ctx, const u8 *addr,
00036 const u8 *buf, size_t len, int ack);
00037 void ap_rx_from_unknown_sta(void *ctx, const u8 *frame, size_t len);
00038 void ap_mgmt_rx(void *ctx, struct rx_mgmt *rx_mgmt);
00039 void ap_mgmt_tx_cb(void *ctx, const u8 *buf, size_t len, u16 stype, int ok);
00040 int wpa_supplicant_ap_mac_addr_filter(struct wpa_supplicant *wpa_s,
00041 const u8 *addr);
00042
00043 #endif