Classes | Functions | Variables
driver_hostap.c File Reference
#include "includes.h"
#include <sys/ioctl.h>
#include "wireless_copy.h"
#include "common.h"
#include "driver.h"
#include "driver_wext.h"
#include "eloop.h"
#include "driver_hostap.h"
Include dependency graph for driver_hostap.c:

Go to the source code of this file.

Classes

struct  wpa_driver_hostap_data

Functions

static int hostapd_ioctl (struct wpa_driver_hostap_data *drv, struct prism2_hostapd_param *param, int len, int show_err)
static int prism2param (struct wpa_driver_hostap_data *drv, int param, int value)
static void show_set_key_error (struct prism2_hostapd_param *param)
static int wpa_driver_hostap_associate (void *priv, struct wpa_driver_associate_params *params)
static int wpa_driver_hostap_deauthenticate (void *priv, const u8 *addr, int reason_code)
static void wpa_driver_hostap_deinit (void *priv)
static int wpa_driver_hostap_disassociate (void *priv, const u8 *addr, int reason_code)
static int wpa_driver_hostap_get_bssid (void *priv, u8 *bssid)
static struct wpa_scan_resultswpa_driver_hostap_get_scan_results (void *priv)
static int wpa_driver_hostap_get_ssid (void *priv, u8 *ssid)
static void * wpa_driver_hostap_init (void *ctx, const char *ifname)
static int wpa_driver_hostap_mlme (struct wpa_driver_hostap_data *drv, const u8 *addr, int cmd, int reason_code)
static int wpa_driver_hostap_reset (struct wpa_driver_hostap_data *drv, int type)
static int wpa_driver_hostap_scan (void *priv, struct wpa_driver_scan_params *params)
static int wpa_driver_hostap_set_auth_alg (void *priv, int auth_alg)
static int wpa_driver_hostap_set_countermeasures (void *priv, int enabled)
static int wpa_driver_hostap_set_key (const char *ifname, void *priv, enum wpa_alg alg, const u8 *addr, int key_idx, int set_tx, const u8 *seq, size_t seq_len, const u8 *key, size_t key_len)
static int wpa_driver_hostap_set_operstate (void *priv, int state)
static int wpa_driver_hostap_set_wpa (void *priv, int enabled)
static int wpa_driver_hostap_set_wpa_ie (struct wpa_driver_hostap_data *drv, const u8 *wpa_ie, size_t wpa_ie_len)

Variables

struct wpa_driver_ops wpa_driver_hostap_ops

Function Documentation

static int hostapd_ioctl ( struct wpa_driver_hostap_data drv,
struct prism2_hostapd_param param,
int  len,
int  show_err 
) [static]

Definition at line 1131 of file driver_hostap.c.

static int prism2param ( struct wpa_driver_hostap_data drv,
int  param,
int  value 
) [static]

Definition at line 1177 of file driver_hostap.c.

static void show_set_key_error ( struct prism2_hostapd_param param) [static]

Definition at line 1215 of file driver_hostap.c.

static int wpa_driver_hostap_associate ( void *  priv,
struct wpa_driver_associate_params params 
) [static]

Definition at line 1398 of file driver_hostap.c.

static int wpa_driver_hostap_deauthenticate ( void *  priv,
const u8 *  addr,
int  reason_code 
) [static]

Definition at line 1377 of file driver_hostap.c.

static void wpa_driver_hostap_deinit ( void *  priv) [static]

Definition at line 1585 of file driver_hostap.c.

static int wpa_driver_hostap_disassociate ( void *  priv,
const u8 *  addr,
int  reason_code 
) [static]

Definition at line 1387 of file driver_hostap.c.

static int wpa_driver_hostap_get_bssid ( void *  priv,
u8 *  bssid 
) [static]

Definition at line 1517 of file driver_hostap.c.

static struct wpa_scan_results* wpa_driver_hostap_get_scan_results ( void *  priv) [static, read]

Definition at line 1531 of file driver_hostap.c.

static int wpa_driver_hostap_get_ssid ( void *  priv,
u8 *  ssid 
) [static]

Definition at line 1524 of file driver_hostap.c.

static void* wpa_driver_hostap_init ( void *  ctx,
const char *  ifname 
) [static]

Definition at line 1545 of file driver_hostap.c.

static int wpa_driver_hostap_mlme ( struct wpa_driver_hostap_data drv,
const u8 *  addr,
int  cmd,
int  reason_code 
) [static]

Definition at line 1353 of file driver_hostap.c.

static int wpa_driver_hostap_reset ( struct wpa_driver_hostap_data drv,
int  type 
) [static]

Definition at line 1332 of file driver_hostap.c.

static int wpa_driver_hostap_scan ( void *  priv,
struct wpa_driver_scan_params params 
) [static]

Definition at line 1462 of file driver_hostap.c.

static int wpa_driver_hostap_set_auth_alg ( void *  priv,
int  auth_alg 
) [static]

Definition at line 1499 of file driver_hostap.c.

static int wpa_driver_hostap_set_countermeasures ( void *  priv,
int  enabled 
) [static]

Definition at line 1324 of file driver_hostap.c.

static int wpa_driver_hostap_set_key ( const char *  ifname,
void *  priv,
enum wpa_alg  alg,
const u8 *  addr,
int  key_idx,
int  set_tx,
const u8 *  seq,
size_t  seq_len,
const u8 *  key,
size_t  key_len 
) [static]

Definition at line 1246 of file driver_hostap.c.

static int wpa_driver_hostap_set_operstate ( void *  priv,
int  state 
) [static]

Definition at line 1538 of file driver_hostap.c.

static int wpa_driver_hostap_set_wpa ( void *  priv,
int  enabled 
) [static]

Definition at line 1197 of file driver_hostap.c.

static int wpa_driver_hostap_set_wpa_ie ( struct wpa_driver_hostap_data drv,
const u8 *  wpa_ie,
size_t  wpa_ie_len 
) [static]

Definition at line 1153 of file driver_hostap.c.


Variable Documentation

Definition at line 1597 of file driver_hostap.c.



wpa_supplicant
Author(s): Package maintained by Blaise Gassend
autogenerated on Thu Apr 24 2014 15:34:37