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

hostap_80211.h File Reference

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

Go to the source code of this file.

Defines

#define IEEE80211_MGMT_HDR_LEN   24
#define IEEE80211_DATA_HDR3_LEN   24
#define IEEE80211_DATA_HDR4_LEN   30

Enumerations

enum  { PRISM2_RX_MONITOR, PRISM2_RX_MGMT, PRISM2_RX_NON_ASSOC, PRISM2_RX_NULLFUNC_ACK }

Functions

void hostap_80211_rx (struct net_device *dev, struct sk_buff *skb, struct hostap_80211_rx_status *rx_stats)
int prism2_rx_80211 (struct net_device *dev, struct sk_buff *skb, struct hostap_80211_rx_status *rx_stats, int type)
void hostap_dump_rx_80211 (const char *name, struct sk_buff *skb, struct hostap_80211_rx_status *rx_stats)

Variables

hostap_ieee80211_hdr packed


Define Documentation

#define IEEE80211_DATA_HDR3_LEN   24
 

Definition at line 15 of file hostap_80211.h.

Referenced by hostap_80211_rx(), and hostap_dump_rx_80211().

#define IEEE80211_DATA_HDR4_LEN   30
 

Definition at line 16 of file hostap_80211.h.

Referenced by hostap_80211_rx().

#define IEEE80211_MGMT_HDR_LEN   24
 

Definition at line 14 of file hostap_80211.h.

Referenced by handle_assoc(), handle_authen(), handle_beacon(), handle_deauth(), handle_disassoc(), hostap_ap_tx_cb_assoc(), and hostap_ap_tx_cb_auth().


Enumeration Type Documentation

anonymous enum
 

Enumeration values:
PRISM2_RX_MONITOR 
PRISM2_RX_MGMT 
PRISM2_RX_NON_ASSOC 
PRISM2_RX_NULLFUNC_ACK 

Definition at line 32 of file hostap_80211.h.


Function Documentation

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

Definition at line 551 of file hostap_80211_rx.c.

References hostap_ieee80211_hdr::addr1, hostap_ieee80211_hdr::addr2, hostap_ieee80211_hdr::addr3, hostap_ieee80211_hdr::addr4, AP_RX_CONTINUE, AP_RX_CONTINUE_NOT_AUTHORIZED, AP_RX_DROP, AP_RX_EXIT, ETH_P_PAE, hostap_ieee80211_hdr::frame_control, hostap_80211_get_hdrlen(), hostap_get_stats(), hostap_handle_sta_rx(), hostap_is_sta_assoc(), hostap_rx_frame_decrypt(), hostap_rx_frame_mgmt(), hostap_rx_frame_wds(), hostap_update_rx_stats(), IEEE80211_DATA_HDR3_LEN, IEEE80211_DATA_HDR4_LEN, IW_MODE_MASTER, IW_MODE_MONITOR, IW_MODE_REPEAT, MAC2STR, MACSTR, monitor_rx(), prism2_frag_cache_get(), prism2_frag_cache_invalidate(), prism2_rx_80211(), PRISM2_RX_MGMT, hostap_ieee80211_hdr::seq_ctrl, WLAN_FC_FROMDS, WLAN_FC_GET_STYPE, WLAN_FC_GET_TYPE, WLAN_FC_ISWEP, WLAN_FC_MOREFRAG, WLAN_FC_STYPE_AUTH, WLAN_FC_STYPE_DATA, WLAN_FC_STYPE_DATA_CFACK, WLAN_FC_STYPE_DATA_CFACKPOLL, WLAN_FC_STYPE_DATA_CFPOLL, WLAN_FC_STYPE_NULLFUNC, WLAN_FC_TODS, WLAN_FC_TYPE_DATA, WLAN_FC_TYPE_MGMT, WLAN_GET_SEQ_FRAG, and WLAN_GET_SEQ_SEQ.

Here is the call graph for this function:

void hostap_dump_rx_80211 const char * name,
struct sk_buff * skb,
struct hostap_80211_rx_statusrx_stats
 

Definition at line 6 of file hostap_80211_rx.c.

References hostap_ieee80211_hdr::addr1, hostap_ieee80211_hdr::addr2, hostap_ieee80211_hdr::addr3, hostap_ieee80211_hdr::addr4, hostap_ieee80211_hdr::duration_id, hostap_ieee80211_hdr::frame_control, IEEE80211_DATA_HDR3_LEN, MAC2STR, MACSTR, hostap_ieee80211_hdr::seq_ctrl, WLAN_FC_FROMDS, WLAN_FC_GET_STYPE, WLAN_FC_GET_TYPE, and WLAN_FC_TODS.

Referenced by hostap_handle_sta_rx().

int prism2_rx_80211 struct net_device * dev,
struct sk_buff * skb,
struct hostap_80211_rx_statusrx_stats,
int type
 

Definition at line 46 of file hostap_80211_rx.c.

References linux_wlan_ng_cap_hdr::antenna, ARPHRD_IEEE80211_PRISM, linux_wlan_ng_cap_hdr::channel, linux_wlan_ng_cap_hdr::datarate, dev_kfree_skb_any(), linux_wlan_ng_prism_hdr::devname, linux_wlan_ng_cap_hdr::encoding, hostap_ieee80211_hdr::frame_control, hostap_80211_get_hdrlen(), linux_wlan_ng_cap_hdr::hosttime, linux_wlan_ng_cap_hdr::length, LWNG_CAP_DID_BASE, LWNG_CAPHDR_VERSION, LWNG_SETVAL, linux_wlan_ng_cap_hdr::mactime, linux_wlan_ng_prism_hdr::msgcode, linux_wlan_ng_prism_hdr::msglen, linux_wlan_ng_cap_hdr::phytype, linux_wlan_ng_cap_hdr::preamble, linux_wlan_ng_cap_hdr::priority, PRISM2_RX_MGMT, linux_wlan_ng_cap_hdr::ssi_noise, linux_wlan_ng_cap_hdr::ssi_signal, linux_wlan_ng_cap_hdr::ssi_type, linux_wlan_ng_cap_hdr::version, and WLAN_FC_PVER.

Referenced by hostap_80211_rx(), hostap_handle_sta_rx(), hostap_rx_frame_mgmt(), and monitor_rx().

Here is the call graph for this function:


Variable Documentation

struct hfa384x_hostscan_result packed
 


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