wpa_supplicant / hostapd  2.5
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Macros | Functions
wps_supplicant.c File Reference

wpa_supplicant / WPS integration More...

#include "includes.h"
#include "common.h"
#include "eloop.h"
#include "uuid.h"
#include "crypto/random.h"
#include "crypto/dh_group5.h"
#include "common/ieee802_11_defs.h"
#include "common/ieee802_11_common.h"
#include "common/wpa_common.h"
#include "common/wpa_ctrl.h"
#include "eap_common/eap_wsc_common.h"
#include "eap_peer/eap.h"
#include "eapol_supp/eapol_supp_sm.h"
#include "rsn_supp/wpa.h"
#include "wps/wps_attr_parse.h"
#include "config.h"
#include "wpa_supplicant_i.h"
#include "driver_i.h"
#include "notify.h"
#include "blacklist.h"
#include "bss.h"
#include "scan.h"
#include "ap.h"
#include "p2p/p2p.h"
#include "p2p_supplicant.h"
#include "wps_supplicant.h"

Macros

#define WPS_PIN_SCAN_IGNORE_SEL_REG   3
 
#define WPS_PIN_TIME_IGNORE_SEL_REG   5
 

Functions

int wpas_wps_eapol_cb (struct wpa_supplicant *wpa_s)
 
enum wps_request_type wpas_wps_get_req_type (struct wpa_ssid *ssid)
 
int wpas_wps_start_pbc (struct wpa_supplicant *wpa_s, const u8 *bssid, int p2p_group)
 
int wpas_wps_start_pin (struct wpa_supplicant *wpa_s, const u8 *bssid, const char *pin, int p2p_group, u16 dev_pw_id)
 
void wpas_wps_pbc_overlap (struct wpa_supplicant *wpa_s)
 
int wpas_wps_cancel (struct wpa_supplicant *wpa_s)
 
int wpas_wps_start_reg (struct wpa_supplicant *wpa_s, const u8 *bssid, const char *pin, struct wps_new_ap_settings *settings)
 
int wpas_wps_init (struct wpa_supplicant *wpa_s)
 
void wpas_wps_deinit (struct wpa_supplicant *wpa_s)
 
int wpas_wps_ssid_bss_match (struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid, struct wpa_bss *bss)
 
int wpas_wps_ssid_wildcard_ok (struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid, struct wpa_bss *bss)
 
int wpas_wps_scan_pbc_overlap (struct wpa_supplicant *wpa_s, struct wpa_bss *selected, struct wpa_ssid *ssid)
 
void wpas_wps_notify_scan_results (struct wpa_supplicant *wpa_s)
 
int wpas_wps_searching (struct wpa_supplicant *wpa_s)
 
int wpas_wps_scan_result_text (const u8 *ies, size_t ies_len, char *buf, char *end)
 
int wpas_wps_er_start (struct wpa_supplicant *wpa_s, const char *filter)
 
void wpas_wps_er_stop (struct wpa_supplicant *wpa_s)
 
int wpas_wps_terminate_pending (struct wpa_supplicant *wpa_s)
 
void wpas_wps_update_config (struct wpa_supplicant *wpa_s)
 
void wpas_wps_update_ap_info (struct wpa_supplicant *wpa_s, struct wpa_scan_results *scan_res)
 
void wpas_wps_notify_assoc (struct wpa_supplicant *wpa_s, const u8 *bssid)
 

Detailed Description

wpa_supplicant / WPS integration