wpa_supplicant / hostapd 2.0

ap.h

Go to the documentation of this file.
00001 
00011 #ifndef AP_H
00012 #define AP_H
00013 
00014 int wpa_supplicant_create_ap(struct wpa_supplicant *wpa_s,
00015                              struct wpa_ssid *ssid);
00016 void wpa_supplicant_ap_deinit(struct wpa_supplicant *wpa_s);
00017 void wpa_supplicant_ap_rx_eapol(struct wpa_supplicant *wpa_s,
00018                                 const u8 *src_addr, const u8 *buf, size_t len);
00019 int wpa_supplicant_ap_wps_pbc(struct wpa_supplicant *wpa_s, const u8 *bssid,
00020                               const u8 *p2p_dev_addr);
00021 int wpa_supplicant_ap_wps_pin(struct wpa_supplicant *wpa_s, const u8 *bssid,
00022                               const char *pin, char *buf, size_t buflen);
00023 int wpa_supplicant_ap_wps_cancel(struct wpa_supplicant *wpa_s);
00024 void wpas_wps_ap_pin_disable(struct wpa_supplicant *wpa_s);
00025 const char * wpas_wps_ap_pin_random(struct wpa_supplicant *wpa_s, int timeout);
00026 const char * wpas_wps_ap_pin_get(struct wpa_supplicant *wpa_s);
00027 int wpas_wps_ap_pin_set(struct wpa_supplicant *wpa_s, const char *pin,
00028                         int timeout);
00029 int ap_ctrl_iface_sta_first(struct wpa_supplicant *wpa_s,
00030                             char *buf, size_t buflen);
00031 int ap_ctrl_iface_sta(struct wpa_supplicant *wpa_s, const char *txtaddr,
00032                       char *buf, size_t buflen);
00033 int ap_ctrl_iface_sta_next(struct wpa_supplicant *wpa_s, const char *txtaddr,
00034                            char *buf, size_t buflen);
00035 int ap_ctrl_iface_sta_deauthenticate(struct wpa_supplicant *wpa_s,
00036                                      const char *txtaddr);
00037 int ap_ctrl_iface_sta_disassociate(struct wpa_supplicant *wpa_s,
00038                                    const char *txtaddr);
00039 int ap_ctrl_iface_wpa_get_status(struct wpa_supplicant *wpa_s, char *buf,
00040                                  size_t buflen, int verbose);
00041 void ap_tx_status(void *ctx, const u8 *addr,
00042                   const u8 *buf, size_t len, int ack);
00043 void ap_eapol_tx_status(void *ctx, const u8 *dst,
00044                         const u8 *data, size_t len, int ack);
00045 void ap_client_poll_ok(void *ctx, const u8 *addr);
00046 void ap_rx_from_unknown_sta(void *ctx, const u8 *addr, int wds);
00047 void ap_mgmt_rx(void *ctx, struct rx_mgmt *rx_mgmt);
00048 void ap_mgmt_tx_cb(void *ctx, const u8 *buf, size_t len, u16 stype, int ok);
00049 int wpa_supplicant_ap_update_beacon(struct wpa_supplicant *wpa_s);
00050 int wpa_supplicant_ap_mac_addr_filter(struct wpa_supplicant *wpa_s,
00051                                       const u8 *addr);
00052 void wpa_supplicant_ap_pwd_auth_fail(struct wpa_supplicant *wpa_s);
00053 
00054 #endif /* AP_H */
00055 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines