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

hostap_common.h File Reference

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

Go to the source code of this file.

Defines

#define BIT(x)   (1 << (x))
#define MAC2STR(a)   (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5]
#define MACSTR   "%02x:%02x:%02x:%02x:%02x:%02x"
#define ETH_P_PAE   0x888E
#define WLAN_FC_PVER   (BIT(1) | BIT(0))
#define WLAN_FC_TODS   BIT(8)
#define WLAN_FC_FROMDS   BIT(9)
#define WLAN_FC_MOREFRAG   BIT(10)
#define WLAN_FC_RETRY   BIT(11)
#define WLAN_FC_PWRMGT   BIT(12)
#define WLAN_FC_MOREDATA   BIT(13)
#define WLAN_FC_ISWEP   BIT(14)
#define WLAN_FC_ORDER   BIT(15)
#define WLAN_FC_GET_TYPE(fc)   (((fc) & (BIT(3) | BIT(2))) >> 2)
#define WLAN_FC_GET_STYPE(fc)   (((fc) & (BIT(7) | BIT(6) | BIT(5) | BIT(4))) >> 4)
#define WLAN_GET_SEQ_FRAG(seq)   ((seq) & (BIT(3) | BIT(2) | BIT(1) | BIT(0)))
#define WLAN_GET_SEQ_SEQ(seq)   (((seq) & (~(BIT(3) | BIT(2) | BIT(1) | BIT(0)))) >> 4)
#define WLAN_FC_TYPE_MGMT   0
#define WLAN_FC_TYPE_CTRL   1
#define WLAN_FC_TYPE_DATA   2
#define WLAN_FC_STYPE_ASSOC_REQ   0
#define WLAN_FC_STYPE_ASSOC_RESP   1
#define WLAN_FC_STYPE_REASSOC_REQ   2
#define WLAN_FC_STYPE_REASSOC_RESP   3
#define WLAN_FC_STYPE_PROBE_REQ   4
#define WLAN_FC_STYPE_PROBE_RESP   5
#define WLAN_FC_STYPE_BEACON   8
#define WLAN_FC_STYPE_ATIM   9
#define WLAN_FC_STYPE_DISASSOC   10
#define WLAN_FC_STYPE_AUTH   11
#define WLAN_FC_STYPE_DEAUTH   12
#define WLAN_FC_STYPE_PSPOLL   10
#define WLAN_FC_STYPE_RTS   11
#define WLAN_FC_STYPE_CTS   12
#define WLAN_FC_STYPE_ACK   13
#define WLAN_FC_STYPE_CFEND   14
#define WLAN_FC_STYPE_CFENDACK   15
#define WLAN_FC_STYPE_DATA   0
#define WLAN_FC_STYPE_DATA_CFACK   1
#define WLAN_FC_STYPE_DATA_CFPOLL   2
#define WLAN_FC_STYPE_DATA_CFACKPOLL   3
#define WLAN_FC_STYPE_NULLFUNC   4
#define WLAN_FC_STYPE_CFACK   5
#define WLAN_FC_STYPE_CFPOLL   6
#define WLAN_FC_STYPE_CFACKPOLL   7
#define WLAN_AUTH_OPEN   0
#define WLAN_AUTH_SHARED_KEY   1
#define WLAN_AUTH_CHALLENGE_LEN   128
#define WLAN_CAPABILITY_ESS   BIT(0)
#define WLAN_CAPABILITY_IBSS   BIT(1)
#define WLAN_CAPABILITY_CF_POLLABLE   BIT(2)
#define WLAN_CAPABILITY_CF_POLL_REQUEST   BIT(3)
#define WLAN_CAPABILITY_PRIVACY   BIT(4)
#define WLAN_STATUS_SUCCESS   0
#define WLAN_STATUS_UNSPECIFIED_FAILURE   1
#define WLAN_STATUS_CAPS_UNSUPPORTED   10
#define WLAN_STATUS_REASSOC_NO_ASSOC   11
#define WLAN_STATUS_ASSOC_DENIED_UNSPEC   12
#define WLAN_STATUS_NOT_SUPPORTED_AUTH_ALG   13
#define WLAN_STATUS_UNKNOWN_AUTH_TRANSACTION   14
#define WLAN_STATUS_CHALLENGE_FAIL   15
#define WLAN_STATUS_AUTH_TIMEOUT   16
#define WLAN_STATUS_AP_UNABLE_TO_HANDLE_NEW_STA   17
#define WLAN_STATUS_ASSOC_DENIED_RATES   18
#define WLAN_STATUS_ASSOC_DENIED_NOSHORT   19
#define WLAN_STATUS_ASSOC_DENIED_NOPBCC   20
#define WLAN_STATUS_ASSOC_DENIED_NOAGILITY   21
#define WLAN_REASON_UNSPECIFIED   1
#define WLAN_REASON_PREV_AUTH_NOT_VALID   2
#define WLAN_REASON_DEAUTH_LEAVING   3
#define WLAN_REASON_DISASSOC_DUE_TO_INACTIVITY   4
#define WLAN_REASON_DISASSOC_AP_BUSY   5
#define WLAN_REASON_CLASS2_FRAME_FROM_NONAUTH_STA   6
#define WLAN_REASON_CLASS3_FRAME_FROM_NONASSOC_STA   7
#define WLAN_REASON_DISASSOC_STA_HAS_LEFT   8
#define WLAN_REASON_STA_REQ_ASSOC_WITHOUT_AUTH   9
#define WLAN_EID_SSID   0
#define WLAN_EID_SUPP_RATES   1
#define WLAN_EID_FH_PARAMS   2
#define WLAN_EID_DS_PARAMS   3
#define WLAN_EID_CF_PARAMS   4
#define WLAN_EID_TIM   5
#define WLAN_EID_IBSS_PARAMS   6
#define WLAN_EID_CHALLENGE   16
#define HFA384X_RID_CNFPORTTYPE   0xFC00
#define HFA384X_RID_CNFOWNMACADDR   0xFC01
#define HFA384X_RID_CNFDESIREDSSID   0xFC02
#define HFA384X_RID_CNFOWNCHANNEL   0xFC03
#define HFA384X_RID_CNFOWNSSID   0xFC04
#define HFA384X_RID_CNFOWNATIMWINDOW   0xFC05
#define HFA384X_RID_CNFSYSTEMSCALE   0xFC06
#define HFA384X_RID_CNFMAXDATALEN   0xFC07
#define HFA384X_RID_CNFWDSADDRESS   0xFC08
#define HFA384X_RID_CNFPMENABLED   0xFC09
#define HFA384X_RID_CNFPMEPS   0xFC0A
#define HFA384X_RID_CNFMULTICASTRECEIVE   0xFC0B
#define HFA384X_RID_CNFMAXSLEEPDURATION   0xFC0C
#define HFA384X_RID_CNFPMHOLDOVERDURATION   0xFC0D
#define HFA384X_RID_CNFOWNNAME   0xFC0E
#define HFA384X_RID_CNFOWNDTIMPERIOD   0xFC10
#define HFA384X_RID_CNFWDSADDRESS1   0xFC11
#define HFA384X_RID_CNFWDSADDRESS2   0xFC12
#define HFA384X_RID_CNFWDSADDRESS3   0xFC13
#define HFA384X_RID_CNFWDSADDRESS4   0xFC14
#define HFA384X_RID_CNFWDSADDRESS5   0xFC15
#define HFA384X_RID_CNFWDSADDRESS6   0xFC16
#define HFA384X_RID_CNFMULTICASTPMBUFFERING   0xFC17
#define HFA384X_RID_UNKNOWN1   0xFC20
#define HFA384X_RID_UNKNOWN2   0xFC21
#define HFA384X_RID_CNFWEPDEFAULTKEYID   0xFC23
#define HFA384X_RID_CNFDEFAULTKEY0   0xFC24
#define HFA384X_RID_CNFDEFAULTKEY1   0xFC25
#define HFA384X_RID_CNFDEFAULTKEY2   0xFC26
#define HFA384X_RID_CNFDEFAULTKEY3   0xFC27
#define HFA384X_RID_CNFWEPFLAGS   0xFC28
#define HFA384X_RID_CNFWEPKEYMAPPINGTABLE   0xFC29
#define HFA384X_RID_CNFAUTHENTICATION   0xFC2A
#define HFA384X_RID_CNFMAXASSOCSTA   0xFC2B
#define HFA384X_RID_CNFTXCONTROL   0xFC2C
#define HFA384X_RID_CNFROAMINGMODE   0xFC2D
#define HFA384X_RID_CNFHOSTAUTHENTICATION   0xFC2E
#define HFA384X_RID_CNFRCVCRCERROR   0xFC30
#define HFA384X_RID_CNFMMLIFE   0xFC31
#define HFA384X_RID_CNFALTRETRYCOUNT   0xFC32
#define HFA384X_RID_CNFBEACONINT   0xFC33
#define HFA384X_RID_CNFAPPCFINFO   0xFC34
#define HFA384X_RID_CNFSTAPCFINFO   0xFC35
#define HFA384X_RID_CNFPRIORITYQUSAGE   0xFC37
#define HFA384X_RID_CNFTIMCTRL   0xFC40
#define HFA384X_RID_UNKNOWN3   0xFC41
#define HFA384X_RID_CNFTHIRTY2TALLY   0xFC42
#define HFA384X_RID_CNFENHSECURITY   0xFC43
#define HFA384X_RID_CNFDBMADJUST   0xFC46
#define HFA384X_RID_GENERICELEMENT   0xFC48
#define HFA384X_RID_GROUPADDRESSES   0xFC80
#define HFA384X_RID_CREATEIBSS   0xFC81
#define HFA384X_RID_FRAGMENTATIONTHRESHOLD   0xFC82
#define HFA384X_RID_RTSTHRESHOLD   0xFC83
#define HFA384X_RID_TXRATECONTROL   0xFC84
#define HFA384X_RID_PROMISCUOUSMODE   0xFC85
#define HFA384X_RID_FRAGMENTATIONTHRESHOLD0   0xFC90
#define HFA384X_RID_FRAGMENTATIONTHRESHOLD1   0xFC91
#define HFA384X_RID_FRAGMENTATIONTHRESHOLD2   0xFC92
#define HFA384X_RID_FRAGMENTATIONTHRESHOLD3   0xFC93
#define HFA384X_RID_FRAGMENTATIONTHRESHOLD4   0xFC94
#define HFA384X_RID_FRAGMENTATIONTHRESHOLD5   0xFC95
#define HFA384X_RID_FRAGMENTATIONTHRESHOLD6   0xFC96
#define HFA384X_RID_RTSTHRESHOLD0   0xFC97
#define HFA384X_RID_RTSTHRESHOLD1   0xFC98
#define HFA384X_RID_RTSTHRESHOLD2   0xFC99
#define HFA384X_RID_RTSTHRESHOLD3   0xFC9A
#define HFA384X_RID_RTSTHRESHOLD4   0xFC9B
#define HFA384X_RID_RTSTHRESHOLD5   0xFC9C
#define HFA384X_RID_RTSTHRESHOLD6   0xFC9D
#define HFA384X_RID_TXRATECONTROL0   0xFC9E
#define HFA384X_RID_TXRATECONTROL1   0xFC9F
#define HFA384X_RID_TXRATECONTROL2   0xFCA0
#define HFA384X_RID_TXRATECONTROL3   0xFCA1
#define HFA384X_RID_TXRATECONTROL4   0xFCA2
#define HFA384X_RID_TXRATECONTROL5   0xFCA3
#define HFA384X_RID_TXRATECONTROL6   0xFCA4
#define HFA384X_RID_CNFSHORTPREAMBLE   0xFCB0
#define HFA384X_RID_CNFEXCLUDELONGPREAMBLE   0xFCB1
#define HFA384X_RID_CNFAUTHENTICATIONRSPTO   0xFCB2
#define HFA384X_RID_CNFBASICRATES   0xFCB3
#define HFA384X_RID_CNFSUPPORTEDRATES   0xFCB4
#define HFA384X_RID_CNFFALLBACKCTRL   0xFCB5
#define HFA384X_RID_WEPKEYDISABLE   0xFCB6
#define HFA384X_RID_WEPKEYMAPINDEX   0xFCB7
#define HFA384X_RID_BROADCASTKEYID   0xFCB8
#define HFA384X_RID_ENTSECFLAGEYID   0xFCB9
#define HFA384X_RID_CNFPASSIVESCANCTRL   0xFCBA
#define HFA384X_RID_SSNHANDLINGMODE   0xFCBB
#define HFA384X_RID_MDCCONTROL   0xFCBC
#define HFA384X_RID_MDCCOUNTRY   0xFCBD
#define HFA384X_RID_TXPOWERMAX   0xFCBE
#define HFA384X_RID_CNFLFOENABLED   0xFCBF
#define HFA384X_RID_CAPINFO   0xFCC0
#define HFA384X_RID_LISTENINTERVAL   0xFCC1
#define HFA384X_RID_SW_ANT_DIV   0xFCC2
#define HFA384X_RID_TICKTIME   0xFCE0
#define HFA384X_RID_SCANREQUEST   0xFCE1
#define HFA384X_RID_JOINREQUEST   0xFCE2
#define HFA384X_RID_AUTHENTICATESTATION   0xFCE3
#define HFA384X_RID_CHANNELINFOREQUEST   0xFCE4
#define HFA384X_RID_HOSTSCAN   0xFCE5
#define HFA384X_RID_MAXLOADTIME   0xFD00
#define HFA384X_RID_DOWNLOADBUFFER   0xFD01
#define HFA384X_RID_PRIID   0xFD02
#define HFA384X_RID_PRISUPRANGE   0xFD03
#define HFA384X_RID_CFIACTRANGES   0xFD04
#define HFA384X_RID_NICSERNUM   0xFD0A
#define HFA384X_RID_NICID   0xFD0B
#define HFA384X_RID_MFISUPRANGE   0xFD0C
#define HFA384X_RID_CFISUPRANGE   0xFD0D
#define HFA384X_RID_CHANNELLIST   0xFD10
#define HFA384X_RID_REGULATORYDOMAINS   0xFD11
#define HFA384X_RID_TEMPTYPE   0xFD12
#define HFA384X_RID_CIS   0xFD13
#define HFA384X_RID_STAID   0xFD20
#define HFA384X_RID_STASUPRANGE   0xFD21
#define HFA384X_RID_MFIACTRANGES   0xFD22
#define HFA384X_RID_CFIACTRANGES2   0xFD23
#define HFA384X_RID_PRODUCTNAME   0xFD24
#define HFA384X_RID_PORTSTATUS   0xFD40
#define HFA384X_RID_CURRENTSSID   0xFD41
#define HFA384X_RID_CURRENTBSSID   0xFD42
#define HFA384X_RID_COMMSQUALITY   0xFD43
#define HFA384X_RID_CURRENTTXRATE   0xFD44
#define HFA384X_RID_CURRENTBEACONINTERVAL   0xFD45
#define HFA384X_RID_CURRENTSCALETHRESHOLDS   0xFD46
#define HFA384X_RID_PROTOCOLRSPTIME   0xFD47
#define HFA384X_RID_SHORTRETRYLIMIT   0xFD48
#define HFA384X_RID_LONGRETRYLIMIT   0xFD49
#define HFA384X_RID_MAXTRANSMITLIFETIME   0xFD4A
#define HFA384X_RID_MAXRECEIVELIFETIME   0xFD4B
#define HFA384X_RID_CFPOLLABLE   0xFD4C
#define HFA384X_RID_AUTHENTICATIONALGORITHMS   0xFD4D
#define HFA384X_RID_PRIVACYOPTIONIMPLEMENTED   0xFD4F
#define HFA384X_RID_DBMCOMMSQUALITY   0xFD51
#define HFA384X_RID_CURRENTTXRATE1   0xFD80
#define HFA384X_RID_CURRENTTXRATE2   0xFD81
#define HFA384X_RID_CURRENTTXRATE3   0xFD82
#define HFA384X_RID_CURRENTTXRATE4   0xFD83
#define HFA384X_RID_CURRENTTXRATE5   0xFD84
#define HFA384X_RID_CURRENTTXRATE6   0xFD85
#define HFA384X_RID_OWNMACADDR   0xFD86
#define HFA384X_RID_SCANRESULTSTABLE   0xFD88
#define HFA384X_RID_HOSTSCANRESULTS   0xFD89
#define HFA384X_RID_AUTHENTICATIONUSED   0xFD8A
#define HFA384X_RID_CNFFAASWITCHCTRL   0xFD8B
#define HFA384X_RID_PHYTYPE   0xFDC0
#define HFA384X_RID_CURRENTCHANNEL   0xFDC1
#define HFA384X_RID_CURRENTPOWERSTATE   0xFDC2
#define HFA384X_RID_CCAMODE   0xFDC3
#define HFA384X_RID_SUPPORTEDDATARATES   0xFDC6
#define HFA384X_RID_LFO_VOLT_REG_TEST_RES   0xFDC7
#define HFA384X_RID_BUILDSEQ   0xFFFE
#define HFA384X_RID_FWID   0xFFFF
#define HFA384X_COMP_ID_PRI   0x15
#define HFA384X_COMP_ID_STA   0x1f
#define HFA384X_COMP_ID_FW_AP   0x14b
#define PRISM2_IOCTL_MONITOR   (SIOCDEVPRIVATE)
#define PRISM2_IOCTL_PRISM2_PARAM   (SIOCDEVPRIVATE + 1)
#define PRISM2_IOCTL_READMIF   (SIOCDEVPRIVATE + 2)
#define PRISM2_IOCTL_WRITEMIF   (SIOCDEVPRIVATE + 3)
#define PRISM2_IOCTL_RESET   (SIOCDEVPRIVATE + 4)
#define PRISM2_IOCTL_INQUIRE   (SIOCDEVPRIVATE + 5)
#define PRISM2_IOCTL_WDS_ADD   (SIOCDEVPRIVATE + 6)
#define PRISM2_IOCTL_WDS_DEL   (SIOCDEVPRIVATE + 7)
#define PRISM2_IOCTL_SET_RID_WORD   (SIOCDEVPRIVATE + 8)
#define PRISM2_IOCTL_MACCMD   (SIOCDEVPRIVATE + 9)
#define PRISM2_IOCTL_ADDMAC   (SIOCDEVPRIVATE + 10)
#define PRISM2_IOCTL_DELMAC   (SIOCDEVPRIVATE + 11)
#define PRISM2_IOCTL_KICKMAC   (SIOCDEVPRIVATE + 12)
#define PRISM2_IOCTL_DOWNLOAD   (SIOCDEVPRIVATE + 13)
#define PRISM2_IOCTL_HOSTAPD   (SIOCDEVPRIVATE + 14)
#define PRISM2_MAX_DOWNLOAD_AREA_LEN   131072
#define PRISM2_MAX_DOWNLOAD_LEN   262144
#define PRISM2_HOSTAPD_MAX_BUF_SIZE   1024
#define PRISM2_HOSTAPD_RID_HDR_LEN   ((int) (&((struct prism2_hostapd_param *) 0)->u.rid.data))
#define HOSTAP_CRYPT_ALG_NAME_LEN   16
#define HOSTAP_CRYPT_FLAG_SET_TX_KEY   BIT(0)
#define HOSTAP_CRYPT_FLAG_PERMANENT   BIT(1)
#define HOSTAP_CRYPT_ERR_UNKNOWN_ALG   2
#define HOSTAP_CRYPT_ERR_UNKNOWN_ADDR   3
#define HOSTAP_CRYPT_ERR_CRYPT_INIT_FAILED   4
#define HOSTAP_CRYPT_ERR_KEY_SET_FAILED   5
#define HOSTAP_CRYPT_ERR_TX_KEY_SET_FAILED   6
#define HOSTAP_CRYPT_ERR_CARD_CONF_FAILED   7

Enumerations

enum  {
  PRISM2_PARAM_PTYPE = 1, PRISM2_PARAM_TXRATECTRL = 2, PRISM2_PARAM_BEACON_INT = 3, PRISM2_PARAM_PSEUDO_IBSS = 4,
  PRISM2_PARAM_ALC = 5, PRISM2_PARAM_TXPOWER = 6, PRISM2_PARAM_DUMP = 7, PRISM2_PARAM_OTHER_AP_POLICY = 8,
  PRISM2_PARAM_AP_MAX_INACTIVITY = 9, PRISM2_PARAM_AP_BRIDGE_PACKETS = 10, PRISM2_PARAM_DTIM_PERIOD = 11, PRISM2_PARAM_AP_NULLFUNC_ACK = 12,
  PRISM2_PARAM_MAX_WDS = 13, PRISM2_PARAM_AP_AUTOM_AP_WDS = 14, PRISM2_PARAM_AP_AUTH_ALGS = 15, PRISM2_PARAM_MONITOR_ALLOW_FCSERR = 16,
  PRISM2_PARAM_HOST_ENCRYPT = 17, PRISM2_PARAM_HOST_DECRYPT = 18, PRISM2_PARAM_BUS_MASTER_THRESHOLD_RX = 19, PRISM2_PARAM_BUS_MASTER_THRESHOLD_TX = 20,
  PRISM2_PARAM_HOST_ROAMING = 21, PRISM2_PARAM_BCRX_STA_KEY = 22, PRISM2_PARAM_IEEE_802_1X = 23, PRISM2_PARAM_ANTSEL_TX = 24,
  PRISM2_PARAM_ANTSEL_RX = 25, PRISM2_PARAM_MONITOR_TYPE = 26, PRISM2_PARAM_WDS_TYPE = 27, PRISM2_PARAM_HOSTSCAN = 28,
  PRISM2_PARAM_AP_SCAN = 29, PRISM2_PARAM_ENH_SEC = 30, PRISM2_PARAM_IO_DEBUG = 31, PRISM2_PARAM_BASIC_RATES = 32,
  PRISM2_PARAM_OPER_RATES = 33, PRISM2_PARAM_HOSTAPD = 34, PRISM2_PARAM_TX_OK = 35, PRISM2_PARAM_TX_EX = 36
}
enum  { HOSTAP_ANTSEL_DO_NOT_TOUCH = 0, HOSTAP_ANTSEL_DIVERSITY = 1, HOSTAP_ANTSEL_LOW = 2, HOSTAP_ANTSEL_HIGH = 3 }
enum  {
  AP_MAC_CMD_POLICY_OPEN = 0, AP_MAC_CMD_POLICY_ALLOW = 1, AP_MAC_CMD_POLICY_DENY = 2, AP_MAC_CMD_FLUSH = 3,
  AP_MAC_CMD_KICKALL = 4
}
enum  {
  PRISM2_DOWNLOAD_VOLATILE = 1, PRISM2_DOWNLOAD_NON_VOLATILE = 3, PRISM2_DOWNLOAD_VOLATILE_GENESIS = 4, PRISM2_DOWNLOAD_VOLATILE_PERSISTENT = 5,
  PRISM2_DOWNLOAD_VOLATILE_GENESIS_PERSISTENT = 6
}
enum  {
  PRISM2_HOSTAPD_FLUSH = 1, PRISM2_HOSTAPD_ADD_STA = 2, PRISM2_HOSTAPD_REMOVE_STA = 3, PRISM2_HOSTAPD_GET_INFO_STA = 4,
  PRISM2_SET_ENCRYPTION = 6, PRISM2_GET_ENCRYPTION = 7, PRISM2_HOSTAPD_SET_FLAGS_STA = 8, PRISM2_HOSTAPD_GET_RID = 9,
  PRISM2_HOSTAPD_SET_RID = 10, PRISM2_HOSTAPD_SET_ASSOC_AP_ADDR = 11
}

Variables

hfa384x_comp_ident packed


Define Documentation

#define BIT  )    (1 << (x))
 

Definition at line 4 of file hostap_common.h.

Referenced by handle_assoc(), handle_pspoll(), hfa384x_cmd_wait(), hostap_ap_tx_cb(), hostap_set_antsel(), prism2_cmd_ev(), prism2_tx_80211(), and schedule_packet_send().

#define ETH_P_PAE   0x888E
 

Definition at line 11 of file hostap_common.h.

Referenced by hostap_80211_rx(), and hostap_is_eapol_frame().

#define HFA384X_COMP_ID_FW_AP   0x14b
 

Definition at line 295 of file hostap_common.h.

Referenced by prism2_check_sta_fw_version().

#define HFA384X_COMP_ID_PRI   0x15
 

Definition at line 293 of file hostap_common.h.

#define HFA384X_COMP_ID_STA   0x1f
 

Definition at line 294 of file hostap_common.h.

Referenced by prism2_check_sta_fw_version().

#define HFA384X_RID_AUTHENTICATESTATION   0xFCE3
 

Definition at line 224 of file hostap_common.h.

#define HFA384X_RID_AUTHENTICATIONALGORITHMS   0xFD4D
 

Definition at line 261 of file hostap_common.h.

#define HFA384X_RID_AUTHENTICATIONUSED   0xFD8A
 

Definition at line 273 of file hostap_common.h.

#define HFA384X_RID_BROADCASTKEYID   0xFCB8
 

Definition at line 210 of file hostap_common.h.

#define HFA384X_RID_BUILDSEQ   0xFFFE
 

Definition at line 281 of file hostap_common.h.

#define HFA384X_RID_CAPINFO   0xFCC0
 

Definition at line 218 of file hostap_common.h.

#define HFA384X_RID_CCAMODE   0xFDC3
 

Definition at line 278 of file hostap_common.h.

#define HFA384X_RID_CFIACTRANGES   0xFD04
 

Definition at line 233 of file hostap_common.h.

#define HFA384X_RID_CFIACTRANGES2   0xFD23
 

Definition at line 245 of file hostap_common.h.

#define HFA384X_RID_CFISUPRANGE   0xFD0D
 

Definition at line 237 of file hostap_common.h.

#define HFA384X_RID_CFPOLLABLE   0xFD4C
 

Definition at line 260 of file hostap_common.h.

#define HFA384X_RID_CHANNELINFOREQUEST   0xFCE4
 

Definition at line 225 of file hostap_common.h.

#define HFA384X_RID_CHANNELLIST   0xFD10
 

Definition at line 238 of file hostap_common.h.

Referenced by prism2_setup_rids().

#define HFA384X_RID_CIS   0xFD13
 

Definition at line 241 of file hostap_common.h.

#define HFA384X_RID_CNFALTRETRYCOUNT   0xFC32
 

Definition at line 163 of file hostap_common.h.

Referenced by prism2_setup_rids().

#define HFA384X_RID_CNFAPPCFINFO   0xFC34
 

Definition at line 165 of file hostap_common.h.

#define HFA384X_RID_CNFAUTHENTICATION   0xFC2A
 

Definition at line 156 of file hostap_common.h.

Referenced by hostap_set_auth_algs().

#define HFA384X_RID_CNFAUTHENTICATIONRSPTO   0xFCB2
 

Definition at line 204 of file hostap_common.h.

#define HFA384X_RID_CNFBASICRATES   0xFCB3
 

Definition at line 205 of file hostap_common.h.

Referenced by prism2_setup_rids().

#define HFA384X_RID_CNFBEACONINT   0xFC33
 

Definition at line 164 of file hostap_common.h.

Referenced by prism2_setup_rids().

#define HFA384X_RID_CNFDBMADJUST   0xFC46
 

Definition at line 172 of file hostap_common.h.

#define HFA384X_RID_CNFDEFAULTKEY0   0xFC24
 

Definition at line 150 of file hostap_common.h.

Referenced by hostap_set_encryption().

#define HFA384X_RID_CNFDEFAULTKEY1   0xFC25
 

Definition at line 151 of file hostap_common.h.

#define HFA384X_RID_CNFDEFAULTKEY2   0xFC26
 

Definition at line 152 of file hostap_common.h.

#define HFA384X_RID_CNFDEFAULTKEY3   0xFC27
 

Definition at line 153 of file hostap_common.h.

#define HFA384X_RID_CNFDESIREDSSID   0xFC02
 

Definition at line 126 of file hostap_common.h.

Referenced by prism2_setup_rids().

#define HFA384X_RID_CNFENHSECURITY   0xFC43
 

Definition at line 171 of file hostap_common.h.

Referenced by prism2_setup_rids().

#define HFA384X_RID_CNFEXCLUDELONGPREAMBLE   0xFCB1
 

Definition at line 203 of file hostap_common.h.

#define HFA384X_RID_CNFFAASWITCHCTRL   0xFD8B
 

Definition at line 274 of file hostap_common.h.

#define HFA384X_RID_CNFFALLBACKCTRL   0xFCB5
 

Definition at line 207 of file hostap_common.h.

#define HFA384X_RID_CNFHOSTAUTHENTICATION   0xFC2E
 

Definition at line 160 of file hostap_common.h.

#define HFA384X_RID_CNFLFOENABLED   0xFCBF
 

Definition at line 217 of file hostap_common.h.

#define HFA384X_RID_CNFMAXASSOCSTA   0xFC2B
 

Definition at line 157 of file hostap_common.h.

#define HFA384X_RID_CNFMAXDATALEN   0xFC07
 

Definition at line 131 of file hostap_common.h.

Referenced by prism2_setup_rids().

#define HFA384X_RID_CNFMAXSLEEPDURATION   0xFC0C
 

Definition at line 136 of file hostap_common.h.

#define HFA384X_RID_CNFMMLIFE   0xFC31
 

Definition at line 162 of file hostap_common.h.

#define HFA384X_RID_CNFMULTICASTPMBUFFERING   0xFC17
 

Definition at line 146 of file hostap_common.h.

#define HFA384X_RID_CNFMULTICASTRECEIVE   0xFC0B
 

Definition at line 135 of file hostap_common.h.

#define HFA384X_RID_CNFOWNATIMWINDOW   0xFC05
 

Definition at line 129 of file hostap_common.h.

#define HFA384X_RID_CNFOWNCHANNEL   0xFC03
 

Definition at line 127 of file hostap_common.h.

Referenced by prism2_setup_rids().

#define HFA384X_RID_CNFOWNDTIMPERIOD   0xFC10
 

Definition at line 139 of file hostap_common.h.

Referenced by prism2_setup_rids().

#define HFA384X_RID_CNFOWNMACADDR   0xFC01
 

Definition at line 125 of file hostap_common.h.

Referenced by prism2_hw_init2().

#define HFA384X_RID_CNFOWNNAME   0xFC0E
 

Definition at line 138 of file hostap_common.h.

Referenced by prism2_setup_rids().

#define HFA384X_RID_CNFOWNSSID   0xFC04
 

Definition at line 128 of file hostap_common.h.

Referenced by prism2_setup_rids().

#define HFA384X_RID_CNFPASSIVESCANCTRL   0xFCBA
 

Definition at line 212 of file hostap_common.h.

#define HFA384X_RID_CNFPMENABLED   0xFC09
 

Definition at line 133 of file hostap_common.h.

#define HFA384X_RID_CNFPMEPS   0xFC0A
 

Definition at line 134 of file hostap_common.h.

#define HFA384X_RID_CNFPMHOLDOVERDURATION   0xFC0D
 

Definition at line 137 of file hostap_common.h.

#define HFA384X_RID_CNFPORTTYPE   0xFC00
 

Definition at line 124 of file hostap_common.h.

Referenced by prism2_setup_rids().

#define HFA384X_RID_CNFPRIORITYQUSAGE   0xFC37
 

Definition at line 167 of file hostap_common.h.

#define HFA384X_RID_CNFRCVCRCERROR   0xFC30
 

Definition at line 161 of file hostap_common.h.

#define HFA384X_RID_CNFROAMINGMODE   0xFC2D
 

Definition at line 159 of file hostap_common.h.

Referenced by hostap_set_roaming().

#define HFA384X_RID_CNFSHORTPREAMBLE   0xFCB0
 

Definition at line 202 of file hostap_common.h.

#define HFA384X_RID_CNFSTAPCFINFO   0xFC35
 

Definition at line 166 of file hostap_common.h.

#define HFA384X_RID_CNFSUPPORTEDRATES   0xFCB4
 

Definition at line 206 of file hostap_common.h.

Referenced by prism2_setup_rids().

#define HFA384X_RID_CNFSYSTEMSCALE   0xFC06
 

Definition at line 130 of file hostap_common.h.

#define HFA384X_RID_CNFTHIRTY2TALLY   0xFC42
 

Definition at line 170 of file hostap_common.h.

Referenced by prism2_setup_rids().

#define HFA384X_RID_CNFTIMCTRL   0xFC40
 

Definition at line 168 of file hostap_common.h.

Referenced by handle_set_tim_queue().

#define HFA384X_RID_CNFTXCONTROL   0xFC2C
 

Definition at line 158 of file hostap_common.h.

#define HFA384X_RID_CNFWDSADDRESS   0xFC08
 

Definition at line 132 of file hostap_common.h.

#define HFA384X_RID_CNFWDSADDRESS1   0xFC11
 

Definition at line 140 of file hostap_common.h.

#define HFA384X_RID_CNFWDSADDRESS2   0xFC12
 

Definition at line 141 of file hostap_common.h.

#define HFA384X_RID_CNFWDSADDRESS3   0xFC13
 

Definition at line 142 of file hostap_common.h.

#define HFA384X_RID_CNFWDSADDRESS4   0xFC14
 

Definition at line 143 of file hostap_common.h.

#define HFA384X_RID_CNFWDSADDRESS5   0xFC15
 

Definition at line 144 of file hostap_common.h.

#define HFA384X_RID_CNFWDSADDRESS6   0xFC16
 

Definition at line 145 of file hostap_common.h.

#define HFA384X_RID_CNFWEPDEFAULTKEYID   0xFC23
 

Definition at line 149 of file hostap_common.h.

Referenced by hostap_set_encryption().

#define HFA384X_RID_CNFWEPFLAGS   0xFC28
 

Definition at line 154 of file hostap_common.h.

Referenced by hostap_set_encryption().

#define HFA384X_RID_CNFWEPKEYMAPPINGTABLE   0xFC29
 

Definition at line 155 of file hostap_common.h.

#define HFA384X_RID_COMMSQUALITY   0xFD43
 

Definition at line 251 of file hostap_common.h.

#define HFA384X_RID_CREATEIBSS   0xFC81
 

Definition at line 176 of file hostap_common.h.

Referenced by prism2_setup_rids().

#define HFA384X_RID_CURRENTBEACONINTERVAL   0xFD45
 

Definition at line 253 of file hostap_common.h.

#define HFA384X_RID_CURRENTBSSID   0xFD42
 

Definition at line 250 of file hostap_common.h.

Referenced by handle_info_queue_linkstatus().

#define HFA384X_RID_CURRENTCHANNEL   0xFDC1
 

Definition at line 276 of file hostap_common.h.

#define HFA384X_RID_CURRENTPOWERSTATE   0xFDC2
 

Definition at line 277 of file hostap_common.h.

#define HFA384X_RID_CURRENTSCALETHRESHOLDS   0xFD46
 

Definition at line 254 of file hostap_common.h.

#define HFA384X_RID_CURRENTSSID   0xFD41
 

Definition at line 249 of file hostap_common.h.

#define HFA384X_RID_CURRENTTXRATE   0xFD44
 

Definition at line 252 of file hostap_common.h.

#define HFA384X_RID_CURRENTTXRATE1   0xFD80
 

Definition at line 264 of file hostap_common.h.

#define HFA384X_RID_CURRENTTXRATE2   0xFD81
 

Definition at line 265 of file hostap_common.h.

#define HFA384X_RID_CURRENTTXRATE3   0xFD82
 

Definition at line 266 of file hostap_common.h.

#define HFA384X_RID_CURRENTTXRATE4   0xFD83
 

Definition at line 267 of file hostap_common.h.

#define HFA384X_RID_CURRENTTXRATE5   0xFD84
 

Definition at line 268 of file hostap_common.h.

#define HFA384X_RID_CURRENTTXRATE6   0xFD85
 

Definition at line 269 of file hostap_common.h.

#define HFA384X_RID_DBMCOMMSQUALITY   0xFD51
 

Definition at line 263 of file hostap_common.h.

#define HFA384X_RID_DOWNLOADBUFFER   0xFD01
 

Definition at line 230 of file hostap_common.h.

#define HFA384X_RID_ENTSECFLAGEYID   0xFCB9
 

Definition at line 211 of file hostap_common.h.

#define HFA384X_RID_FRAGMENTATIONTHRESHOLD   0xFC82
 

Definition at line 177 of file hostap_common.h.

Referenced by prism2_reset_port(), and prism2_setup_rids().

#define HFA384X_RID_FRAGMENTATIONTHRESHOLD0   0xFC90
 

Definition at line 181 of file hostap_common.h.

#define HFA384X_RID_FRAGMENTATIONTHRESHOLD1   0xFC91
 

Definition at line 182 of file hostap_common.h.

#define HFA384X_RID_FRAGMENTATIONTHRESHOLD2   0xFC92
 

Definition at line 183 of file hostap_common.h.

#define HFA384X_RID_FRAGMENTATIONTHRESHOLD3   0xFC93
 

Definition at line 184 of file hostap_common.h.

#define HFA384X_RID_FRAGMENTATIONTHRESHOLD4   0xFC94
 

Definition at line 185 of file hostap_common.h.

#define HFA384X_RID_FRAGMENTATIONTHRESHOLD5   0xFC95
 

Definition at line 186 of file hostap_common.h.

#define HFA384X_RID_FRAGMENTATIONTHRESHOLD6   0xFC96
 

Definition at line 187 of file hostap_common.h.

#define HFA384X_RID_FWID   0xFFFF
 

Definition at line 282 of file hostap_common.h.

#define HFA384X_RID_GENERICELEMENT   0xFC48
 

Definition at line 173 of file hostap_common.h.

#define HFA384X_RID_GROUPADDRESSES   0xFC80
 

Definition at line 175 of file hostap_common.h.

#define HFA384X_RID_HOSTSCAN   0xFCE5
 

Definition at line 226 of file hostap_common.h.

#define HFA384X_RID_HOSTSCANRESULTS   0xFD89
 

Definition at line 272 of file hostap_common.h.

#define HFA384X_RID_JOINREQUEST   0xFCE2
 

Definition at line 223 of file hostap_common.h.

Referenced by prism2_host_roaming().

#define HFA384X_RID_LFO_VOLT_REG_TEST_RES   0xFDC7
 

Definition at line 280 of file hostap_common.h.

#define HFA384X_RID_LISTENINTERVAL   0xFCC1
 

Definition at line 219 of file hostap_common.h.

#define HFA384X_RID_LONGRETRYLIMIT   0xFD49
 

Definition at line 257 of file hostap_common.h.

#define HFA384X_RID_MAXLOADTIME   0xFD00
 

Definition at line 229 of file hostap_common.h.

#define HFA384X_RID_MAXRECEIVELIFETIME   0xFD4B
 

Definition at line 259 of file hostap_common.h.

#define HFA384X_RID_MAXTRANSMITLIFETIME   0xFD4A
 

Definition at line 258 of file hostap_common.h.

#define HFA384X_RID_MDCCONTROL   0xFCBC
 

Definition at line 214 of file hostap_common.h.

#define HFA384X_RID_MDCCOUNTRY   0xFCBD
 

Definition at line 215 of file hostap_common.h.

#define HFA384X_RID_MFIACTRANGES   0xFD22
 

Definition at line 244 of file hostap_common.h.

#define HFA384X_RID_MFISUPRANGE   0xFD0C
 

Definition at line 236 of file hostap_common.h.

#define HFA384X_RID_NICID   0xFD0B
 

Definition at line 235 of file hostap_common.h.

Referenced by prism2_hw_init2().

#define HFA384X_RID_NICSERNUM   0xFD0A
 

Definition at line 234 of file hostap_common.h.

#define HFA384X_RID_OWNMACADDR   0xFD86
 

Definition at line 270 of file hostap_common.h.

#define HFA384X_RID_PHYTYPE   0xFDC0
 

Definition at line 275 of file hostap_common.h.

#define HFA384X_RID_PORTSTATUS   0xFD40
 

Definition at line 248 of file hostap_common.h.

#define HFA384X_RID_PRIID   0xFD02
 

Definition at line 231 of file hostap_common.h.

Referenced by prism2_hw_init2().

#define HFA384X_RID_PRISUPRANGE   0xFD03
 

Definition at line 232 of file hostap_common.h.

#define HFA384X_RID_PRIVACYOPTIONIMPLEMENTED   0xFD4F
 

Definition at line 262 of file hostap_common.h.

#define HFA384X_RID_PRODUCTNAME   0xFD24
 

Definition at line 246 of file hostap_common.h.

#define HFA384X_RID_PROMISCUOUSMODE   0xFC85
 

Definition at line 180 of file hostap_common.h.

Referenced by hostap_set_multicast_list_queue(), and prism2_setup_rids().

#define HFA384X_RID_PROTOCOLRSPTIME   0xFD47
 

Definition at line 255 of file hostap_common.h.

#define HFA384X_RID_REGULATORYDOMAINS   0xFD11
 

Definition at line 239 of file hostap_common.h.

#define HFA384X_RID_RTSTHRESHOLD   0xFC83
 

Definition at line 178 of file hostap_common.h.

Referenced by prism2_setup_rids().

#define HFA384X_RID_RTSTHRESHOLD0   0xFC97
 

Definition at line 188 of file hostap_common.h.

#define HFA384X_RID_RTSTHRESHOLD1   0xFC98
 

Definition at line 189 of file hostap_common.h.

#define HFA384X_RID_RTSTHRESHOLD2   0xFC99
 

Definition at line 190 of file hostap_common.h.

#define HFA384X_RID_RTSTHRESHOLD3   0xFC9A
 

Definition at line 191 of file hostap_common.h.

#define HFA384X_RID_RTSTHRESHOLD4   0xFC9B
 

Definition at line 192 of file hostap_common.h.

#define HFA384X_RID_RTSTHRESHOLD5   0xFC9C
 

Definition at line 193 of file hostap_common.h.

#define HFA384X_RID_RTSTHRESHOLD6   0xFC9D
 

Definition at line 194 of file hostap_common.h.

#define HFA384X_RID_SCANREQUEST   0xFCE1
 

Definition at line 222 of file hostap_common.h.

#define HFA384X_RID_SCANRESULTSTABLE   0xFD88
 

Definition at line 271 of file hostap_common.h.

#define HFA384X_RID_SHORTRETRYLIMIT   0xFD48
 

Definition at line 256 of file hostap_common.h.

#define HFA384X_RID_SSNHANDLINGMODE   0xFCBB
 

Definition at line 213 of file hostap_common.h.

#define HFA384X_RID_STAID   0xFD20
 

Definition at line 242 of file hostap_common.h.

Referenced by prism2_check_sta_fw_version(), and prism2_hw_init2().

#define HFA384X_RID_STASUPRANGE   0xFD21
 

Definition at line 243 of file hostap_common.h.

#define HFA384X_RID_SUPPORTEDDATARATES   0xFDC6
 

Definition at line 279 of file hostap_common.h.

#define HFA384X_RID_SW_ANT_DIV   0xFCC2
 

Definition at line 220 of file hostap_common.h.

#define HFA384X_RID_TEMPTYPE   0xFD12
 

Definition at line 240 of file hostap_common.h.

#define HFA384X_RID_TICKTIME   0xFCE0
 

Definition at line 221 of file hostap_common.h.

Referenced by prism2_setup_rids().

#define HFA384X_RID_TXPOWERMAX   0xFCBE
 

Definition at line 216 of file hostap_common.h.

#define HFA384X_RID_TXRATECONTROL   0xFC84
 

Definition at line 179 of file hostap_common.h.

Referenced by prism2_setup_rids().

#define HFA384X_RID_TXRATECONTROL0   0xFC9E
 

Definition at line 195 of file hostap_common.h.

#define HFA384X_RID_TXRATECONTROL1   0xFC9F
 

Definition at line 196 of file hostap_common.h.

#define HFA384X_RID_TXRATECONTROL2   0xFCA0
 

Definition at line 197 of file hostap_common.h.

#define HFA384X_RID_TXRATECONTROL3   0xFCA1
 

Definition at line 198 of file hostap_common.h.

#define HFA384X_RID_TXRATECONTROL4   0xFCA2
 

Definition at line 199 of file hostap_common.h.

#define HFA384X_RID_TXRATECONTROL5   0xFCA3
 

Definition at line 200 of file hostap_common.h.

#define HFA384X_RID_TXRATECONTROL6   0xFCA4
 

Definition at line 201 of file hostap_common.h.

#define HFA384X_RID_UNKNOWN1   0xFC20
 

Definition at line 147 of file hostap_common.h.

#define HFA384X_RID_UNKNOWN2   0xFC21
 

Definition at line 148 of file hostap_common.h.

#define HFA384X_RID_UNKNOWN3   0xFC41
 

Definition at line 169 of file hostap_common.h.

#define HFA384X_RID_WEPKEYDISABLE   0xFCB6
 

Definition at line 208 of file hostap_common.h.

#define HFA384X_RID_WEPKEYMAPINDEX   0xFCB7
 

Definition at line 209 of file hostap_common.h.

#define HOSTAP_CRYPT_ALG_NAME_LEN   16
 

Definition at line 481 of file hostap_common.h.

#define HOSTAP_CRYPT_ERR_CARD_CONF_FAILED   7
 

Definition at line 524 of file hostap_common.h.

#define HOSTAP_CRYPT_ERR_CRYPT_INIT_FAILED   4
 

Definition at line 521 of file hostap_common.h.

#define HOSTAP_CRYPT_ERR_KEY_SET_FAILED   5
 

Definition at line 522 of file hostap_common.h.

#define HOSTAP_CRYPT_ERR_TX_KEY_SET_FAILED   6
 

Definition at line 523 of file hostap_common.h.

#define HOSTAP_CRYPT_ERR_UNKNOWN_ADDR   3
 

Definition at line 520 of file hostap_common.h.

#define HOSTAP_CRYPT_ERR_UNKNOWN_ALG   2
 

Definition at line 519 of file hostap_common.h.

#define HOSTAP_CRYPT_FLAG_PERMANENT   BIT(1)
 

Definition at line 517 of file hostap_common.h.

#define HOSTAP_CRYPT_FLAG_SET_TX_KEY   BIT(0)
 

Definition at line 516 of file hostap_common.h.

#define MAC2STR  )    (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5]
 

Definition at line 6 of file hostap_common.h.

Referenced by ap_control_proc_read(), ap_free_sta(), ap_handle_timer(), ap_sta_hash_del(), ap_update_sta_tx_rate(), handle_add_proc_queue(), handle_ap_item(), handle_assoc(), handle_authen(), handle_deauth(), handle_disassoc(), handle_info_queue_linkstatus(), handle_pspoll(), handle_wds_oper_queue(), hostap_80211_rx(), hostap_ap_tx_cb_assoc(), hostap_ap_tx_cb_auth(), hostap_ap_tx_cb_poll(), hostap_dump_rx_80211(), hostap_dump_rx_header(), hostap_dump_tx_header(), hostap_handle_sta_rx(), hostap_handle_sta_tx(), hostap_handle_sta_tx_exc(), hostap_rx_frame_decrypt(), hostap_rx_frame_wds(), hostap_update_sta_ps2(), prism2_ap_proc_read(), prism2_host_roaming(), prism2_scan_results_proc_read(), prism2_sta_proc_read(), prism2_txexc(), prism2_wds_proc_read(), and schedule_packet_send().

#define MACSTR   "%02x:%02x:%02x:%02x:%02x:%02x"
 

Definition at line 7 of file hostap_common.h.

Referenced by ap_control_proc_read(), ap_free_sta(), ap_handle_timer(), ap_sta_hash_del(), ap_update_sta_tx_rate(), handle_add_proc_queue(), handle_ap_item(), handle_assoc(), handle_authen(), handle_deauth(), handle_disassoc(), handle_info_queue_linkstatus(), handle_pspoll(), handle_wds_oper_queue(), hostap_80211_rx(), hostap_ap_tx_cb_assoc(), hostap_ap_tx_cb_auth(), hostap_ap_tx_cb_poll(), hostap_dump_rx_80211(), hostap_dump_rx_header(), hostap_dump_tx_header(), hostap_handle_sta_rx(), hostap_handle_sta_tx(), hostap_handle_sta_tx_exc(), hostap_rx_frame_decrypt(), hostap_rx_frame_wds(), hostap_update_sta_ps2(), prism2_ap_proc_read(), prism2_host_roaming(), prism2_scan_results_proc_read(), prism2_sta_proc_read(), prism2_txexc(), prism2_wds_proc_read(), and schedule_packet_send().

#define PRISM2_HOSTAPD_MAX_BUF_SIZE   1024
 

Definition at line 475 of file hostap_common.h.

#define PRISM2_HOSTAPD_RID_HDR_LEN   ((int) (&((struct prism2_hostapd_param *) 0)->u.rid.data))
 

Definition at line 476 of file hostap_common.h.

#define PRISM2_IOCTL_ADDMAC   (SIOCDEVPRIVATE + 10)
 

Definition at line 370 of file hostap_common.h.

#define PRISM2_IOCTL_DELMAC   (SIOCDEVPRIVATE + 11)
 

Definition at line 371 of file hostap_common.h.

#define PRISM2_IOCTL_DOWNLOAD   (SIOCDEVPRIVATE + 13)
 

Definition at line 373 of file hostap_common.h.

#define PRISM2_IOCTL_HOSTAPD   (SIOCDEVPRIVATE + 14)
 

Definition at line 374 of file hostap_common.h.

#define PRISM2_IOCTL_INQUIRE   (SIOCDEVPRIVATE + 5)
 

Definition at line 365 of file hostap_common.h.

#define PRISM2_IOCTL_KICKMAC   (SIOCDEVPRIVATE + 12)
 

Definition at line 372 of file hostap_common.h.

#define PRISM2_IOCTL_MACCMD   (SIOCDEVPRIVATE + 9)
 

Definition at line 369 of file hostap_common.h.

#define PRISM2_IOCTL_MONITOR   (SIOCDEVPRIVATE)
 

Definition at line 360 of file hostap_common.h.

#define PRISM2_IOCTL_PRISM2_PARAM   (SIOCDEVPRIVATE + 1)
 

Definition at line 361 of file hostap_common.h.

#define PRISM2_IOCTL_READMIF   (SIOCDEVPRIVATE + 2)
 

Definition at line 362 of file hostap_common.h.

#define PRISM2_IOCTL_RESET   (SIOCDEVPRIVATE + 4)
 

Definition at line 364 of file hostap_common.h.

#define PRISM2_IOCTL_SET_RID_WORD   (SIOCDEVPRIVATE + 8)
 

Definition at line 368 of file hostap_common.h.

#define PRISM2_IOCTL_WDS_ADD   (SIOCDEVPRIVATE + 6)
 

Definition at line 366 of file hostap_common.h.

#define PRISM2_IOCTL_WDS_DEL   (SIOCDEVPRIVATE + 7)
 

Definition at line 367 of file hostap_common.h.

#define PRISM2_IOCTL_WRITEMIF   (SIOCDEVPRIVATE + 3)
 

Definition at line 363 of file hostap_common.h.

#define PRISM2_MAX_DOWNLOAD_AREA_LEN   131072
 

Definition at line 456 of file hostap_common.h.

Referenced by prism2_download().

#define PRISM2_MAX_DOWNLOAD_LEN   262144
 

Definition at line 457 of file hostap_common.h.

Referenced by prism2_download().

#define WLAN_AUTH_CHALLENGE_LEN   128
 

Definition at line 75 of file hostap_common.h.

Referenced by ap_auth_make_challenge(), and handle_authen().

#define WLAN_AUTH_OPEN   0
 

Definition at line 72 of file hostap_common.h.

Referenced by handle_authen(), and hostap_ap_tx_cb_auth().

#define WLAN_AUTH_SHARED_KEY   1
 

Definition at line 73 of file hostap_common.h.

Referenced by handle_authen(), and hostap_ap_tx_cb_auth().

#define WLAN_CAPABILITY_CF_POLL_REQUEST   BIT(3)
 

Definition at line 80 of file hostap_common.h.

#define WLAN_CAPABILITY_CF_POLLABLE   BIT(2)
 

Definition at line 79 of file hostap_common.h.

#define WLAN_CAPABILITY_ESS   BIT(0)
 

Definition at line 77 of file hostap_common.h.

Referenced by handle_assoc(), and prism2_ap_proc_read().

#define WLAN_CAPABILITY_IBSS   BIT(1)
 

Definition at line 78 of file hostap_common.h.

Referenced by handle_beacon(), and prism2_ap_proc_read().

#define WLAN_CAPABILITY_PRIVACY   BIT(4)
 

Definition at line 81 of file hostap_common.h.

Referenced by prism2_ap_proc_read().

#define WLAN_EID_CF_PARAMS   4
 

Definition at line 117 of file hostap_common.h.

#define WLAN_EID_CHALLENGE   16
 

Definition at line 120 of file hostap_common.h.

Referenced by handle_authen().

#define WLAN_EID_DS_PARAMS   3
 

Definition at line 116 of file hostap_common.h.

Referenced by handle_beacon().

#define WLAN_EID_FH_PARAMS   2
 

Definition at line 115 of file hostap_common.h.

#define WLAN_EID_IBSS_PARAMS   6
 

Definition at line 119 of file hostap_common.h.

#define WLAN_EID_SSID   0
 

Definition at line 113 of file hostap_common.h.

Referenced by handle_assoc(), and handle_beacon().

#define WLAN_EID_SUPP_RATES   1
 

Definition at line 114 of file hostap_common.h.

Referenced by handle_assoc(), and handle_beacon().

#define WLAN_EID_TIM   5
 

Definition at line 118 of file hostap_common.h.

#define WLAN_FC_FROMDS   BIT(9)
 

Definition at line 20 of file hostap_common.h.

Referenced by handle_ap_item(), hostap_80211_get_hdrlen(), hostap_80211_rx(), hostap_dump_rx_80211(), hostap_dump_rx_header(), hostap_dump_tx_header(), hostap_handle_sta_rx(), hostap_is_eapol_frame(), hostap_rx_frame_wds(), prism2_send_mgmt(), prism2_tx_80211(), and prism2_txexc().

#define WLAN_FC_GET_STYPE fc  )    (((fc) & (BIT(7) | BIT(6) | BIT(5) | BIT(4))) >> 4)
 

Definition at line 29 of file hostap_common.h.

Referenced by handle_ap_item(), hostap_80211_get_hdrlen(), hostap_80211_rx(), hostap_ap_tx_cb_assoc(), hostap_ap_tx_cb_auth(), hostap_dump_rx_80211(), hostap_dump_rx_header(), hostap_dump_tx_header(), hostap_handle_sta_rx(), hostap_rx(), hostap_update_sta_ps(), prism2_tx_80211(), and prism2_txexc().

#define WLAN_FC_GET_TYPE fc  )    (((fc) & (BIT(3) | BIT(2))) >> 2)
 

Definition at line 28 of file hostap_common.h.

Referenced by handle_ap_item(), hostap_80211_get_hdrlen(), hostap_80211_rx(), hostap_ap_tx_cb_assoc(), hostap_ap_tx_cb_auth(), hostap_dump_rx_80211(), hostap_dump_rx_header(), hostap_dump_tx_header(), hostap_handle_sta_rx(), hostap_rx(), hostap_update_sta_ps(), prism2_tx_80211(), and prism2_txexc().

#define WLAN_FC_ISWEP   BIT(14)
 

Definition at line 25 of file hostap_common.h.

Referenced by handle_authen(), and hostap_80211_rx().

#define WLAN_FC_MOREDATA   BIT(13)
 

Definition at line 24 of file hostap_common.h.

Referenced by hostap_handle_sta_tx().

#define WLAN_FC_MOREFRAG   BIT(10)
 

Definition at line 21 of file hostap_common.h.

Referenced by hostap_80211_rx().

#define WLAN_FC_ORDER   BIT(15)
 

Definition at line 26 of file hostap_common.h.

#define WLAN_FC_PVER   (BIT(1) | BIT(0))
 

Definition at line 18 of file hostap_common.h.

Referenced by hostap_ap_tx_cb(), prism2_rx_80211(), and prism2_tx_80211().

#define WLAN_FC_PWRMGT   BIT(12)
 

Definition at line 23 of file hostap_common.h.

Referenced by handle_pspoll(), hostap_handle_sta_rx(), and hostap_update_sta_ps().

#define WLAN_FC_RETRY   BIT(11)
 

Definition at line 22 of file hostap_common.h.

#define WLAN_FC_STYPE_ACK   13
 

Definition at line 57 of file hostap_common.h.

Referenced by ap_handle_data_nullfunc(), and hostap_80211_get_hdrlen().

#define WLAN_FC_STYPE_ASSOC_REQ   0
 

Definition at line 41 of file hostap_common.h.

Referenced by handle_ap_item().

#define WLAN_FC_STYPE_ASSOC_RESP   1
 

Definition at line 42 of file hostap_common.h.

Referenced by handle_ap_item(), handle_assoc(), hostap_ap_tx_cb_assoc(), and prism2_tx_80211().

#define WLAN_FC_STYPE_ATIM   9
 

Definition at line 48 of file hostap_common.h.

Referenced by handle_ap_item().

#define WLAN_FC_STYPE_AUTH   11
 

Definition at line 50 of file hostap_common.h.

Referenced by handle_ap_item(), handle_authen(), hostap_80211_rx(), hostap_ap_tx_cb_auth(), and prism2_tx_80211().

#define WLAN_FC_STYPE_BEACON   8
 

Definition at line 47 of file hostap_common.h.

Referenced by handle_ap_item(), hostap_rx(), and hostap_rx_frame_mgmt().

#define WLAN_FC_STYPE_CFACK   5
 

Definition at line 67 of file hostap_common.h.

#define WLAN_FC_STYPE_CFACKPOLL   7
 

Definition at line 69 of file hostap_common.h.

#define WLAN_FC_STYPE_CFEND   14
 

Definition at line 58 of file hostap_common.h.

#define WLAN_FC_STYPE_CFENDACK   15
 

Definition at line 59 of file hostap_common.h.

#define WLAN_FC_STYPE_CFPOLL   6
 

Definition at line 68 of file hostap_common.h.

#define WLAN_FC_STYPE_CTS   12
 

Definition at line 56 of file hostap_common.h.

Referenced by hostap_80211_get_hdrlen().

#define WLAN_FC_STYPE_DATA   0
 

Definition at line 62 of file hostap_common.h.

Referenced by ap_handle_timer(), and hostap_80211_rx().

#define WLAN_FC_STYPE_DATA_CFACK   1
 

Definition at line 63 of file hostap_common.h.

Referenced by hostap_80211_rx().

#define WLAN_FC_STYPE_DATA_CFACKPOLL   3
 

Definition at line 65 of file hostap_common.h.

Referenced by hostap_80211_rx().

#define WLAN_FC_STYPE_DATA_CFPOLL   2
 

Definition at line 64 of file hostap_common.h.

Referenced by hostap_80211_rx().

#define WLAN_FC_STYPE_DEAUTH   12
 

Definition at line 51 of file hostap_common.h.

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

#define WLAN_FC_STYPE_DISASSOC   10
 

Definition at line 49 of file hostap_common.h.

Referenced by ap_handle_dropped_data(), ap_handle_timer(), and handle_ap_item().

#define WLAN_FC_STYPE_NULLFUNC   4
 

Definition at line 66 of file hostap_common.h.

Referenced by handle_ap_item(), hostap_80211_rx(), and hostap_handle_sta_rx().

#define WLAN_FC_STYPE_PROBE_REQ   4
 

Definition at line 45 of file hostap_common.h.

#define WLAN_FC_STYPE_PROBE_RESP   5
 

Definition at line 46 of file hostap_common.h.

#define WLAN_FC_STYPE_PSPOLL   10
 

Definition at line 54 of file hostap_common.h.

Referenced by handle_ap_item(), hostap_update_sta_ps2(), and schedule_packet_send().

#define WLAN_FC_STYPE_REASSOC_REQ   2
 

Definition at line 43 of file hostap_common.h.

Referenced by handle_ap_item().

#define WLAN_FC_STYPE_REASSOC_RESP   3
 

Definition at line 44 of file hostap_common.h.

Referenced by handle_ap_item(), handle_assoc(), hostap_ap_tx_cb_assoc(), and prism2_tx_80211().

#define WLAN_FC_STYPE_RTS   11
 

Definition at line 55 of file hostap_common.h.

#define WLAN_FC_TODS   BIT(8)
 

Definition at line 19 of file hostap_common.h.

Referenced by handle_ap_item(), hostap_80211_get_hdrlen(), hostap_80211_rx(), hostap_dump_rx_80211(), hostap_dump_rx_header(), hostap_dump_tx_header(), hostap_handle_sta_rx(), hostap_is_eapol_frame(), hostap_rx_frame_wds(), prism2_tx_80211(), and prism2_txexc().

#define WLAN_FC_TYPE_CTRL   1
 

Definition at line 37 of file hostap_common.h.

Referenced by ap_handle_data_nullfunc(), handle_ap_item(), hostap_80211_get_hdrlen(), hostap_rx_frame_mgmt(), hostap_update_sta_ps2(), prism2_send_mgmt(), prism2_txexc(), and schedule_packet_send().

#define WLAN_FC_TYPE_DATA   2
 

Definition at line 38 of file hostap_common.h.

Referenced by ap_handle_timer(), handle_ap_item(), hostap_80211_get_hdrlen(), hostap_80211_rx(), prism2_send_mgmt(), prism2_tx_80211(), and prism2_txexc().

#define WLAN_FC_TYPE_MGMT   0
 

Definition at line 36 of file hostap_common.h.

Referenced by ap_control_kick_mac(), ap_handle_dropped_data(), ap_handle_timer(), handle_ap_item(), handle_assoc(), handle_authen(), hostap_80211_rx(), hostap_ap_tx_cb_assoc(), hostap_ap_tx_cb_auth(), hostap_deauth_all_stas(), hostap_rx(), hostap_rx_frame_mgmt(), prism2_tx_80211(), and prism2_txexc().

#define WLAN_GET_SEQ_FRAG seq  )    ((seq) & (BIT(3) | BIT(2) | BIT(1) | BIT(0)))
 

Definition at line 32 of file hostap_common.h.

Referenced by hostap_80211_rx(), and prism2_frag_cache_get().

#define WLAN_GET_SEQ_SEQ seq  )    (((seq) & (~(BIT(3) | BIT(2) | BIT(1) | BIT(0)))) >> 4)
 

Definition at line 33 of file hostap_common.h.

Referenced by hostap_80211_rx(), prism2_frag_cache_get(), and prism2_frag_cache_invalidate().

#define WLAN_REASON_CLASS2_FRAME_FROM_NONAUTH_STA   6
 

Definition at line 106 of file hostap_common.h.

#define WLAN_REASON_CLASS3_FRAME_FROM_NONASSOC_STA   7
 

Definition at line 107 of file hostap_common.h.

Referenced by ap_handle_dropped_data().

#define WLAN_REASON_DEAUTH_LEAVING   3
 

Definition at line 103 of file hostap_common.h.

#define WLAN_REASON_DISASSOC_AP_BUSY   5
 

Definition at line 105 of file hostap_common.h.

#define WLAN_REASON_DISASSOC_DUE_TO_INACTIVITY   4
 

Definition at line 104 of file hostap_common.h.

Referenced by ap_handle_timer().

#define WLAN_REASON_DISASSOC_STA_HAS_LEFT   8
 

Definition at line 108 of file hostap_common.h.

#define WLAN_REASON_PREV_AUTH_NOT_VALID   2
 

Definition at line 102 of file hostap_common.h.

Referenced by ap_control_kick_mac(), ap_handle_timer(), and hostap_deauth_all_stas().

#define WLAN_REASON_STA_REQ_ASSOC_WITHOUT_AUTH   9
 

Definition at line 109 of file hostap_common.h.

Referenced by handle_assoc().

#define WLAN_REASON_UNSPECIFIED   1
 

Definition at line 101 of file hostap_common.h.

#define WLAN_STATUS_AP_UNABLE_TO_HANDLE_NEW_STA   17
 

Definition at line 93 of file hostap_common.h.

Referenced by handle_assoc().

#define WLAN_STATUS_ASSOC_DENIED_NOAGILITY   21
 

Definition at line 98 of file hostap_common.h.

#define WLAN_STATUS_ASSOC_DENIED_NOPBCC   20
 

Definition at line 97 of file hostap_common.h.

#define WLAN_STATUS_ASSOC_DENIED_NOSHORT   19
 

Definition at line 96 of file hostap_common.h.

#define WLAN_STATUS_ASSOC_DENIED_RATES   18
 

Definition at line 94 of file hostap_common.h.

#define WLAN_STATUS_ASSOC_DENIED_UNSPEC   12
 

Definition at line 88 of file hostap_common.h.

Referenced by handle_assoc().

#define WLAN_STATUS_AUTH_TIMEOUT   16
 

Definition at line 92 of file hostap_common.h.

#define WLAN_STATUS_CAPS_UNSUPPORTED   10
 

Definition at line 86 of file hostap_common.h.

#define WLAN_STATUS_CHALLENGE_FAIL   15
 

Definition at line 91 of file hostap_common.h.

Referenced by handle_authen().

#define WLAN_STATUS_NOT_SUPPORTED_AUTH_ALG   13
 

Definition at line 89 of file hostap_common.h.

Referenced by handle_authen().

#define WLAN_STATUS_REASSOC_NO_ASSOC   11
 

Definition at line 87 of file hostap_common.h.

#define WLAN_STATUS_SUCCESS   0
 

Definition at line 84 of file hostap_common.h.

Referenced by handle_assoc(), handle_authen(), hostap_ap_tx_cb_assoc(), and hostap_ap_tx_cb_auth().

#define WLAN_STATUS_UNKNOWN_AUTH_TRANSACTION   14
 

Definition at line 90 of file hostap_common.h.

Referenced by handle_authen().

#define WLAN_STATUS_UNSPECIFIED_FAILURE   1
 

Definition at line 85 of file hostap_common.h.

Referenced by handle_assoc(), and handle_authen().


Enumeration Type Documentation

anonymous enum
 

Enumeration values:
PRISM2_PARAM_PTYPE 
PRISM2_PARAM_TXRATECTRL 
PRISM2_PARAM_BEACON_INT 
PRISM2_PARAM_PSEUDO_IBSS 
PRISM2_PARAM_ALC 
PRISM2_PARAM_TXPOWER 
PRISM2_PARAM_DUMP 
PRISM2_PARAM_OTHER_AP_POLICY 
PRISM2_PARAM_AP_MAX_INACTIVITY 
PRISM2_PARAM_AP_BRIDGE_PACKETS 
PRISM2_PARAM_DTIM_PERIOD 
PRISM2_PARAM_AP_NULLFUNC_ACK 
PRISM2_PARAM_MAX_WDS 
PRISM2_PARAM_AP_AUTOM_AP_WDS 
PRISM2_PARAM_AP_AUTH_ALGS 
PRISM2_PARAM_MONITOR_ALLOW_FCSERR 
PRISM2_PARAM_HOST_ENCRYPT 
PRISM2_PARAM_HOST_DECRYPT 
PRISM2_PARAM_BUS_MASTER_THRESHOLD_RX 
PRISM2_PARAM_BUS_MASTER_THRESHOLD_TX 
PRISM2_PARAM_HOST_ROAMING 
PRISM2_PARAM_BCRX_STA_KEY 
PRISM2_PARAM_IEEE_802_1X 
PRISM2_PARAM_ANTSEL_TX 
PRISM2_PARAM_ANTSEL_RX 
PRISM2_PARAM_MONITOR_TYPE 
PRISM2_PARAM_WDS_TYPE 
PRISM2_PARAM_HOSTSCAN 
PRISM2_PARAM_AP_SCAN 
PRISM2_PARAM_ENH_SEC 
PRISM2_PARAM_IO_DEBUG 
PRISM2_PARAM_BASIC_RATES 
PRISM2_PARAM_OPER_RATES 
PRISM2_PARAM_HOSTAPD 
PRISM2_PARAM_TX_OK 
PRISM2_PARAM_TX_EX 

Definition at line 380 of file hostap_common.h.

anonymous enum
 

Enumeration values:
HOSTAP_ANTSEL_DO_NOT_TOUCH 
HOSTAP_ANTSEL_DIVERSITY 
HOSTAP_ANTSEL_LOW 
HOSTAP_ANTSEL_HIGH 

Definition at line 419 of file hostap_common.h.

anonymous enum
 

Enumeration values:
AP_MAC_CMD_POLICY_OPEN 
AP_MAC_CMD_POLICY_ALLOW 
AP_MAC_CMD_POLICY_DENY 
AP_MAC_CMD_FLUSH 
AP_MAC_CMD_KICKALL 

Definition at line 424 of file hostap_common.h.

anonymous enum
 

Enumeration values:
PRISM2_DOWNLOAD_VOLATILE 
PRISM2_DOWNLOAD_NON_VOLATILE 
PRISM2_DOWNLOAD_VOLATILE_GENESIS 
PRISM2_DOWNLOAD_VOLATILE_PERSISTENT 
PRISM2_DOWNLOAD_VOLATILE_GENESIS_PERSISTENT 

Definition at line 430 of file hostap_common.h.

anonymous enum
 

Enumeration values:
PRISM2_HOSTAPD_FLUSH 
PRISM2_HOSTAPD_ADD_STA 
PRISM2_HOSTAPD_REMOVE_STA 
PRISM2_HOSTAPD_GET_INFO_STA 
PRISM2_SET_ENCRYPTION 
PRISM2_GET_ENCRYPTION 
PRISM2_HOSTAPD_SET_FLAGS_STA 
PRISM2_HOSTAPD_GET_RID 
PRISM2_HOSTAPD_SET_RID 
PRISM2_HOSTAPD_SET_ASSOC_AP_ADDR 

Definition at line 461 of file hostap_common.h.


Variable Documentation

struct hfa384x_comms_quality packed
 


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