#ifndef __IEEE80211_H
#define __IEEE80211_H
#include <linux/ieee80211.h>
#define IEEE_CMD_SET_WPA_PARAM …
#define IEEE_CMD_SET_WPA_IE …
#define IEEE_CMD_SET_ENCRYPTION …
#define IEEE_CMD_MLME …
#define IEEE_PARAM_WPA_ENABLED …
#define IEEE_PARAM_TKIP_COUNTERMEASURES …
#define IEEE_PARAM_DROP_UNENCRYPTED …
#define IEEE_PARAM_PRIVACY_INVOKED …
#define IEEE_PARAM_AUTH_ALGS …
#define IEEE_PARAM_IEEE_802_1X …
#define IEEE_PARAM_WPAX_SELECT …
#define AUTH_ALG_OPEN_SYSTEM …
#define AUTH_ALG_SHARED_KEY …
#define AUTH_ALG_LEAP …
#define IEEE_MLME_STA_DEAUTH …
#define IEEE_MLME_STA_DISASSOC …
#define IEEE_CRYPT_ERR_UNKNOWN_ALG …
#define IEEE_CRYPT_ERR_UNKNOWN_ADDR …
#define IEEE_CRYPT_ERR_CRYPT_INIT_FAILED …
#define IEEE_CRYPT_ERR_KEY_SET_FAILED …
#define IEEE_CRYPT_ERR_TX_KEY_SET_FAILED …
#define IEEE_CRYPT_ERR_CARD_CONF_FAILED …
#define IEEE_CRYPT_ALG_NAME_LEN …
#define WPA_CIPHER_NONE …
#define WPA_CIPHER_WEP40 …
#define WPA_CIPHER_WEP104 …
#define WPA_CIPHER_TKIP …
#define WPA_CIPHER_CCMP …
#define WPA_SELECTOR_LEN …
#define RSN_HEADER_LEN …
#define RSN_SELECTOR_LEN …
enum NETWORK_TYPE { … };
struct ieee_param { … };
#define MIN_FRAG_THRESHOLD …
#define MAX_FRAG_THRESHOLD …
#define NORMAL_ACK …
#define P80211_OUI_LEN …
struct ieee80211_snap_hdr { … } __packed;
#define SNAP_SIZE …
#define IEEE80211_CCK_RATE_LEN …
#define IEEE80211_NUM_OFDM_RATESLEN …
#define IEEE80211_CCK_RATE_1MB …
#define IEEE80211_CCK_RATE_2MB …
#define IEEE80211_CCK_RATE_5MB …
#define IEEE80211_CCK_RATE_11MB …
#define IEEE80211_OFDM_RATE_6MB …
#define IEEE80211_OFDM_RATE_9MB …
#define IEEE80211_OFDM_RATE_12MB …
#define IEEE80211_OFDM_RATE_18MB …
#define IEEE80211_OFDM_RATE_24MB …
#define IEEE80211_OFDM_RATE_36MB …
#define IEEE80211_OFDM_RATE_48MB …
#define IEEE80211_OFDM_RATE_54MB …
#define IEEE80211_BASIC_RATE_MASK …
#define WEP_KEYS …
#define MAX_RATES_LENGTH …
#define MAX_WPA_IE_LEN …
struct registry_priv;
u8 *r8712_set_ie(u8 *pbuf, sint index, uint len, u8 *source, uint *frlen);
u8 *r8712_get_ie(u8 *pbuf, sint index, uint *len, sint limit);
unsigned char *r8712_get_wpa_ie(unsigned char *pie, uint *rsn_ie_len,
int limit);
unsigned char *r8712_get_wpa2_ie(unsigned char *pie, uint *rsn_ie_len,
int limit);
int r8712_parse_wpa_ie(u8 *wpa_ie, int wpa_ie_len, int *group_cipher,
int *pairwise_cipher);
int r8712_parse_wpa2_ie(u8 *wpa_ie, int wpa_ie_len, int *group_cipher,
int *pairwise_cipher);
int r8712_get_sec_ie(u8 *in_ie, uint in_len, u8 *rsn_ie, u16 *rsn_len,
u8 *wpa_ie, u16 *wpa_len);
int r8712_get_wps_ie(u8 *in_ie, uint in_len, u8 *wps_ie, uint *wps_ielen);
int r8712_generate_ie(struct registry_priv *pregistrypriv);
uint r8712_is_cckrates_included(u8 *rate);
uint r8712_is_cckratesonly_included(u8 *rate);
#endif