Main Page | Data Structures | Directories | File List | Data Fields | Globals

hostap.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

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)
void hostap_netif_wake_queues (struct net_device *dev)
void hostap_netif_stop_queues (struct net_device *dev)
int hostap_80211_header_parse (struct sk_buff *skb, unsigned char *haddr)
int hostap_80211_prism_header_parse (struct sk_buff *skb, unsigned char *haddr)
int hostap_80211_get_hdrlen (u16 fc)
net_device_stats * hostap_get_stats (struct net_device *dev)
void hostap_setup_dev (struct net_device *dev, local_info_t *local, int main_dev)
void hostap_set_multicast_list_queue (void *data)
int hostap_set_hostapd (local_info_t *local, int val, int rtnl_locked)
void hostap_cleanup (local_info_t *local)
void hostap_cleanup_handler (void *data)
net_device * hostap_add_interface (struct local_info *local, int type, int rtnl_locked, const char *name)
void hostap_remove_interface (struct net_device *dev, int rtnl_locked, int remove_from_list)
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)

Variables

proc_dir_entry * hostap_proc


Function Documentation

int hostap_80211_get_hdrlen u16 fc  ) 
 

Definition at line 720 of file hostap.c.

References WLAN_FC_FROMDS, WLAN_FC_GET_STYPE, WLAN_FC_GET_TYPE, WLAN_FC_STYPE_ACK, WLAN_FC_STYPE_CTS, WLAN_FC_TODS, WLAN_FC_TYPE_CTRL, and WLAN_FC_TYPE_DATA.

Referenced by click_tx_callback(), hostap_80211_rx(), hostap_ap_tx_cb(), hostap_rx_frame_decrypt(), hostap_rx_skb(), hostap_tx_callback(), and prism2_rx_80211().

int hostap_80211_header_parse struct sk_buff * skb,
unsigned char * haddr
 

Definition at line 698 of file hostap.c.

Referenced by hostap_enable_hostapd().

int hostap_80211_prism_header_parse struct sk_buff * skb,
unsigned char * haddr
 

Definition at line 705 of file hostap.c.

References LWNG_CAP_DID_BASE.

struct net_device* hostap_add_interface struct local_info * local,
int type,
int rtnl_locked,
const char * name
 

Definition at line 120 of file hostap.c.

References hostap_setup_dev().

Referenced by hostap_enable_hostapd(), and prism2_wds_add().

Here is the call graph for this function:

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_framerx
 

Definition at line 601 of file hostap.c.

References MAC2STR, MACSTR, WLAN_FC_FROMDS, WLAN_FC_GET_STYPE, WLAN_FC_GET_TYPE, and WLAN_FC_TODS.

Referenced by hostap_rx_skb(), and prism2_rx().

void hostap_dump_tx_header const char * name,
const struct hfa384x_tx_frametx
 

Definition at line 633 of file hostap.c.

References MAC2STR, MACSTR, WLAN_FC_FROMDS, WLAN_FC_GET_STYPE, WLAN_FC_GET_TYPE, and WLAN_FC_TODS.

Referenced by prism2_tx().

u16 hostap_get_porttype local_info_t * local  ) 
 

Definition at line 399 of file hostap.c.

References HFA384X_PORTTYPE_BSS, HFA384X_PORTTYPE_HOSTAP, HFA384X_PORTTYPE_IBSS, HFA384X_PORTTYPE_PSEUDO_IBSS, HFA384X_PORTTYPE_WDS, IW_MODE_ADHOC, IW_MODE_INFRA, IW_MODE_MONITOR, and IW_MODE_REPEAT.

Referenced by prism2_setup_rids().

struct net_device_stats* hostap_get_stats struct net_device * dev  ) 
 

Definition at line 746 of file hostap.c.

Referenced by hostap_80211_rx(), hostap_rx_skb(), hostap_setup_dev(), monitor_rx(), prism2_rx(), prism2_transmit(), and prism2_tx().

void hostap_info_init local_info_t * local  ) 
 

Definition at line 466 of file hostap_info.c.

References handle_info_queue(), and INIT_WORK().

Referenced by prism2_init_local_data().

Here is the call graph for this function:

void hostap_info_process local_info_t * local,
struct sk_buff * skb
 

Definition at line 353 of file hostap_info.c.

References HFA384X_INFO_COMMTALLIES, HFA384X_INFO_HOSTSCANRESULTS, HFA384X_INFO_LINKSTATUS, HFA384X_INFO_SCANRESULTS, hfa384x_info_frame::len, prism2_info_commtallies(), prism2_info_hostscanresults(), prism2_info_linkstatus(), prism2_info_scanresults(), and hfa384x_info_frame::type.

Referenced by hostap_info_tasklet().

Here is the call graph for this function:

void hostap_init_proc local_info_t * local  ) 
 

Definition at line 284 of file hostap_proc.c.

References hostap_proc, prism2_debug_proc_read(), prism2_pda_proc_read(), prism2_scan_results_proc_read(), prism2_stats_proc_read(), and prism2_wds_proc_read().

Referenced by prism2_init_dev().

Here is the call graph for this function:

void hostap_netif_stop_queues struct net_device * dev  ) 
 

Definition at line 682 of file hostap.c.

Referenced by prism2_event(), prism2_transmit(), prism2_transmit_cb(), and prism2_tx().

void hostap_netif_wake_queues struct net_device * dev  ) 
 

Definition at line 665 of file hostap.c.

Referenced by handle_reset_queue(), prism2_alloc_ev(), prism2_hw_enable(), prism2_transmit(), and prism2_transmit_cb().

void hostap_remove_interface struct net_device * dev,
int rtnl_locked,
int remove_from_list
 

Definition at line 187 of file hostap.c.

Referenced by hostap_disable_hostapd(), prism2_free_local_data(), and prism2_wds_del().

void hostap_remove_proc local_info_t * local  ) 
 

Definition at line 322 of file hostap_proc.c.

References hostap_proc.

Referenced by prism2_free_local_data().

int hostap_set_antsel local_info_t * local  ) 
 

Definition at line 501 of file hostap.c.

References BIT, HFA384X_CMDCODE_READMIF, HFA384X_CMDCODE_WRITEMIF, HFA386X_CR_RX_CONFIGURE, HFA386X_CR_TX_CONFIGURE, HOSTAP_ANTSEL_DIVERSITY, HOSTAP_ANTSEL_DO_NOT_TOUCH, HOSTAP_ANTSEL_HIGH, and HOSTAP_ANTSEL_LOW.

Referenced by prism2_setup_rids().

int hostap_set_auth_algs local_info_t * local  ) 
 

Definition at line 579 of file hostap.c.

References HFA384X_RID_CNFAUTHENTICATION, hostap_set_word(), PRISM2_AUTH_OPEN, and PRISM2_AUTH_SHARED_KEY.

Referenced by prism2_setup_rids().

Here is the call graph for this function:

int hostap_set_encryption local_info_t * local  ) 
 

Definition at line 415 of file hostap.c.

References HFA384X_RID_CNFDEFAULTKEY0, HFA384X_RID_CNFWEPDEFAULTKEYID, HFA384X_RID_CNFWEPFLAGS, HFA384X_WEPFLAGS_EXCLUDEUNENCRYPTED, HFA384X_WEPFLAGS_HOSTDECRYPT, HFA384X_WEPFLAGS_HOSTENCRYPT, HFA384X_WEPFLAGS_PRIVACYINVOKED, hostap_set_word(), WEP_KEY_LEN, and WEP_KEYS.

Referenced by prism2_setup_rids().

Here is the call graph for this function:

int hostap_set_hostapd local_info_t * local,
int val,
int rtnl_locked
 

Definition at line 1008 of file hostap.c.

References hostap_disable_hostapd(), and hostap_enable_hostapd().

Referenced by prism2_free_local_data().

Here is the call graph for this function:

void hostap_set_multicast_list_queue void * data  ) 
 

Definition at line 852 of file hostap.c.

References HFA384X_RID_PROMISCUOUSMODE, and hostap_set_word().

Referenced by prism2_init_local_data().

Here is the call graph for this function:

int hostap_set_roaming local_info_t * local  ) 
 

Definition at line 558 of file hostap.c.

References HFA384X_RID_CNFROAMINGMODE, HFA384X_ROAMING_DISABLED, HFA384X_ROAMING_FIRMWARE, HFA384X_ROAMING_HOST, and hostap_set_word().

Referenced by prism2_setup_rids().

Here is the call graph for this function:

int hostap_set_string struct net_device * dev,
int rid,
const char * val
 

Definition at line 382 of file hostap.c.

Referenced by prism2_setup_rids().

int hostap_set_word struct net_device * dev,
int rid,
u16 val
 

Definition at line 374 of file hostap.c.

Referenced by handle_set_tim_queue(), hostap_set_auth_algs(), hostap_set_encryption(), hostap_set_multicast_list_queue(), hostap_set_roaming(), prism2_reset_port(), and prism2_setup_rids().

void hostap_setup_dev struct net_device * dev,
local_info_t * local,
int main_dev
 

Definition at line 922 of file hostap.c.

References hostap_get_stats(), hostap_set_multicast_list(), prism2_change_mtu(), prism2_close(), prism2_open(), and TX_TIMEOUT.

Referenced by hostap_add_interface(), and prism2_init_local_data().

Here is the call graph for this function:

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

Definition at line 324 of file hostap.c.

Referenced by hostap_init_data().

int hostap_tx_callback_unregister local_info_t * local,
u16 idx
 

Definition at line 349 of file hostap.c.


Variable Documentation

struct proc_dir_entry* hostap_proc
 

Definition at line 1025 of file hostap.c.

Referenced by hostap_exit(), hostap_init(), hostap_init_proc(), and hostap_remove_proc().


Generated on Mon Nov 21 15:58:37 2005 for openwifi by  doxygen 1.4.1