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

Driver interaction with Linux Host AP driver. More...

#include "includes.h"
#include <sys/ioctl.h>
#include "linux_wext.h"
#include "common.h"
#include "driver.h"
#include "driver_wext.h"
#include "eloop.h"
#include "driver_hostap.h"
#include <net/if_arp.h>
#include <netpacket/packet.h>
#include "priv_netlink.h"
#include "netlink.h"
#include "linux_ioctl.h"
#include "common/ieee802_11_defs.h"
#include "common/ieee802_11_common.h"

Data Structures

struct  hostap_driver_data
 

Macros

#define HOSTAPD_MTU   2290
 
#define WLAN_RATE_1M   BIT(0)
 
#define WLAN_RATE_2M   BIT(1)
 
#define WLAN_RATE_5M5   BIT(2)
 
#define WLAN_RATE_11M   BIT(3)
 

Variables

const struct wpa_driver_ops wpa_driver_hostap_ops
 

Detailed Description

Driver interaction with Linux Host AP driver.

Variable Documentation

const struct wpa_driver_ops wpa_driver_hostap_ops
Initial value:
= {
.name = "hostap",
.desc = "Host AP driver (Intersil Prism2/2.5/3)",
.set_key = wpa_driver_hostap_set_key,
.hapd_init = hostap_init,
.hapd_deinit = hostap_driver_deinit,
.set_ieee8021x = hostap_set_ieee8021x,
.set_privacy = hostap_set_privacy,
.get_seqnum = hostap_get_seqnum,
.flush = hostap_flush,
.set_generic_elem = hostap_set_generic_elem,
.read_sta_data = hostap_read_sta_data,
.hapd_send_eapol = hostap_send_eapol,
.sta_set_flags = hostap_sta_set_flags,
.sta_deauth = hostap_sta_deauth,
.sta_disassoc = hostap_sta_disassoc,
.sta_remove = hostap_sta_remove,
.hapd_set_ssid = hostap_set_ssid,
.send_mlme = hostap_send_mlme,
.sta_add = hostap_sta_add,
.get_inact_sec = hostap_get_inact_sec,
.sta_clear_stats = hostap_sta_clear_stats,
.get_hw_feature_data = hostap_get_hw_feature_data,
.set_ap_wps_ie = hostap_set_ap_wps_ie,
.set_freq = hostap_set_freq,
.poll_client = wpa_driver_hostap_poll_client,
}