X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=wpa_supplicant%2Fap.h;h=5a59ddcc1c93e22a8df6edf3df805cc86cf207ab;hb=d02e5498310875b1e96921c7c1f53168f4ffee2c;hp=f62b8babf9bd73d6f06d21889c0bbfb36fcac36f;hpb=bf281c129f0e25066b94b732d61fa142f293c494;p=mech_eap.git diff --git a/wpa_supplicant/ap.h b/wpa_supplicant/ap.h index f62b8ba..5a59ddc 100644 --- a/wpa_supplicant/ap.h +++ b/wpa_supplicant/ap.h @@ -52,8 +52,9 @@ int wpa_supplicant_ap_mac_addr_filter(struct wpa_supplicant *wpa_s, void wpa_supplicant_ap_pwd_auth_fail(struct wpa_supplicant *wpa_s); int ap_switch_channel(struct wpa_supplicant *wpa_s, struct csa_settings *settings); +int ap_ctrl_iface_chanswitch(struct wpa_supplicant *wpa_s, const char *txtaddr); void wpas_ap_ch_switch(struct wpa_supplicant *wpa_s, int freq, int ht, - int offset); + int offset, int width, int cf1, int cf2); struct wpabuf * wpas_ap_wps_nfc_config_token(struct wpa_supplicant *wpa_s, int ndef); #ifdef CONFIG_AP @@ -68,4 +69,34 @@ wpas_ap_wps_nfc_handover_sel(struct wpa_supplicant *wpa_s, } #endif /* CONFIG_AP */ +int wpas_ap_wps_nfc_report_handover(struct wpa_supplicant *wpa_s, + const struct wpabuf *req, + const struct wpabuf *sel); +int wpas_ap_wps_add_nfc_pw(struct wpa_supplicant *wpa_s, u16 pw_id, + const struct wpabuf *pw, const u8 *pubkey_hash); + +struct hostapd_config; +int wpa_supplicant_conf_ap_ht(struct wpa_supplicant *wpa_s, + struct wpa_ssid *ssid, + struct hostapd_config *conf); + +int wpas_ap_stop_ap(struct wpa_supplicant *wpa_s); + +int wpas_ap_pmksa_cache_list(struct wpa_supplicant *wpa_s, char *buf, + size_t len); +void wpas_ap_pmksa_cache_flush(struct wpa_supplicant *wpa_s); + +void wpas_event_dfs_radar_detected(struct wpa_supplicant *wpa_s, + struct dfs_event *radar); +void wpas_event_dfs_cac_started(struct wpa_supplicant *wpa_s, + struct dfs_event *radar); +void wpas_event_dfs_cac_finished(struct wpa_supplicant *wpa_s, + struct dfs_event *radar); +void wpas_event_dfs_cac_aborted(struct wpa_supplicant *wpa_s, + struct dfs_event *radar); +void wpas_event_dfs_cac_nop_finished(struct wpa_supplicant *wpa_s, + struct dfs_event *radar); + +void ap_periodic(struct wpa_supplicant *wpa_s); + #endif /* AP_H */