wps_hostapd.c File Reference

#include "utils/includes.h"
#include "utils/common.h"
#include "utils/eloop.h"
#include "utils/uuid.h"
#include "crypto/dh_groups.h"
#include "common/wpa_ctrl.h"
#include "common/ieee802_11_defs.h"
#include "common/ieee802_11_common.h"
#include "eapol_auth/eapol_auth_sm.h"
#include "eapol_auth/eapol_auth_sm_i.h"
#include "wps/wps.h"
#include "wps/wps_defs.h"
#include "wps/wps_dev_attr.h"
#include "hostapd.h"
#include "ap_config.h"
#include "beacon.h"
#include "sta_info.h"
#include "wps_hostapd.h"
Include dependency graph for wps_hostapd.c:

Go to the source code of this file.

Functions

void hostapd_deinit_wps (struct hostapd_data *hapd)
int hostapd_init_wps (struct hostapd_data *hapd, struct hostapd_bss_config *conf)
static void hostapd_pwd_auth_fail (struct hostapd_data *hapd, struct wps_event_pwd_auth_fail *data)
int hostapd_wps_add_pin (struct hostapd_data *hapd, const char *uuid, const char *pin, int timeout)
int hostapd_wps_button_pushed (struct hostapd_data *hapd)
static void hostapd_wps_clear_ies (struct hostapd_data *hapd)
static int hostapd_wps_cred_cb (void *ctx, const struct wps_credential *cred)
static void hostapd_wps_enrollee_seen_cb (void *ctx, const u8 *addr, const u8 *uuid_e, const u8 *pri_dev_type, u16 config_methods, u16 dev_password_id, u8 request_type, const char *dev_name)
static void hostapd_wps_event_cb (void *ctx, enum wps_event event, union wps_event_data *data)
int hostapd_wps_get_mib_sta (struct hostapd_data *hapd, const u8 *addr, char *buf, size_t buflen)
static int hostapd_wps_new_psk_cb (void *ctx, const u8 *mac_addr, const u8 *psk, size_t psk_len)
static void hostapd_wps_pin_needed_cb (void *ctx, const u8 *uuid_e, const struct wps_device_data *dev)
static int hostapd_wps_probe_req_rx (void *ctx, const u8 *addr, const u8 *ie, size_t ie_len)
static void hostapd_wps_reg_success_cb (void *ctx, const u8 *mac_addr, const u8 *uuid_e)
static int hostapd_wps_set_ie_cb (void *ctx, struct wpabuf *beacon_ie, struct wpabuf *probe_resp_ie)
static int str_starts (const char *str, const char *start)
static void wps_reload_config (void *eloop_data, void *user_ctx)

Function Documentation

void hostapd_deinit_wps ( struct hostapd_data hapd  ) 

Definition at line 668 of file wps_hostapd.c.

int hostapd_init_wps ( struct hostapd_data hapd,
struct hostapd_bss_config conf 
)

Definition at line 487 of file wps_hostapd.c.

static void hostapd_pwd_auth_fail ( struct hostapd_data hapd,
struct wps_event_pwd_auth_fail *  data 
) [static]

Definition at line 424 of file wps_hostapd.c.

int hostapd_wps_add_pin ( struct hostapd_data hapd,
const char *  uuid,
const char *  pin,
int  timeout 
)

Definition at line 689 of file wps_hostapd.c.

int hostapd_wps_button_pushed ( struct hostapd_data hapd  ) 

Definition at line 707 of file wps_hostapd.c.

static void hostapd_wps_clear_ies ( struct hostapd_data hapd  )  [static]

Definition at line 475 of file wps_hostapd.c.

static int hostapd_wps_cred_cb ( void *  ctx,
const struct wps_credential cred 
) [static]

Definition at line 202 of file wps_hostapd.c.

static void hostapd_wps_enrollee_seen_cb ( void *  ctx,
const u8 addr,
const u8 uuid_e,
const u8 pri_dev_type,
u16  config_methods,
u16  dev_password_id,
u8  request_type,
const char *  dev_name 
) [static]

Definition at line 161 of file wps_hostapd.c.

static void hostapd_wps_event_cb ( void *  ctx,
enum wps_event  event,
union wps_event_data data 
) [static]

Definition at line 465 of file wps_hostapd.c.

int hostapd_wps_get_mib_sta ( struct hostapd_data hapd,
const u8 addr,
char *  buf,
size_t  buflen 
)

Definition at line 898 of file wps_hostapd.c.

static int hostapd_wps_new_psk_cb ( void *  ctx,
const u8 mac_addr,
const u8 psk,
size_t  psk_len 
) [static]

Definition at line 47 of file wps_hostapd.c.

static void hostapd_wps_pin_needed_cb ( void *  ctx,
const u8 uuid_e,
const struct wps_device_data dev 
) [static]

Definition at line 107 of file wps_hostapd.c.

static int hostapd_wps_probe_req_rx ( void *  ctx,
const u8 addr,
const u8 ie,
size_t  ie_len 
) [static]

Definition at line 769 of file wps_hostapd.c.

static void hostapd_wps_reg_success_cb ( void *  ctx,
const u8 mac_addr,
const u8 uuid_e 
) [static]

Definition at line 146 of file wps_hostapd.c.

static int hostapd_wps_set_ie_cb ( void *  ctx,
struct wpabuf beacon_ie,
struct wpabuf probe_resp_ie 
) [static]

Definition at line 94 of file wps_hostapd.c.

static int str_starts ( const char *  str,
const char *  start 
) [static]

Definition at line 184 of file wps_hostapd.c.

static void wps_reload_config ( void *  eloop_data,
void *  user_ctx 
) [static]

Definition at line 190 of file wps_hostapd.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines


wpa_supplicant_node
Author(s): Package maintained by Blaise Gassend
autogenerated on Fri Jan 11 10:02:46 2013