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

hostap_ap.c File Reference

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

Go to the source code of this file.

Defines

#define PROC_LIMIT   (PAGE_SIZE - 80)

Functions

 MODULE_PARM (other_ap_policy, PARM_MIN_MAX"i")
 MODULE_PARM_DESC (other_ap_policy,"Other AP beacon monitoring policy (0-3)")
 MODULE_PARM (ap_max_inactivity, PARM_MIN_MAX"i")
 MODULE_PARM_DESC (ap_max_inactivity,"AP timeout (in seconds) for station ""inactivity")
 MODULE_PARM (ap_bridge_packets, PARM_MIN_MAX"i")
 MODULE_PARM_DESC (ap_bridge_packets,"Bridge packets directly between ""stations")
 MODULE_PARM (autom_ap_wds, PARM_MIN_MAX"i")
 MODULE_PARM_DESC (autom_ap_wds,"Add WDS connections to other APs ""automatically")
static struct sta_infoap_get_sta (struct ap_data *ap, u8 *sta)
static void hostap_event_expired_sta (struct net_device *dev, struct sta_info *sta)
static void handle_add_proc_queue (void *data)
static void handle_wds_oper_queue (void *data)
static void prism2_send_mgmt (struct net_device *dev, int type, int subtype, char *body, int body_len, int txevent, u8 *addr, u16 tx_cb_idx)
static int ap_debug_proc_read (char *page, char **start, off_t off, int count, int *eof, void *data)
static void ap_sta_hash_add (struct ap_data *ap, struct sta_info *sta)
static void ap_sta_hash_del (struct ap_data *ap, struct sta_info *sta)
static void ap_free_sta (struct ap_data *ap, struct sta_info *sta)
static void hostap_set_tim (local_info_t *local, int aid, int set)
static void handle_set_tim_queue (void *data)
static void hostap_event_new_sta (struct net_device *dev, struct sta_info *sta)
static void ap_handle_timer (unsigned long data)
void hostap_deauth_all_stas (struct net_device *dev, struct ap_data *ap, int resend)
static int ap_control_proc_read (char *page, char **start, off_t off, int count, int *eof, void *data)
static int ap_control_add_mac (struct mac_restrictions *mac_restrictions, u8 *mac)
static int ap_control_del_mac (struct mac_restrictions *mac_restrictions, u8 *mac)
static int ap_control_mac_deny (struct mac_restrictions *mac_restrictions, u8 *mac)
static void ap_control_flush_macs (struct mac_restrictions *mac_restrictions)
static int ap_control_kick_mac (struct ap_data *ap, struct net_device *dev, u8 *mac)
static void ap_control_kickall (struct ap_data *ap)
static int prism2_ap_proc_read (char *page, char **start, off_t off, int count, int *eof, void *data)
void hostap_check_sta_fw_version (struct ap_data *ap, int sta_fw_ver)
static void hostap_ap_tx_cb (struct sk_buff *skb, int ok, void *data)
static void hostap_ap_tx_cb_auth (struct sk_buff *skb, int ok, void *data)
static void hostap_ap_tx_cb_assoc (struct sk_buff *skb, int ok, void *data)
static void hostap_ap_tx_cb_poll (struct sk_buff *skb, int ok, void *data)
void hostap_init_data (local_info_t *local)
void hostap_free_data (struct ap_data *ap)
static int prism2_sta_proc_read (char *page, char **start, off_t off, int count, int *eof, void *data)
static struct sta_infoap_add_sta (struct ap_data *ap, u8 *addr)
static int ap_tx_rate_ok (int rateidx, struct sta_info *sta, local_info_t *local)
static void prism2_check_tx_rates (struct sta_info *sta)
static void ap_crypt_init (struct ap_data *ap)
static char * ap_auth_make_challenge (struct ap_data *ap)
static void handle_authen (local_info_t *local, struct sk_buff *skb, struct hostap_80211_rx_status *rx_stats)
static void handle_assoc (local_info_t *local, struct sk_buff *skb, struct hostap_80211_rx_status *rx_stats, int reassoc)
static void handle_deauth (local_info_t *local, struct sk_buff *skb, struct hostap_80211_rx_status *rx_stats)
static void handle_disassoc (local_info_t *local, struct sk_buff *skb, struct hostap_80211_rx_status *rx_stats)
static void ap_handle_data_nullfunc (local_info_t *local, struct hostap_ieee80211_hdr *hdr)
static void ap_handle_dropped_data (local_info_t *local, struct hostap_ieee80211_hdr *hdr)
static void pspoll_send_buffered (local_info_t *local, struct sta_info *sta, struct sk_buff *skb)
static void handle_pspoll (local_info_t *local, struct hostap_ieee80211_hdr *hdr, struct hostap_80211_rx_status *rx_stats)
void hostap_ap_update_sq (struct sta_info *sta, struct hostap_80211_rx_status *rx_stats)
static void handle_beacon (local_info_t *local, struct sk_buff *skb, struct hostap_80211_rx_status *rx_stats)
static void handle_ap_item (local_info_t *local, struct sk_buff *skb, struct hostap_80211_rx_status *rx_stats)
void hostap_rx (struct net_device *dev, struct sk_buff *skb, struct hostap_80211_rx_status *rx_stats)
static void schedule_packet_send (local_info_t *local, struct sta_info *sta)
static int prism2_hostapd_add_sta (struct ap_data *ap, struct prism2_hostapd_param *param)
static int prism2_hostapd_remove_sta (struct ap_data *ap, struct prism2_hostapd_param *param)
static int prism2_hostapd_get_info_sta (struct ap_data *ap, struct prism2_hostapd_param *param)
static int prism2_hostapd_set_flags_sta (struct ap_data *ap, struct prism2_hostapd_param *param)
static int prism2_hostapd (struct ap_data *ap, struct prism2_hostapd_param *param)
static int ap_update_sta_tx_rate (struct sta_info *sta, struct net_device *dev)
ap_tx_ret hostap_handle_sta_tx (local_info_t *local, struct sk_buff *skb, struct hfa384x_tx_frame *txdesc, int wds, int host_encrypt, struct prism2_crypt_data **crypt, void **sta_ptr)
void hostap_handle_sta_release (void *ptr)
void hostap_handle_sta_tx_exc (local_info_t *local, struct hfa384x_tx_frame *txdesc)
static void hostap_update_sta_ps2 (local_info_t *local, struct sta_info *sta, int pwrmgt, int type, int stype)
int hostap_update_sta_ps (local_info_t *local, struct hostap_ieee80211_hdr *hdr)
ap_rx_ret hostap_handle_sta_rx (local_info_t *local, struct net_device *dev, struct sk_buff *skb, struct hostap_80211_rx_status *rx_stats, int wds)
int hostap_handle_sta_crypto (local_info_t *local, struct hostap_ieee80211_hdr *hdr, struct prism2_crypt_data **crypt, void **sta_ptr)
int hostap_is_sta_assoc (struct ap_data *ap, u8 *sta_addr)
int hostap_add_sta (struct ap_data *ap, u8 *sta_addr)
int hostap_update_rx_stats (struct ap_data *ap, struct hostap_ieee80211_hdr *hdr, struct hostap_80211_rx_status *rx_stats)
void hostap_update_rates (local_info_t *local)
static void * ap_crypt_get_ptrs (struct ap_data *ap, u8 *addr, int permanent, struct prism2_crypt_data ***crypt)
void hostap_add_wds_links (local_info_t *local)
void hostap_wds_link_oper (local_info_t *local, u8 *addr, wds_oper_type type)
 EXPORT_SYMBOL (hostap_init_data)
 EXPORT_SYMBOL (hostap_free_data)
 EXPORT_SYMBOL (hostap_check_sta_fw_version)
 EXPORT_SYMBOL (hostap_handle_sta_tx)
 EXPORT_SYMBOL (hostap_handle_sta_release)
 EXPORT_SYMBOL (hostap_update_sta_ps)
 EXPORT_SYMBOL (hostap_handle_sta_rx)
 EXPORT_SYMBOL (hostap_is_sta_assoc)
 EXPORT_SYMBOL (hostap_add_sta)
 EXPORT_SYMBOL (hostap_update_rates)
 EXPORT_SYMBOL (hostap_add_wds_links)
 EXPORT_SYMBOL (hostap_wds_link_oper)
 EXPORT_SYMBOL (hostap_deauth_all_stas)

Variables

static int other_ap_policy [MAX_PARM_DEVICES]
static int ap_max_inactivity [MAX_PARM_DEVICES]
static int ap_bridge_packets [MAX_PARM_DEVICES] = { 1, DEF_INTS }
static int autom_ap_wds [MAX_PARM_DEVICES] = { 0, DEF_INTS }


Define Documentation

#define PROC_LIMIT   (PAGE_SIZE - 80)
 

Definition at line 593 of file hostap_ap.c.

Referenced by prism2_ap_proc_read(), and prism2_wds_proc_read().


Function Documentation

static struct sta_info* ap_add_sta struct ap_dataap,
u8 * addr
[static]
 

Definition at line 1178 of file hostap_ap.c.

References add_sta_proc_data::addr, sta_info::addr, ap_handle_timer(), ap_sta_hash_add(), sta_info::list, sta_info::local, add_sta_proc_data::next, PRISM2_SCHEDULE_TASK, spin_lock_bh, spin_unlock_bh, sta_info::timer, sta_info::tx_buf, and sta_info::users.

Referenced by ap_crypt_get_ptrs(), handle_authen(), handle_beacon(), hostap_add_sta(), and prism2_hostapd_add_sta().

Here is the call graph for this function:

static char* ap_auth_make_challenge struct ap_dataap  ) [static]
 

Definition at line 1326 of file hostap_ap.c.

References ap_crypt_init(), hostap_crypto_ops::encrypt, and WLAN_AUTH_CHALLENGE_LEN.

Referenced by handle_authen().

Here is the call graph for this function:

static int ap_control_add_mac struct mac_restrictionsmac_restrictions,
u8 * mac
[static]
 

Definition at line 446 of file hostap_ap.c.

References mac_entry::addr, mac_entry::list, spin_lock_bh, and spin_unlock_bh.

static int ap_control_del_mac struct mac_restrictionsmac_restrictions,
u8 * mac
[static]
 

Definition at line 466 of file hostap_ap.c.

References mac_entry::addr, spin_lock_bh, and spin_unlock_bh.

static void ap_control_flush_macs struct mac_restrictionsmac_restrictions  ) [static]
 

Definition at line 519 of file hostap_ap.c.

References spin_lock_bh, and spin_unlock_bh.

static int ap_control_kick_mac struct ap_dataap,
struct net_device * dev,
u8 * mac
[static]
 

Definition at line 540 of file hostap_ap.c.

References sta_info::addr, sta_info::ap, ap_free_sta(), ap_get_sta(), ap_sta_hash_del(), sta_info::flags, hostap_event_expired_sta(), sta_info::list, prism2_send_mgmt(), spin_lock_bh, spin_unlock_bh, WLAN_FC_STYPE_DEAUTH, WLAN_FC_TYPE_MGMT, WLAN_REASON_PREV_AUTH_NOT_VALID, and WLAN_STA_ASSOC.

Here is the call graph for this function:

static void ap_control_kickall struct ap_dataap  ) [static]
 

Definition at line 572 of file hostap_ap.c.

References sta_info::ap, ap_free_sta(), ap_sta_hash_del(), sta_info::flags, hostap_event_expired_sta(), sta_info::list, sta_info::local, spin_lock_bh, spin_unlock_bh, and WLAN_STA_ASSOC.

Here is the call graph for this function:

static int ap_control_mac_deny struct mac_restrictionsmac_restrictions,
u8 * mac
[static]
 

Definition at line 490 of file hostap_ap.c.

References mac_entry::addr, spin_lock_bh, and spin_unlock_bh.

Referenced by handle_authen().

static int ap_control_proc_read char * page,
char ** start,
off_t off,
int count,
int * eof,
void * data
[static]
 

Definition at line 398 of file hostap_ap.c.

References mac_entry::addr, mac_restrictions::entries, mac_restrictions::lock, MAC2STR, mac_restrictions::mac_list, ap_data::mac_restrictions, MACSTR, mac_restrictions::policy, spin_lock_bh, and spin_unlock_bh.

Referenced by hostap_init_data().

static void* ap_crypt_get_ptrs struct ap_dataap,
u8 * addr,
int permanent,
struct prism2_crypt_data *** crypt
[static]
 

Definition at line 3262 of file hostap_ap.c.

References ap_add_sta(), ap_get_sta(), sta_info::crypt, sta_info::flags, spin_lock_bh, spin_unlock_bh, sta_info::users, and WLAN_STA_PERM.

Here is the call graph for this function:

static void ap_crypt_init struct ap_dataap  ) [static]
 

Definition at line 1293 of file hostap_ap.c.

References sta_info::crypt, hostap_get_crypto_ops(), hostap_crypto_ops::init, hostap_crypto_ops::set_key, and WEP_KEY_LEN.

Referenced by ap_auth_make_challenge().

Here is the call graph for this function:

static int ap_debug_proc_read char * page,
char ** start,
off_t off,
int count,
int * eof,
void * data
[static]
 

Definition at line 56 of file hostap_ap.c.

References ap_data::autom_ap_wds, ap_data::bridge_packets, ap_data::bridged_multicast, ap_data::bridged_unicast, ap_data::local, ap_data::max_inactivity, and ap_data::nullfunc_ack.

Referenced by hostap_init_data().

static void ap_free_sta struct ap_dataap,
struct sta_infosta
[static]
 

Definition at line 107 of file hostap_ap.c.

References sta_info::crypt, hostap_event_expired_sta(), MAC2STR, and MACSTR.

Referenced by ap_control_kick_mac(), ap_control_kickall(), ap_handle_timer(), hostap_free_data(), and prism2_hostapd_remove_sta().

Here is the call graph for this function:

static struct sta_info * ap_get_sta struct ap_dataap,
u8 * sta
[static]
 

Definition at line 986 of file hostap_ap.c.

References sta_info::addr, sta_info::hnext, and STA_HASH.

Referenced by ap_control_kick_mac(), ap_crypt_get_ptrs(), ap_handle_dropped_data(), handle_add_proc_queue(), handle_assoc(), handle_authen(), handle_beacon(), handle_deauth(), handle_disassoc(), handle_pspoll(), hostap_add_sta(), hostap_ap_tx_cb_assoc(), hostap_ap_tx_cb_auth(), hostap_ap_tx_cb_poll(), hostap_handle_sta_crypto(), hostap_handle_sta_rx(), hostap_handle_sta_tx(), hostap_handle_sta_tx_exc(), hostap_is_sta_assoc(), hostap_update_rx_stats(), hostap_update_sta_ps(), prism2_hostapd_add_sta(), prism2_hostapd_get_info_sta(), prism2_hostapd_remove_sta(), and prism2_hostapd_set_flags_sta().

static void ap_handle_data_nullfunc local_info_t * local,
struct hostap_ieee80211_hdrhdr
[static]
 

Definition at line 1887 of file hostap_ap.c.

References prism2_send_mgmt(), WLAN_FC_STYPE_ACK, and WLAN_FC_TYPE_CTRL.

Referenced by handle_ap_item().

Here is the call graph for this function:

static void ap_handle_dropped_data local_info_t * local,
struct hostap_ieee80211_hdrhdr
[static]
 

Definition at line 1904 of file hostap_ap.c.

References __constant_cpu_to_le16, ap_get_sta(), sta_info::flags, prism2_send_mgmt(), spin_lock_bh, spin_unlock_bh, sta_info::users, WLAN_FC_STYPE_DEAUTH, WLAN_FC_STYPE_DISASSOC, WLAN_FC_TYPE_MGMT, WLAN_REASON_CLASS3_FRAME_FROM_NONASSOC_STA, and WLAN_STA_ASSOC.

Referenced by handle_ap_item().

Here is the call graph for this function:

static void ap_handle_timer unsigned long data  ) [static]
 

Definition at line 254 of file hostap_ap.c.

References sta_info::addr, sta_info::aid, sta_info::ap, AP_DEAUTH_DELAY, AP_DISASSOC_DELAY, ap_free_sta(), ap_sta_hash_del(), ap_data::autom_ap_wds, sta_info::flags, hostap_event_expired_sta(), hostap_set_tim(), hostap_wds_link_oper(), sta_info::last_rx, sta_info::list, sta_info::local, MAC2STR, MACSTR, ap_data::max_inactivity, prism2_send_mgmt(), ap_data::sta_table_lock, sta_info::timeout_next, sta_info::timer, sta_info::tx_buf, ap_data::tx_callback_poll, sta_info::users, WDS_DEL, WLAN_FC_STYPE_DATA, WLAN_FC_STYPE_DEAUTH, WLAN_FC_STYPE_DISASSOC, WLAN_FC_TYPE_DATA, WLAN_FC_TYPE_MGMT, WLAN_REASON_DISASSOC_DUE_TO_INACTIVITY, WLAN_REASON_PREV_AUTH_NOT_VALID, WLAN_STA_ASSOC, WLAN_STA_AUTH, WLAN_STA_PENDING_POLL, WLAN_STA_PERM, and WLAN_STA_TIM.

Referenced by ap_add_sta().

Here is the call graph for this function:

static void ap_sta_hash_add struct ap_dataap,
struct sta_infosta
[static]
 

Definition at line 80 of file hostap_ap.c.

References sta_info::hnext, and STA_HASH.

Referenced by ap_add_sta().

static void ap_sta_hash_del struct ap_dataap,
struct sta_infosta
[static]
 

Definition at line 86 of file hostap_ap.c.

References sta_info::addr, sta_info::hnext, MAC2STR, MACSTR, and STA_HASH.

Referenced by ap_control_kick_mac(), ap_control_kickall(), ap_handle_timer(), hostap_free_data(), and prism2_hostapd_remove_sta().

static int ap_tx_rate_ok int rateidx,
struct sta_infosta,
local_info_t * local
[static]
 

Definition at line 1229 of file hostap_ap.c.

Referenced by ap_update_sta_tx_rate(), hostap_handle_sta_tx_exc(), and prism2_check_tx_rates().

static int ap_update_sta_tx_rate struct sta_infosta,
struct net_device * dev
[static]
 

Definition at line 2736 of file hostap_ap.c.

References sta_info::addr, ap_tx_rate_ok(), sta_info::local, MAC2STR, MACSTR, sta_info::tx_consecutive_exc, sta_info::tx_count, sta_info::tx_max_rate, sta_info::tx_rate, sta_info::tx_rate_idx, sta_info::tx_since_last_failure, and WLAN_RATE_UPDATE_COUNT.

Referenced by hostap_handle_sta_tx().

Here is the call graph for this function:

EXPORT_SYMBOL hostap_deauth_all_stas  ) 
 

EXPORT_SYMBOL hostap_wds_link_oper  ) 
 

EXPORT_SYMBOL hostap_add_wds_links  ) 
 

EXPORT_SYMBOL hostap_update_rates  ) 
 

EXPORT_SYMBOL hostap_add_sta  ) 
 

EXPORT_SYMBOL hostap_is_sta_assoc  ) 
 

EXPORT_SYMBOL hostap_handle_sta_rx  ) 
 

EXPORT_SYMBOL hostap_update_sta_ps  ) 
 

EXPORT_SYMBOL hostap_handle_sta_release  ) 
 

EXPORT_SYMBOL hostap_handle_sta_tx  ) 
 

EXPORT_SYMBOL hostap_check_sta_fw_version  ) 
 

EXPORT_SYMBOL hostap_free_data  ) 
 

EXPORT_SYMBOL hostap_init_data  ) 
 

static void handle_add_proc_queue void * data  ) [static]
 

Definition at line 1141 of file hostap_ap.c.

References ap_data::add_sta_proc_entries, sta_info::addr, add_sta_proc_data::addr, ap_get_sta(), MAC2STR, MACSTR, add_sta_proc_data::next, prism2_sta_proc_read(), ap_data::proc, sta_info::proc, spin_lock_bh, spin_unlock_bh, ap_data::sta_table_lock, and sta_info::users.

Referenced by hostap_init_data().

Here is the call graph for this function:

static void handle_ap_item local_info_t * local,
struct sk_buff * skb,
struct hostap_80211_rx_statusrx_stats
[static]
 

Definition at line 2262 of file hostap_ap.c.

References hostap_ieee80211_hdr::addr1, hostap_ieee80211_hdr::addr3, ap_handle_data_nullfunc(), ap_handle_dropped_data(), hostap_ieee80211_hdr::frame_control, handle_assoc(), handle_authen(), handle_beacon(), handle_deauth(), handle_disassoc(), handle_pspoll(), MAC2STR, MACSTR, WLAN_FC_FROMDS, WLAN_FC_GET_STYPE, WLAN_FC_GET_TYPE, WLAN_FC_STYPE_ASSOC_REQ, WLAN_FC_STYPE_ASSOC_RESP, WLAN_FC_STYPE_ATIM, WLAN_FC_STYPE_AUTH, WLAN_FC_STYPE_BEACON, WLAN_FC_STYPE_DEAUTH, WLAN_FC_STYPE_DISASSOC, WLAN_FC_STYPE_NULLFUNC, WLAN_FC_STYPE_PSPOLL, WLAN_FC_STYPE_REASSOC_REQ, WLAN_FC_STYPE_REASSOC_RESP, WLAN_FC_TODS, WLAN_FC_TYPE_CTRL, WLAN_FC_TYPE_DATA, and WLAN_FC_TYPE_MGMT.

Referenced by hostap_rx().

Here is the call graph for this function:

static void handle_assoc local_info_t * local,
struct sk_buff * skb,
struct hostap_80211_rx_statusrx_stats,
int reassoc
[static]
 

Definition at line 1591 of file hostap_ap.c.

References __constant_cpu_to_le16, hostap_ieee80211_hdr::addr2, sta_info::aid, sta_info::ap, ap_get_sta(), BIT, sta_info::capability, sta_info::flags, hostap_ap_update_sq(), IEEE80211_MGMT_HDR_LEN, sta_info::last_rx, sta_info::listen_interval, MAC2STR, MACSTR, MAX_AID_TABLE_SIZE, prism2_check_tx_rates(), prism2_send_mgmt(), spin_lock_bh, spin_unlock_bh, sta_info::supported_rates, sta_info::users, WLAN_CAPABILITY_ESS, WLAN_EID_SSID, WLAN_EID_SUPP_RATES, WLAN_FC_STYPE_ASSOC_RESP, WLAN_FC_STYPE_DEAUTH, WLAN_FC_STYPE_REASSOC_RESP, WLAN_FC_TYPE_MGMT, WLAN_RATE_11M, WLAN_RATE_1M, WLAN_RATE_2M, WLAN_RATE_5M5, WLAN_REASON_STA_REQ_ASSOC_WITHOUT_AUTH, WLAN_STA_AUTH, WLAN_STATUS_AP_UNABLE_TO_HANDLE_NEW_STA, WLAN_STATUS_ASSOC_DENIED_UNSPEC, WLAN_STATUS_SUCCESS, WLAN_STATUS_UNSPECIFIED_FAILURE, and WLAN_SUPP_RATES_MAX.

Referenced by handle_ap_item().

Here is the call graph for this function:

static void handle_authen local_info_t * local,
struct sk_buff * skb,
struct hostap_80211_rx_statusrx_stats
[static]
 

Definition at line 1359 of file hostap_ap.c.

References sta_info::addr, hostap_ieee80211_hdr::addr2, sta_info::ap, ap_add_sta(), ap_auth_make_challenge(), ap_control_mac_deny(), ap_get_sta(), sta_info::challenge, sta_info::crypt, sta_info::flags, hostap_ieee80211_hdr::frame_control, hostap_ap_update_sq(), IEEE80211_MGMT_HDR_LEN, sta_info::last_beacon, sta_info::last_rx, sta_info::listen_interval, MAC2STR, ap_data::mac_restrictions, MACSTR, MAX_STA_COUNT, PRISM2_AUTH_OPEN, PRISM2_AUTH_SHARED_KEY, prism2_send_mgmt(), spin_lock_bh, spin_unlock_bh, sta_info::sta, ap_data::tx_callback_auth, sta_info::u, sta_info::users, WLAN_AUTH_CHALLENGE_LEN, WLAN_AUTH_OPEN, WLAN_AUTH_SHARED_KEY, WLAN_EID_CHALLENGE, WLAN_FC_ISWEP, WLAN_FC_STYPE_AUTH, WLAN_FC_TYPE_MGMT, WLAN_STA_AUTH, WLAN_STATUS_CHALLENGE_FAIL, WLAN_STATUS_NOT_SUPPORTED_AUTH_ALG, WLAN_STATUS_SUCCESS, WLAN_STATUS_UNKNOWN_AUTH_TRANSACTION, and WLAN_STATUS_UNSPECIFIED_FAILURE.

Referenced by handle_ap_item().

Here is the call graph for this function:

static void handle_beacon local_info_t * local,
struct sk_buff * skb,
struct hostap_80211_rx_statusrx_stats
[static]
 

Definition at line 2106 of file hostap_ap.c.

References sta_info::addr, hostap_ieee80211_hdr::addr2, sta_info::ap, ap_add_sta(), ap_get_sta(), AP_OTHER_AP_EVEN_IBSS, AP_OTHER_AP_SAME_SSID, sta_info::capability, sta_info::channel, sta_info::flags, hostap_ap_update_sq(), hostap_event_new_sta(), hostap_wds_link_oper(), IEEE80211_MGMT_HDR_LEN, sta_info::last_beacon, sta_info::last_rx, sta_info::listen_interval, prism2_check_tx_rates(), sta_info::rx_bytes, sta_info::rx_packets, spin_lock_bh, spin_unlock_bh, sta_info::ssid, sta_info::ssid_len, sta_info::supported_rates, sta_info::u, sta_info::users, WDS_ADD, WLAN_CAPABILITY_IBSS, WLAN_EID_DS_PARAMS, WLAN_EID_SSID, WLAN_EID_SUPP_RATES, WLAN_STA_ASSOC, and WLAN_STA_AUTH.

Referenced by handle_ap_item().

Here is the call graph for this function:

static void handle_deauth local_info_t * local,
struct sk_buff * skb,
struct hostap_80211_rx_statusrx_stats
[static]
 

Definition at line 1801 of file hostap_ap.c.

References hostap_ieee80211_hdr::addr2, sta_info::ap, ap_get_sta(), sta_info::flags, hostap_ap_update_sq(), hostap_event_expired_sta(), IEEE80211_MGMT_HDR_LEN, MAC2STR, MACSTR, spin_lock_bh, spin_unlock_bh, WLAN_STA_ASSOC, and WLAN_STA_AUTH.

Referenced by handle_ap_item().

Here is the call graph for this function:

static void handle_disassoc local_info_t * local,
struct sk_buff * skb,
struct hostap_80211_rx_statusrx_stats
[static]
 

Definition at line 1844 of file hostap_ap.c.

References hostap_ieee80211_hdr::addr2, sta_info::ap, ap_get_sta(), sta_info::flags, hostap_ap_update_sq(), hostap_event_expired_sta(), IEEE80211_MGMT_HDR_LEN, MAC2STR, MACSTR, spin_lock_bh, spin_unlock_bh, and WLAN_STA_ASSOC.

Referenced by handle_ap_item().

Here is the call graph for this function:

static void handle_pspoll local_info_t * local,
struct hostap_ieee80211_hdrhdr,
struct hostap_80211_rx_statusrx_stats
[static]
 

Definition at line 1966 of file hostap_ap.c.

References sta_info::aid, ap_get_sta(), BIT, sta_info::flags, hostap_ap_update_sq(), hostap_set_tim(), MAC2STR, MACSTR, MAX_AID_TABLE_SIZE, pspoll_send_buffered(), spin_lock_bh, spin_unlock_bh, sta_info::tx_buf, sta_info::users, WLAN_FC_PWRMGT, WLAN_STA_PS, and WLAN_STA_TIM.

Referenced by handle_ap_item().

Here is the call graph for this function:

static void handle_set_tim_queue void * data  ) [static]
 

Definition at line 188 of file hostap_ap.c.

References set_tim_data::aid, HFA384X_RID_CNFTIMCTRL, hostap_set_word(), set_tim_data::list, set_tim_data::set, spin_lock_bh, and spin_unlock_bh.

Referenced by hostap_init_data().

Here is the call graph for this function:

static void handle_wds_oper_queue void * data  ) [static]
 

Definition at line 2073 of file hostap_ap.c.

References wds_oper_data::addr, MAC2STR, MACSTR, wds_oper_data::next, prism2_wds_add(), prism2_wds_del(), spin_lock_bh, spin_unlock_bh, wds_oper_data::type, WDS_ADD, and WDS_DEL.

Referenced by hostap_init_data().

Here is the call graph for this function:

int hostap_add_sta struct ap_dataap,
u8 * sta_addr
 

Definition at line 3187 of file hostap_ap.c.

References sta_info::ap, ap_add_sta(), ap_get_sta(), sta_info::flags, sta_info::supported_rates, sta_info::tx_max_rate, sta_info::tx_rate, sta_info::tx_rate_idx, sta_info::tx_supp_rates, WLAN_RATE_11M, WLAN_RATE_1M, WLAN_RATE_2M, WLAN_RATE_5M5, WLAN_STA_ASSOC, and WLAN_STA_AUTH.

Referenced by handle_info_queue_linkstatus(), and prism2_wds_add().

Here is the call graph for this function:

void hostap_add_wds_links local_info_t * local  ) 
 

Definition at line 3288 of file hostap_ap.c.

References sta_info::addr, sta_info::ap, hostap_wds_link_oper(), PRISM2_SCHEDULE_TASK, spin_lock_bh, spin_unlock_bh, ap_data::sta_list, ap_data::sta_table_lock, and WDS_ADD.

Here is the call graph for this function:

static void hostap_ap_tx_cb struct sk_buff * skb,
int ok,
void * data
[static]
 

Definition at line 673 of file hostap_ap.c.

References BIT, hostap_ieee80211_hdr::frame_control, hostap_80211_get_hdrlen(), ap_data::local, and WLAN_FC_PVER.

Referenced by hostap_init_data().

Here is the call graph for this function:

static void hostap_ap_tx_cb_assoc struct sk_buff * skb,
int ok,
void * data
[static]
 

Definition at line 771 of file hostap_ap.c.

References hostap_ieee80211_hdr::addr1, ap_get_sta(), sta_info::flags, hostap_ieee80211_hdr::frame_control, hostap_event_new_sta(), IEEE80211_MGMT_HDR_LEN, sta_info::last_assoc, ap_data::local, MAC2STR, MACSTR, ap_data::sta_table_lock, sta_info::users, WLAN_FC_GET_STYPE, WLAN_FC_GET_TYPE, WLAN_FC_STYPE_ASSOC_RESP, WLAN_FC_STYPE_REASSOC_RESP, WLAN_FC_TYPE_MGMT, WLAN_STA_ASSOC, and WLAN_STATUS_SUCCESS.

Referenced by hostap_init_data().

Here is the call graph for this function:

static void hostap_ap_tx_cb_auth struct sk_buff * skb,
int ok,
void * data
[static]
 

Definition at line 705 of file hostap_ap.c.

References hostap_ieee80211_hdr::addr1, ap_get_sta(), sta_info::flags, hostap_ieee80211_hdr::frame_control, IEEE80211_MGMT_HDR_LEN, sta_info::last_auth, ap_data::local, MAC2STR, MACSTR, ap_data::sta_table_lock, sta_info::users, WLAN_AUTH_OPEN, WLAN_AUTH_SHARED_KEY, WLAN_FC_GET_STYPE, WLAN_FC_GET_TYPE, WLAN_FC_STYPE_AUTH, WLAN_FC_TYPE_MGMT, WLAN_STA_AUTH, and WLAN_STATUS_SUCCESS.

Referenced by hostap_init_data().

Here is the call graph for this function:

static void hostap_ap_tx_cb_poll struct sk_buff * skb,
int ok,
void * data
[static]
 

Definition at line 837 of file hostap_ap.c.

References hostap_ieee80211_hdr::addr1, ap_get_sta(), sta_info::flags, ap_data::local, MAC2STR, MACSTR, ap_data::sta_table_lock, and WLAN_STA_PENDING_POLL.

Referenced by hostap_init_data().

Here is the call graph for this function:

void hostap_ap_update_sq struct sta_infosta,
struct hostap_80211_rx_statusrx_stats
 

Definition at line 2053 of file hostap_ap.c.

References sta_info::last_rx_rate, sta_info::last_rx_signal, sta_info::last_rx_silence, sta_info::last_rx_updated, and sta_info::rx_count.

Referenced by handle_assoc(), handle_authen(), handle_beacon(), handle_deauth(), handle_disassoc(), handle_pspoll(), hostap_handle_sta_rx(), and hostap_update_rx_stats().

void hostap_check_sta_fw_version struct ap_dataap,
int sta_fw_ver
 

Definition at line 652 of file hostap_ap.c.

Referenced by prism2_check_sta_fw_version().

void hostap_deauth_all_stas struct net_device * dev,
struct ap_dataap,
int resend
 

Definition at line 370 of file hostap_ap.c.

References __constant_cpu_to_le16, prism2_send_mgmt(), WLAN_FC_STYPE_DEAUTH, WLAN_FC_TYPE_MGMT, and WLAN_REASON_PREV_AUTH_NOT_VALID.

Referenced by prism2_close().

Here is the call graph for this function:

static void hostap_event_expired_sta struct net_device * dev,
struct sta_infosta
[static]
 

Definition at line 239 of file hostap_ap.c.

Referenced by ap_control_kick_mac(), ap_control_kickall(), ap_free_sta(), ap_handle_timer(), handle_deauth(), handle_disassoc(), hostap_free_data(), and prism2_hostapd_remove_sta().

static void hostap_event_new_sta struct net_device * dev,
struct sta_infosta
[static]
 

Definition at line 227 of file hostap_ap.c.

Referenced by handle_beacon(), hostap_ap_tx_cb_assoc(), and prism2_hostapd_add_sta().

void hostap_free_data struct ap_dataap  ) 
 

Definition at line 932 of file hostap_ap.c.

References sta_info::ap, ap_control_flush_macs(), ap_free_sta(), ap_sta_hash_del(), ap_data::crypt, hostap_crypto_ops::deinit, sta_info::flags, hostap_event_expired_sta(), sta_info::list, set_tim_data::list, sta_info::local, and WLAN_STA_ASSOC.

Referenced by prism2_free_local_data().

Here is the call graph for this function:

int hostap_handle_sta_crypto local_info_t * local,
struct hostap_ieee80211_hdrhdr,
struct prism2_crypt_data ** crypt,
void ** sta_ptr
 

Definition at line 3143 of file hostap_ap.c.

References ap_get_sta(), sta_info::crypt, and sta_info::users.

Referenced by hostap_rx_frame_decrypt().

Here is the call graph for this function:

void hostap_handle_sta_release void * ptr  ) 
 

Definition at line 2898 of file hostap_ap.c.

References sta_info::users.

Referenced by hostap_rx_frame_decrypt(), and prism2_tx().

ap_rx_ret hostap_handle_sta_rx local_info_t * local,
struct net_device * dev,
struct sk_buff * skb,
struct hostap_80211_rx_statusrx_stats,
int wds
 

Definition at line 3001 of file hostap_ap.c.

References hostap_ieee80211_hdr::addr1, hostap_ieee80211_hdr::addr2, hostap_ieee80211_hdr::addr3, ap_get_sta(), AP_RX_CONTINUE, AP_RX_CONTINUE_NOT_AUTHORIZED, AP_RX_DROP, AP_RX_EXIT, sta_info::flags, hostap_ieee80211_hdr::frame_control, hostap_ap_update_sq(), hostap_dump_rx_80211(), hostap_rx(), hostap_update_sta_ps2(), sta_info::last_rx, MAC2STR, MACSTR, prism2_rx_80211(), PRISM2_RX_NON_ASSOC, PRISM2_RX_NULLFUNC_ACK, sta_info::rx_bytes, sta_info::rx_packets, sta_info::users, WLAN_FC_FROMDS, WLAN_FC_GET_STYPE, WLAN_FC_GET_TYPE, WLAN_FC_PWRMGT, WLAN_FC_STYPE_NULLFUNC, WLAN_FC_TODS, WLAN_STA_ASSOC, and WLAN_STA_AUTHORIZED.

Referenced by hostap_80211_rx().

Here is the call graph for this function:

ap_tx_ret hostap_handle_sta_tx local_info_t * local,
struct sk_buff * skb,
struct hfa384x_tx_frametxdesc,
int wds,
int host_encrypt,
struct prism2_crypt_data ** crypt,
void ** sta_ptr
 

Definition at line 2778 of file hostap_ap.c.

References __constant_cpu_to_le16, sta_info::addr, sta_info::aid, sta_info::ap, ap_get_sta(), AP_SKB_CB_ADD_MOREDATA, AP_SKB_CB_BUFFERED_FRAME, AP_SKB_CB_MAGIC, AP_SKB_CB_MAGIC_LEN, AP_TX_BUFFERED, AP_TX_CONTINUE, AP_TX_CONTINUE_NOT_AUTHORIZED, AP_TX_DROP, ap_update_sta_tx_rate(), sta_info::crypt, ETH_P_HOSTAP, sta_info::flags, hostap_set_tim(), IW_MODE_MASTER, sta_info::last_tx, MAC2STR, MACSTR, STA_MAX_TX_BUFFER, sta_info::tx_buf, sta_info::tx_bytes, sta_info::tx_packets, sta_info::tx_rate, sta_info::users, WLAN_FC_MOREDATA, WLAN_STA_AUTHORIZED, WLAN_STA_PS, and WLAN_STA_TIM.

Referenced by prism2_tx_80211().

Here is the call graph for this function:

void hostap_handle_sta_tx_exc local_info_t * local,
struct hfa384x_tx_frametxdesc
 

Definition at line 2906 of file hostap_ap.c.

References sta_info::addr, ap_get_sta(), ap_tx_rate_ok(), MAC2STR, MACSTR, sta_info::tx_consecutive_exc, sta_info::tx_rate, sta_info::tx_rate_idx, sta_info::tx_since_last_failure, and WLAN_RATE_DECREASE_THRESHOLD.

Referenced by hostap_sta_tx_exc_tasklet().

Here is the call graph for this function:

void hostap_init_data local_info_t * local  ) 
 

Definition at line 864 of file hostap_ap.c.

References sta_info::ap, ap_bridge_packets, ap_control_proc_read(), ap_debug_proc_read(), ap_max_inactivity, ap_data::ap_policy, ap_data::autom_ap_wds, autom_ap_wds, ap_data::bridge_packets, GET_INT_PARM, handle_add_proc_queue(), handle_set_tim_queue(), handle_wds_oper_queue(), hostap_ap_tx_cb(), hostap_ap_tx_cb_assoc(), hostap_ap_tx_cb_auth(), hostap_ap_tx_cb_poll(), hostap_tx_callback_register(), INIT_WORK(), ap_data::initialized, ap_data::local, mac_restrictions::lock, mac_restrictions::mac_list, ap_data::mac_restrictions, ap_data::max_inactivity, other_ap_policy, prism2_ap_proc_read(), ap_data::proc, ap_data::set_tim_list, ap_data::set_tim_lock, ap_data::sta_list, ap_data::sta_table_lock, ap_data::tx_callback_assoc, ap_data::tx_callback_auth, ap_data::tx_callback_idx, and ap_data::tx_callback_poll.

Referenced by prism2_init_dev().

Here is the call graph for this function:

int hostap_is_sta_assoc struct ap_dataap,
u8 * sta_addr
 

Definition at line 3171 of file hostap_ap.c.

References sta_info::ap, ap_get_sta(), sta_info::flags, and WLAN_STA_ASSOC.

Referenced by hostap_80211_rx(), and hostap_rx_frame_wds().

Here is the call graph for this function:

void hostap_rx struct net_device * dev,
struct sk_buff * skb,
struct hostap_80211_rx_statusrx_stats
 

Definition at line 2381 of file hostap_ap.c.

References AP_OTHER_AP_SKIP_ALL, ETH_P_HOSTAP, hostap_ieee80211_hdr::frame_control, handle_ap_item(), WLAN_FC_GET_STYPE, WLAN_FC_GET_TYPE, WLAN_FC_STYPE_BEACON, and WLAN_FC_TYPE_MGMT.

Referenced by hostap_handle_sta_rx(), hostap_rx_frame_mgmt(), and schedule_packet_send().

Here is the call graph for this function:

static void hostap_set_tim local_info_t * local,
int aid,
int set
[static]
 

Definition at line 149 of file hostap_ap.c.

References set_tim_data::aid, set_tim_data::list, PRISM2_SCHEDULE_TASK, set_tim_data::set, spin_lock_bh, and spin_unlock_bh.

Referenced by ap_handle_timer(), handle_pspoll(), and hostap_handle_sta_tx().

void hostap_update_rates local_info_t * local  ) 
 

Definition at line 3245 of file hostap_ap.c.

References sta_info::ap, prism2_check_tx_rates(), spin_lock_bh, spin_unlock_bh, ap_data::sta_list, and ap_data::sta_table_lock.

Here is the call graph for this function:

int hostap_update_rx_stats struct ap_dataap,
struct hostap_ieee80211_hdrhdr,
struct hostap_80211_rx_statusrx_stats
 

Definition at line 3226 of file hostap_ap.c.

References ap_get_sta(), and hostap_ap_update_sq().

Referenced by hostap_80211_rx().

Here is the call graph for this function:

int hostap_update_sta_ps local_info_t * local,
struct hostap_ieee80211_hdrhdr
 

Definition at line 2976 of file hostap_ap.c.

References ap_get_sta(), hostap_update_sta_ps2(), sta_info::users, WLAN_FC_GET_STYPE, WLAN_FC_GET_TYPE, and WLAN_FC_PWRMGT.

Referenced by hostap_rx_frame_mgmt().

Here is the call graph for this function:

static void hostap_update_sta_ps2 local_info_t * local,
struct sta_infosta,
int pwrmgt,
int type,
int stype
[static]
 

Definition at line 2955 of file hostap_ap.c.

References sta_info::addr, sta_info::flags, MAC2STR, MACSTR, schedule_packet_send(), WLAN_FC_STYPE_PSPOLL, WLAN_FC_TYPE_CTRL, and WLAN_STA_PS.

Referenced by hostap_handle_sta_rx(), and hostap_update_sta_ps().

Here is the call graph for this function:

void hostap_wds_link_oper local_info_t * local,
u8 * addr,
wds_oper_type type
 

Definition at line 3305 of file hostap_ap.c.

References wds_oper_data::addr, wds_oper_data::next, PRISM2_SCHEDULE_TASK, spin_lock_bh, spin_unlock_bh, and wds_oper_data::type.

Referenced by ap_handle_timer(), handle_beacon(), hostap_add_wds_links(), and hostap_rx_frame_wds().

MODULE_PARM autom_ap_wds ,
PARM_MIN_MAX"i" 
 

MODULE_PARM ap_bridge_packets ,
PARM_MIN_MAX"i" 
 

MODULE_PARM ap_max_inactivity ,
PARM_MIN_MAX"i" 
 

MODULE_PARM other_ap_policy ,
PARM_MIN_MAX"i" 
 

MODULE_PARM_DESC autom_ap_wds ,
"Add WDS connections to other APs ""automatically" 
 

MODULE_PARM_DESC ap_bridge_packets ,
"Bridge packets directly between ""stations" 
 

MODULE_PARM_DESC ap_max_inactivity ,
"AP timeout (in seconds) for station ""inactivity" 
 

MODULE_PARM_DESC other_ap_policy ,
"Other AP beacon monitoring policy (0-3)" 
 

static int prism2_ap_proc_read char * page,
char ** start,
off_t off,
int count,
int * eof,
void * data
[static]
 

Definition at line 595 of file hostap_ap.c.

References sta_info::addr, sta_info::ap, sta_info::capability, sta_info::channel, sta_info::last_rx_rate, sta_info::last_rx_signal, sta_info::last_rx_silence, MAC2STR, MACSTR, PROC_LIMIT, spin_lock_bh, spin_unlock_bh, sta_info::ssid, ap_data::sta_list, ap_data::sta_table_lock, sta_info::u, WLAN_CAPABILITY_ESS, WLAN_CAPABILITY_IBSS, and WLAN_CAPABILITY_PRIVACY.

Referenced by hostap_init_data().

static void prism2_check_tx_rates struct sta_infosta  ) [static]
 

Definition at line 1244 of file hostap_ap.c.

References ap_tx_rate_ok(), sta_info::tx_max_rate, sta_info::tx_rate, sta_info::tx_rate_idx, sta_info::tx_supp_rates, WLAN_RATE_11M, WLAN_RATE_1M, WLAN_RATE_2M, and WLAN_RATE_5M5.

Referenced by handle_assoc(), handle_beacon(), hostap_update_rates(), and prism2_hostapd_add_sta().

Here is the call graph for this function:

static int prism2_hostapd struct ap_dataap,
struct prism2_hostapd_paramparam
[static]
 

Definition at line 2711 of file hostap_ap.c.

References ap_control_kickall(), prism2_hostapd_add_sta(), PRISM2_HOSTAPD_ADD_STA, PRISM2_HOSTAPD_FLUSH, prism2_hostapd_get_info_sta(), PRISM2_HOSTAPD_GET_INFO_STA, prism2_hostapd_remove_sta(), PRISM2_HOSTAPD_REMOVE_STA, prism2_hostapd_set_flags_sta(), and PRISM2_HOSTAPD_SET_FLAGS_STA.

Here is the call graph for this function:

static int prism2_hostapd_add_sta struct ap_dataap,
struct prism2_hostapd_paramparam
[static]
 

Definition at line 2606 of file hostap_ap.c.

References sta_info::aid, sta_info::ap, ap_add_sta(), ap_get_sta(), sta_info::capability, sta_info::flags, hostap_event_new_sta(), sta_info::last_rx, sta_info::local, prism2_check_tx_rates(), spin_lock_bh, spin_unlock_bh, sta_info::supported_rates, sta_info::tx_supp_rates, sta_info::u, sta_info::users, WLAN_RATE_11M, WLAN_RATE_1M, WLAN_RATE_2M, WLAN_RATE_5M5, WLAN_STA_ASSOC, and WLAN_STA_AUTH.

Referenced by prism2_hostapd().

Here is the call graph for this function:

static int prism2_hostapd_get_info_sta struct ap_dataap,
struct prism2_hostapd_paramparam
[static]
 

Definition at line 2669 of file hostap_ap.c.

References ap_get_sta(), sta_info::last_rx, spin_lock_bh, spin_unlock_bh, sta_info::u, and sta_info::users.

Referenced by prism2_hostapd().

Here is the call graph for this function:

static int prism2_hostapd_remove_sta struct ap_dataap,
struct prism2_hostapd_paramparam
[static]
 

Definition at line 2645 of file hostap_ap.c.

References sta_info::ap, ap_free_sta(), ap_get_sta(), ap_sta_hash_del(), sta_info::flags, hostap_event_expired_sta(), sta_info::list, sta_info::local, spin_lock_bh, spin_unlock_bh, and WLAN_STA_ASSOC.

Referenced by prism2_hostapd().

Here is the call graph for this function:

static int prism2_hostapd_set_flags_sta struct ap_dataap,
struct prism2_hostapd_paramparam
[static]
 

Definition at line 2691 of file hostap_ap.c.

References ap_get_sta(), sta_info::flags, spin_lock_bh, spin_unlock_bh, and sta_info::u.

Referenced by prism2_hostapd().

Here is the call graph for this function:

static void prism2_send_mgmt struct net_device * dev,
int type,
int subtype,
char * body,
int body_len,
int txevent,
u8 * addr,
u16 tx_cb_idx
[static]
 

Definition at line 1000 of file hostap_ap.c.

References hfa384x_tx_frame::addr1, hfa384x_tx_frame::addr2, hfa384x_tx_frame::addr3, hfa384x_tx_frame::data_len, ETH_P_HOSTAP, hfa384x_tx_frame::frame_control, HFA384X_TX_CTRL_802_11, HFA384X_TX_CTRL_TX_OK, sta_info::local, hfa384x_tx_frame::sw_support, hfa384x_tx_frame::tx_control, WLAN_FC_FROMDS, WLAN_FC_TYPE_CTRL, and WLAN_FC_TYPE_DATA.

Referenced by ap_control_kick_mac(), ap_handle_data_nullfunc(), ap_handle_dropped_data(), ap_handle_timer(), handle_assoc(), handle_authen(), and hostap_deauth_all_stas().

static int prism2_sta_proc_read char * page,
char ** start,
off_t off,
int count,
int * eof,
void * data
[static]
 

Definition at line 1068 of file hostap_ap.c.

References sta_info::addr, sta_info::aid, sta_info::ap, sta_info::capability, sta_info::channel, sta_info::crypt, sta_info::flags, sta_info::last_assoc, sta_info::last_auth, sta_info::last_rx, sta_info::last_rx_rate, sta_info::last_rx_signal, sta_info::last_rx_silence, sta_info::last_tx, sta_info::listen_interval, MAC2STR, MACSTR, sta_info::rx_bytes, sta_info::rx_count, sta_info::rx_packets, sta_info::ssid, sta_info::supported_rates, sta_info::tx_buf, sta_info::tx_bytes, sta_info::tx_count, sta_info::tx_packets, sta_info::tx_rate, sta_info::u, sta_info::users, WLAN_STA_ASSOC, WLAN_STA_AUTH, WLAN_STA_AUTHORIZED, WLAN_STA_PENDING_POLL, WLAN_STA_PERM, WLAN_STA_PS, and WLAN_STA_TIM.

Referenced by handle_add_proc_queue().

static void pspoll_send_buffered local_info_t * local,
struct sta_infosta,
struct sk_buff * skb
[static]
 

Definition at line 1939 of file hostap_ap.c.

References AP_SKB_CB_ADD_MOREDATA, AP_SKB_CB_BUFFERED_FRAME, AP_SKB_CB_MAGIC, AP_SKB_CB_MAGIC_LEN, and WLAN_STA_PS.

Referenced by handle_pspoll().

static void schedule_packet_send local_info_t * local,
struct sta_infosta
[static]
 

Definition at line 2412 of file hostap_ap.c.

References __constant_cpu_to_le16, hostap_ieee80211_hdr::addr1, hostap_ieee80211_hdr::addr2, BIT, hostap_ieee80211_hdr::duration_id, hostap_ieee80211_hdr::frame_control, hostap_rx(), MAC2STR, MACSTR, WLAN_FC_STYPE_PSPOLL, and WLAN_FC_TYPE_CTRL.

Referenced by hostap_update_sta_ps2().

Here is the call graph for this function:


Variable Documentation

int ap_bridge_packets[MAX_PARM_DEVICES] = { 1, DEF_INTS } [static]
 

Definition at line 30 of file hostap_ap.c.

Referenced by hostap_init_data().

int ap_max_inactivity[MAX_PARM_DEVICES] [static]
 

Initial value:

Definition at line 24 of file hostap_ap.c.

Referenced by hostap_init_data().

int autom_ap_wds[MAX_PARM_DEVICES] = { 0, DEF_INTS } [static]
 

Definition at line 35 of file hostap_ap.c.

Referenced by hostap_init_data().

int other_ap_policy[MAX_PARM_DEVICES] [static]
 

Initial value:

Definition at line 19 of file hostap_ap.c.

Referenced by hostap_init_data().


Generated on Mon Nov 21 15:59:38 2005 for openwifi by  doxygen 1.4.1