Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
hostap.h File Reference
#include <linux/ethtool.h>
#include <linux/kernel.h>
#include "hostap_wlan.h"
#include "hostap_ap.h"

Go to the source code of this file.

Macros

#define FREQ_COUNT   ARRAY_SIZE(freq_list)
 

Functions

u16 hostap_tx_callback_register (local_info_t *local, void(*func)(struct sk_buff *, int ok, void *), void *data)
 
int hostap_tx_callback_unregister (local_info_t *local, u16 idx)
 
int hostap_set_word (struct net_device *dev, int rid, u16 val)
 
int hostap_set_string (struct net_device *dev, int rid, const char *val)
 
u16 hostap_get_porttype (local_info_t *local)
 
int hostap_set_encryption (local_info_t *local)
 
int hostap_set_antsel (local_info_t *local)
 
int hostap_set_roaming (local_info_t *local)
 
int hostap_set_auth_algs (local_info_t *local)
 
void hostap_dump_rx_header (const char *name, const struct hfa384x_rx_frame *rx)
 
void hostap_dump_tx_header (const char *name, const struct hfa384x_tx_frame *tx)
 
int hostap_80211_get_hdrlen (__le16 fc)
 
struct net_device_statshostap_get_stats (struct net_device *dev)
 
void hostap_setup_dev (struct net_device *dev, local_info_t *local, int type)
 
void hostap_set_multicast_list_queue (struct work_struct *work)
 
int hostap_set_hostapd (local_info_t *local, int val, int rtnl_locked)
 
int hostap_set_hostapd_sta (local_info_t *local, int val, int rtnl_locked)
 
void hostap_cleanup (local_info_t *local)
 
void hostap_cleanup_handler (void *data)
 
struct net_devicehostap_add_interface (struct local_info *local, int type, int rtnl_locked, const char *prefix, const char *name)
 
void hostap_remove_interface (struct net_device *dev, int rtnl_locked, int remove_from_list)
 
int prism2_update_comms_qual (struct net_device *dev)
 
int prism2_sta_send_mgmt (local_info_t *local, u8 *dst, u16 stype, u8 *body, size_t bodylen)
 
int prism2_sta_deauth (local_info_t *local, u16 reason)
 
int prism2_wds_add (local_info_t *local, u8 *remote_addr, int rtnl_locked)
 
int prism2_wds_del (local_info_t *local, u8 *remote_addr, int rtnl_locked, int do_not_remove)
 
int ap_control_add_mac (struct mac_restrictions *mac_restrictions, u8 *mac)
 
int ap_control_del_mac (struct mac_restrictions *mac_restrictions, u8 *mac)
 
void ap_control_flush_macs (struct mac_restrictions *mac_restrictions)
 
int ap_control_kick_mac (struct ap_data *ap, struct net_device *dev, u8 *mac)
 
void ap_control_kickall (struct ap_data *ap)
 
voidap_crypt_get_ptrs (struct ap_data *ap, u8 *addr, int permanent, struct lib80211_crypt_data ***crypt)
 
int prism2_ap_get_sta_qual (local_info_t *local, struct sockaddr addr[], struct iw_quality qual[], int buf_size, int aplist)
 
int prism2_ap_translate_scan (struct net_device *dev, struct iw_request_info *info, char *buffer)
 
int prism2_hostapd (struct ap_data *ap, struct prism2_hostapd_param *param)
 
void hostap_init_proc (local_info_t *local)
 
void hostap_remove_proc (local_info_t *local)
 
void hostap_info_init (local_info_t *local)
 
void hostap_info_process (local_info_t *local, struct sk_buff *skb)
 
int hostap_ioctl (struct net_device *dev, struct ifreq *ifr, int cmd)
 

Variables

struct proc_dir_entryhostap_proc
 
struct header_ops hostap_80211_ops
 
struct iw_handler_def hostap_iw_handler_def
 
struct ethtool_ops prism2_ethtool_ops
 

Macro Definition Documentation

#define FREQ_COUNT   ARRAY_SIZE(freq_list)

Definition at line 12 of file hostap.h.

Function Documentation

int ap_control_add_mac ( struct mac_restrictions mac_restrictions,
u8 mac 
)

Definition at line 373 of file hostap_ap.c.

int ap_control_del_mac ( struct mac_restrictions mac_restrictions,
u8 mac 
)

Definition at line 392 of file hostap_ap.c.

void ap_control_flush_macs ( struct mac_restrictions mac_restrictions)

Definition at line 440 of file hostap_ap.c.

int ap_control_kick_mac ( struct ap_data ap,
struct net_device dev,
u8 mac 
)

Definition at line 461 of file hostap_ap.c.

void ap_control_kickall ( struct ap_data ap)

Definition at line 492 of file hostap_ap.c.

void* ap_crypt_get_ptrs ( struct ap_data ap,
u8 addr,
int  permanent,
struct lib80211_crypt_data ***  crypt 
)

Definition at line 3210 of file hostap_ap.c.

int hostap_80211_get_hdrlen ( __le16  fc)

Definition at line 591 of file hostap_main.c.

struct net_device* hostap_add_interface ( struct local_info *  local,
int  type,
int  rtnl_locked,
const char prefix,
const char name 
)
read

Definition at line 49 of file hostap_main.c.

void hostap_cleanup ( local_info_t local)
void hostap_cleanup_handler ( void data)
void hostap_dump_rx_header ( const char name,
const struct hfa384x_rx_frame rx 
)

Definition at line 524 of file hostap_main.c.

void hostap_dump_tx_header ( const char name,
const struct hfa384x_tx_frame tx 
)

Definition at line 555 of file hostap_main.c.

u16 hostap_get_porttype ( local_info_t local)

Definition at line 316 of file hostap_main.c.

struct net_device_stats* hostap_get_stats ( struct net_device dev)
read
void hostap_info_init ( local_info_t local)

Definition at line 497 of file hostap_info.c.

void hostap_info_process ( local_info_t local,
struct sk_buff skb 
)

Definition at line 366 of file hostap_info.c.

void hostap_init_proc ( local_info_t local)

Definition at line 388 of file hostap_proc.c.

int hostap_ioctl ( struct net_device dev,
struct ifreq ifr,
int  cmd 
)

Definition at line 3964 of file hostap_ioctl.c.

void hostap_remove_interface ( struct net_device dev,
int  rtnl_locked,
int  remove_from_list 
)

Definition at line 102 of file hostap_main.c.

void hostap_remove_proc ( local_info_t local)

Definition at line 432 of file hostap_proc.c.

int hostap_set_antsel ( local_info_t local)

Definition at line 424 of file hostap_main.c.

int hostap_set_auth_algs ( local_info_t local)

Definition at line 502 of file hostap_main.c.

int hostap_set_encryption ( local_info_t local)

Definition at line 332 of file hostap_main.c.

int hostap_set_hostapd ( local_info_t local,
int  val,
int  rtnl_locked 
)

Definition at line 955 of file hostap_main.c.

int hostap_set_hostapd_sta ( local_info_t local,
int  val,
int  rtnl_locked 
)

Definition at line 980 of file hostap_main.c.

void hostap_set_multicast_list_queue ( struct work_struct work)

Definition at line 733 of file hostap_main.c.

int hostap_set_roaming ( local_info_t local)

Definition at line 481 of file hostap_main.c.

int hostap_set_string ( struct net_device dev,
int  rid,
const char val 
)

Definition at line 298 of file hostap_main.c.

int hostap_set_word ( struct net_device dev,
int  rid,
u16  val 
)

Definition at line 289 of file hostap_main.c.

void hostap_setup_dev ( struct net_device dev,
local_info_t local,
int  type 
)

Definition at line 850 of file hostap_main.c.

u16 hostap_tx_callback_register ( local_info_t local,
void(*)(struct sk_buff *, int ok, void *)  func,
void data 
)

Definition at line 240 of file hostap_main.c.

int hostap_tx_callback_unregister ( local_info_t local,
u16  idx 
)

Definition at line 264 of file hostap_main.c.

int prism2_ap_get_sta_qual ( local_info_t local,
struct sockaddr  addr[],
struct iw_quality  qual[],
int  buf_size,
int  aplist 
)

Definition at line 2324 of file hostap_ap.c.

int prism2_ap_translate_scan ( struct net_device dev,
struct iw_request_info info,
char buffer 
)

Definition at line 2366 of file hostap_ap.c.

int prism2_hostapd ( struct ap_data ap,
struct prism2_hostapd_param param 
)

Definition at line 2611 of file hostap_ap.c.

int prism2_sta_deauth ( local_info_t local,
u16  reason 
)

Definition at line 1080 of file hostap_main.c.

int prism2_sta_send_mgmt ( local_info_t local,
u8 dst,
u16  stype,
u8 body,
size_t  bodylen 
)

Definition at line 1044 of file hostap_main.c.

int prism2_update_comms_qual ( struct net_device dev)

Definition at line 1006 of file hostap_main.c.

int prism2_wds_add ( local_info_t local,
u8 remote_addr,
int  rtnl_locked 
)

Definition at line 142 of file hostap_main.c.

int prism2_wds_del ( local_info_t local,
u8 remote_addr,
int  rtnl_locked,
int  do_not_remove 
)

Definition at line 204 of file hostap_main.c.

Variable Documentation

struct header_ops hostap_80211_ops

Definition at line 801 of file hostap_main.c.

struct iw_handler_def hostap_iw_handler_def

Definition at line 3952 of file hostap_ioctl.c.

struct proc_dir_entry* hostap_proc

Definition at line 1099 of file hostap_main.c.

struct ethtool_ops prism2_ethtool_ops

Definition at line 3877 of file hostap_ioctl.c.