Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
dhd.h File Reference

Go to the source code of this file.

Data Structures

struct  brcmf_event_msg
 
struct  brcm_ethhdr
 
struct  brcmf_event
 
struct  brcmf_pkt_filter_pattern_le
 
struct  brcmf_pkt_filter_le
 
struct  brcmf_pkt_filter_enable_le
 
struct  brcmf_bss_info_le
 
struct  brcm_rateset_le
 
struct  brcmf_ssid
 
struct  brcmf_ssid_le
 
struct  brcmf_scan_params_le
 
struct  brcmf_iscan_params_le
 
struct  brcmf_scan_results
 
struct  brcmf_scan_results_le
 
struct  brcmf_escan_params_le
 
struct  brcmf_escan_result_le
 
struct  brcmf_assoc_params_le
 
struct  brcmf_join_params
 
struct  brcmf_iscan_results
 
struct  brcmf_wsec_key
 
struct  brcmf_wsec_key_le
 
struct  brcmf_scb_val_le
 
struct  brcmf_channel_info_le
 
struct  brcmf_sta_info_le
 
struct  brcmf_dcmd
 
struct  brcmf_pub
 
struct  brcmf_if_event
 
struct  bcmevent_name
 

Macros

#define BRCMF_VERSION_STR   "4.218.248.5"
 
#define BRCMF_C_UP   2
 
#define BRCMF_C_DOWN   3
 
#define BRCMF_C_SET_PROMISC   10
 
#define BRCMF_C_GET_RATE   12
 
#define BRCMF_C_GET_INFRA   19
 
#define BRCMF_C_SET_INFRA   20
 
#define BRCMF_C_GET_AUTH   21
 
#define BRCMF_C_SET_AUTH   22
 
#define BRCMF_C_GET_BSSID   23
 
#define BRCMF_C_GET_SSID   25
 
#define BRCMF_C_SET_SSID   26
 
#define BRCMF_C_GET_CHANNEL   29
 
#define BRCMF_C_GET_SRL   31
 
#define BRCMF_C_GET_LRL   33
 
#define BRCMF_C_GET_RADIO   37
 
#define BRCMF_C_SET_RADIO   38
 
#define BRCMF_C_GET_PHYTYPE   39
 
#define BRCMF_C_SET_KEY   45
 
#define BRCMF_C_SET_PASSIVE_SCAN   49
 
#define BRCMF_C_SCAN   50
 
#define BRCMF_C_SCAN_RESULTS   51
 
#define BRCMF_C_DISASSOC   52
 
#define BRCMF_C_REASSOC   53
 
#define BRCMF_C_SET_ROAM_TRIGGER   55
 
#define BRCMF_C_SET_ROAM_DELTA   57
 
#define BRCMF_C_GET_BCNPRD   75
 
#define BRCMF_C_SET_BCNPRD   76
 
#define BRCMF_C_GET_DTIMPRD   77
 
#define BRCMF_C_SET_DTIMPRD   78
 
#define BRCMF_C_SET_COUNTRY   84
 
#define BRCMF_C_GET_PM   85
 
#define BRCMF_C_SET_PM   86
 
#define BRCMF_C_GET_AP   117
 
#define BRCMF_C_SET_AP   118
 
#define BRCMF_C_GET_RSSI   127
 
#define BRCMF_C_GET_WSEC   133
 
#define BRCMF_C_SET_WSEC   134
 
#define BRCMF_C_GET_PHY_NOISE   135
 
#define BRCMF_C_GET_BSS_INFO   136
 
#define BRCMF_C_SET_SCAN_CHANNEL_TIME   185
 
#define BRCMF_C_SET_SCAN_UNASSOC_TIME   187
 
#define BRCMF_C_SCB_DEAUTHENTICATE_FOR_REASON   201
 
#define BRCMF_C_GET_VALID_CHANNELS   217
 
#define BRCMF_C_GET_KEY_PRIMARY   235
 
#define BRCMF_C_SET_KEY_PRIMARY   236
 
#define BRCMF_C_SET_SCAN_PASSIVE_TIME   258
 
#define BRCMF_C_GET_VAR   262
 
#define BRCMF_C_SET_VAR   263
 
#define WLC_PHY_TYPE_A   0
 
#define WLC_PHY_TYPE_B   1
 
#define WLC_PHY_TYPE_G   2
 
#define WLC_PHY_TYPE_N   4
 
#define WLC_PHY_TYPE_LP   5
 
#define WLC_PHY_TYPE_SSN   6
 
#define WLC_PHY_TYPE_HT   7
 
#define WLC_PHY_TYPE_LCN   8
 
#define WLC_PHY_TYPE_NULL   0xf
 
#define BRCMF_EVENTING_MASK_LEN   16
 
#define TOE_TX_CSUM_OL   0x00000001
 
#define TOE_RX_CSUM_OL   0x00000002
 
#define BRCMF_BSS_INFO_VERSION   109 /* curr ver of brcmf_bss_info_le struct */
 
#define BRCMF_SCAN_PARAMS_FIXED_SIZE   64
 
#define BRCMF_SCAN_PARAMS_COUNT_MASK   0x0000ffff
 
#define BRCMF_SCAN_PARAMS_NSSID_SHIFT   16
 
#define BRCMF_SCAN_ACTION_START   1
 
#define BRCMF_SCAN_ACTION_CONTINUE   2
 
#define WL_SCAN_ACTION_ABORT   3
 
#define BRCMF_ISCAN_REQ_VERSION   1
 
#define BRCMF_SCAN_RESULTS_SUCCESS   0
 
#define BRCMF_SCAN_RESULTS_PARTIAL   1
 
#define BRCMF_SCAN_RESULTS_PENDING   2
 
#define BRCMF_SCAN_RESULTS_ABORTED   3
 
#define BRCMF_SCAN_RESULTS_NO_MEM   4
 
#define WL_SOFT_KEY   (1 << 0)
 
#define BRCMF_PRIMARY_KEY   (1 << 1)
 
#define WL_KF_RES_4   (1 << 4)
 
#define WL_KF_RES_5   (1 << 5)
 
#define WL_IBSS_PEER_GROUP_KEY   (1 << 6)
 
#define BRCMF_MAX_IFS   16
 
#define DOT11_BSSTYPE_ANY   2
 
#define DOT11_MAX_DEFAULT_KEYS   4
 
#define BRCMF_EVENT_MSG_LINK   0x01
 
#define BRCMF_EVENT_MSG_FLUSHTXQ   0x02
 
#define BRCMF_EVENT_MSG_GROUP   0x04
 
#define BRCMF_ESCAN_REQ_VERSION   1
 
#define WLC_BSS_RSSI_ON_CHANNEL   0x0002
 
#define BRCMF_MAXRATES_IN_SET   16 /* max # of rates in rateset */
 
#define BRCMF_STA_ASSOC   0x10 /* Associated */
 
#define BRCMF_E_SET_SSID   0
 
#define BRCMF_E_JOIN   1
 
#define BRCMF_E_START   2
 
#define BRCMF_E_AUTH   3
 
#define BRCMF_E_AUTH_IND   4
 
#define BRCMF_E_DEAUTH   5
 
#define BRCMF_E_DEAUTH_IND   6
 
#define BRCMF_E_ASSOC   7
 
#define BRCMF_E_ASSOC_IND   8
 
#define BRCMF_E_REASSOC   9
 
#define BRCMF_E_REASSOC_IND   10
 
#define BRCMF_E_DISASSOC   11
 
#define BRCMF_E_DISASSOC_IND   12
 
#define BRCMF_E_QUIET_START   13
 
#define BRCMF_E_QUIET_END   14
 
#define BRCMF_E_BEACON_RX   15
 
#define BRCMF_E_LINK   16
 
#define BRCMF_E_MIC_ERROR   17
 
#define BRCMF_E_NDIS_LINK   18
 
#define BRCMF_E_ROAM   19
 
#define BRCMF_E_TXFAIL   20
 
#define BRCMF_E_PMKID_CACHE   21
 
#define BRCMF_E_RETROGRADE_TSF   22
 
#define BRCMF_E_PRUNE   23
 
#define BRCMF_E_AUTOAUTH   24
 
#define BRCMF_E_EAPOL_MSG   25
 
#define BRCMF_E_SCAN_COMPLETE   26
 
#define BRCMF_E_ADDTS_IND   27
 
#define BRCMF_E_DELTS_IND   28
 
#define BRCMF_E_BCNSENT_IND   29
 
#define BRCMF_E_BCNRX_MSG   30
 
#define BRCMF_E_BCNLOST_MSG   31
 
#define BRCMF_E_ROAM_PREP   32
 
#define BRCMF_E_PFN_NET_FOUND   33
 
#define BRCMF_E_PFN_NET_LOST   34
 
#define BRCMF_E_RESET_COMPLETE   35
 
#define BRCMF_E_JOIN_START   36
 
#define BRCMF_E_ROAM_START   37
 
#define BRCMF_E_ASSOC_START   38
 
#define BRCMF_E_IBSS_ASSOC   39
 
#define BRCMF_E_RADIO   40
 
#define BRCMF_E_PSM_WATCHDOG   41
 
#define BRCMF_E_PROBREQ_MSG   44
 
#define BRCMF_E_SCAN_CONFIRM_IND   45
 
#define BRCMF_E_PSK_SUP   46
 
#define BRCMF_E_COUNTRY_CODE_CHANGED   47
 
#define BRCMF_E_EXCEEDED_MEDIUM_TIME   48
 
#define BRCMF_E_ICV_ERROR   49
 
#define BRCMF_E_UNICAST_DECODE_ERROR   50
 
#define BRCMF_E_MULTICAST_DECODE_ERROR   51
 
#define BRCMF_E_TRACE   52
 
#define BRCMF_E_IF   54
 
#define BRCMF_E_RSSI   56
 
#define BRCMF_E_PFN_SCAN_COMPLETE   57
 
#define BRCMF_E_EXTLOG_MSG   58
 
#define BRCMF_E_ACTION_FRAME   59
 
#define BRCMF_E_ACTION_FRAME_COMPLETE   60
 
#define BRCMF_E_PRE_ASSOC_IND   61
 
#define BRCMF_E_PRE_REASSOC_IND   62
 
#define BRCMF_E_CHANNEL_ADOPTED   63
 
#define BRCMF_E_AP_STARTED   64
 
#define BRCMF_E_DFS_AP_STOP   65
 
#define BRCMF_E_DFS_AP_RESUME   66
 
#define BRCMF_E_RESERVED1   67
 
#define BRCMF_E_RESERVED2   68
 
#define BRCMF_E_ESCAN_RESULT   69
 
#define BRCMF_E_ACTION_FRAME_OFF_CHAN_COMPLETE   70
 
#define BRCMF_E_DCS_REQUEST   73
 
#define BRCMF_E_FIFO_CREDIT_MAP   74
 
#define BRCMF_E_LAST   75
 
#define BRCMF_E_STATUS_SUCCESS   0
 
#define BRCMF_E_STATUS_FAIL   1
 
#define BRCMF_E_STATUS_TIMEOUT   2
 
#define BRCMF_E_STATUS_NO_NETWORKS   3
 
#define BRCMF_E_STATUS_ABORT   4
 
#define BRCMF_E_STATUS_NO_ACK   5
 
#define BRCMF_E_STATUS_UNSOLICITED   6
 
#define BRCMF_E_STATUS_ATTEMPT   7
 
#define BRCMF_E_STATUS_PARTIAL   8
 
#define BRCMF_E_STATUS_NEWSCAN   9
 
#define BRCMF_E_STATUS_NEWASSOC   10
 
#define BRCMF_E_STATUS_11HQUIET   11
 
#define BRCMF_E_STATUS_SUPPRESS   12
 
#define BRCMF_E_STATUS_NOCHANS   13
 
#define BRCMF_E_STATUS_CS_ABORT   15
 
#define BRCMF_E_STATUS_ERROR   16
 
#define BRCMF_E_REASON_INITIAL_ASSOC   0
 
#define BRCMF_E_REASON_LOW_RSSI   1
 
#define BRCMF_E_REASON_DEAUTH   2
 
#define BRCMF_E_REASON_DISASSOC   3
 
#define BRCMF_E_REASON_BCNS_LOST   4
 
#define BRCMF_E_REASON_MINTXRATE   9
 
#define BRCMF_E_REASON_TXFAIL   10
 
#define BRCMF_E_REASON_FAST_ROAM_FAILED   5
 
#define BRCMF_E_REASON_DIRECTED_ROAM   6
 
#define BRCMF_E_REASON_TSPEC_REJECTED   7
 
#define BRCMF_E_REASON_BETTER_AP   8
 
#define BRCMF_E_PRUNE_ENCR_MISMATCH   1
 
#define BRCMF_E_PRUNE_BCAST_BSSID   2
 
#define BRCMF_E_PRUNE_MAC_DENY   3
 
#define BRCMF_E_PRUNE_MAC_NA   4
 
#define BRCMF_E_PRUNE_REG_PASSV   5
 
#define BRCMF_E_PRUNE_SPCT_MGMT   6
 
#define BRCMF_E_PRUNE_RADAR   7
 
#define BRCMF_E_RSN_MISMATCH   8
 
#define BRCMF_E_PRUNE_NO_COMMON_RATES   9
 
#define BRCMF_E_PRUNE_BASIC_RATES   10
 
#define BRCMF_E_PRUNE_CIPHER_NA   12
 
#define BRCMF_E_PRUNE_KNOWN_STA   13
 
#define BRCMF_E_PRUNE_WDS_PEER   15
 
#define BRCMF_E_PRUNE_QBSS_LOAD   16
 
#define BRCMF_E_PRUNE_HOME_AP   17
 
#define BRCMF_E_SUP_OTHER   0
 
#define BRCMF_E_SUP_DECRYPT_KEY_DATA   1
 
#define BRCMF_E_SUP_BAD_UCAST_WEP128   2
 
#define BRCMF_E_SUP_BAD_UCAST_WEP40   3
 
#define BRCMF_E_SUP_UNSUP_KEY_LEN   4
 
#define BRCMF_E_SUP_PW_KEY_CIPHER   5
 
#define BRCMF_E_SUP_MSG3_TOO_MANY_IE   6
 
#define BRCMF_E_SUP_MSG3_IE_MISMATCH   7
 
#define BRCMF_E_SUP_NO_INSTALL_FLAG   8
 
#define BRCMF_E_SUP_MSG3_NO_GTK   9
 
#define BRCMF_E_SUP_GRP_KEY_CIPHER   10
 
#define BRCMF_E_SUP_GRP_MSG1_NO_GTK   11
 
#define BRCMF_E_SUP_GTK_DECRYPT_FAIL   12
 
#define BRCMF_E_SUP_SEND_FAIL   13
 
#define BRCMF_E_SUP_DEAUTH   14
 
#define BRCMF_E_IF_ADD   1
 
#define BRCMF_E_IF_DEL   2
 
#define BRCMF_E_IF_CHANGE   3
 
#define BRCMF_E_IF_ROLE_STA   0
 
#define BRCMF_E_IF_ROLE_AP   1
 
#define BRCMF_E_IF_ROLE_WDS   2
 
#define BRCMF_E_LINK_BCN_LOSS   1
 
#define BRCMF_E_LINK_DISASSOC   2
 
#define BRCMF_E_LINK_ASSOC_REC   3
 
#define BRCMF_E_LINK_BSSCFG_DIS   4
 
#define WL_ESCAN_RESULTS_FIXED_SIZE
 
#define BRCMF_ISCAN_RESULTS_FIXED_SIZE
 
#define BRCMF_DCMD_SMLEN   256 /* "small" cmd buffer required */
 
#define BRCMF_DCMD_MEDLEN   1536 /* "med" cmd buffer required */
 
#define BRCMF_DCMD_MAXLEN   8192 /* max length cmd buffer required */
 

Functions

uint brcmf_c_mkiovar (char *name, char *data, uint datalen, char *buf, uint len)
 
uint brcmf_c_mkiovar_bsscfg (char *name, char *data, uint datalen, char *buf, uint buflen, s32 bssidx)
 
int brcmf_netdev_wait_pend8021x (struct net_device *ndev)
 
s32 brcmf_exec_dcmd (struct net_device *dev, u32 cmd, void *arg, u32 len)
 
int brcmf_netlink_dcmd (struct net_device *ndev, struct brcmf_dcmd *dcmd)
 
charbrcmf_ifname (struct brcmf_pub *drvr, int idx)
 
int brcmf_proto_cdc_query_dcmd (struct brcmf_pub *drvr, int ifidx, uint cmd, void *buf, uint len)
 
int brcmf_ifname2idx (struct brcmf_pub *drvr, char *name)
 
int brcmf_c_host_event (struct brcmf_pub *drvr, int *idx, void *pktdata, struct brcmf_event_msg *, void **data_ptr)
 
void brcmf_del_if (struct brcmf_pub *drvr, int ifidx)
 
void brcmf_c_pktfilter_offload_set (struct brcmf_pub *drvr, char *arg)
 
void brcmf_c_pktfilter_offload_enable (struct brcmf_pub *drvr, char *arg, int enable, int master_mode)
 

Variables

struct brcmf_event_msg __packed
 
struct bcmevent_name bcmevent_names []
 

Macro Definition Documentation

#define BRCMF_BSS_INFO_VERSION   109 /* curr ver of brcmf_bss_info_le struct */

Definition at line 94 of file dhd.h.

#define BRCMF_C_DISASSOC   52

Definition at line 50 of file dhd.h.

#define BRCMF_C_DOWN   3

Definition at line 30 of file dhd.h.

#define BRCMF_C_GET_AP   117

Definition at line 61 of file dhd.h.

#define BRCMF_C_GET_AUTH   21

Definition at line 35 of file dhd.h.

#define BRCMF_C_GET_BCNPRD   75

Definition at line 54 of file dhd.h.

#define BRCMF_C_GET_BSS_INFO   136

Definition at line 67 of file dhd.h.

#define BRCMF_C_GET_BSSID   23

Definition at line 37 of file dhd.h.

#define BRCMF_C_GET_CHANNEL   29

Definition at line 40 of file dhd.h.

#define BRCMF_C_GET_DTIMPRD   77

Definition at line 56 of file dhd.h.

#define BRCMF_C_GET_INFRA   19

Definition at line 33 of file dhd.h.

#define BRCMF_C_GET_KEY_PRIMARY   235

Definition at line 72 of file dhd.h.

#define BRCMF_C_GET_LRL   33

Definition at line 42 of file dhd.h.

#define BRCMF_C_GET_PHY_NOISE   135

Definition at line 66 of file dhd.h.

#define BRCMF_C_GET_PHYTYPE   39

Definition at line 45 of file dhd.h.

#define BRCMF_C_GET_PM   85

Definition at line 59 of file dhd.h.

#define BRCMF_C_GET_RADIO   37

Definition at line 43 of file dhd.h.

#define BRCMF_C_GET_RATE   12

Definition at line 32 of file dhd.h.

#define BRCMF_C_GET_RSSI   127

Definition at line 63 of file dhd.h.

#define BRCMF_C_GET_SRL   31

Definition at line 41 of file dhd.h.

#define BRCMF_C_GET_SSID   25

Definition at line 38 of file dhd.h.

#define BRCMF_C_GET_VALID_CHANNELS   217

Definition at line 71 of file dhd.h.

#define BRCMF_C_GET_VAR   262

Definition at line 75 of file dhd.h.

#define BRCMF_C_GET_WSEC   133

Definition at line 64 of file dhd.h.

#define BRCMF_C_REASSOC   53

Definition at line 51 of file dhd.h.

#define BRCMF_C_SCAN   50

Definition at line 48 of file dhd.h.

#define BRCMF_C_SCAN_RESULTS   51

Definition at line 49 of file dhd.h.

#define BRCMF_C_SCB_DEAUTHENTICATE_FOR_REASON   201

Definition at line 70 of file dhd.h.

#define BRCMF_C_SET_AP   118

Definition at line 62 of file dhd.h.

#define BRCMF_C_SET_AUTH   22

Definition at line 36 of file dhd.h.

#define BRCMF_C_SET_BCNPRD   76

Definition at line 55 of file dhd.h.

#define BRCMF_C_SET_COUNTRY   84

Definition at line 58 of file dhd.h.

#define BRCMF_C_SET_DTIMPRD   78

Definition at line 57 of file dhd.h.

#define BRCMF_C_SET_INFRA   20

Definition at line 34 of file dhd.h.

#define BRCMF_C_SET_KEY   45

Definition at line 46 of file dhd.h.

#define BRCMF_C_SET_KEY_PRIMARY   236

Definition at line 73 of file dhd.h.

#define BRCMF_C_SET_PASSIVE_SCAN   49

Definition at line 47 of file dhd.h.

#define BRCMF_C_SET_PM   86

Definition at line 60 of file dhd.h.

#define BRCMF_C_SET_PROMISC   10

Definition at line 31 of file dhd.h.

#define BRCMF_C_SET_RADIO   38

Definition at line 44 of file dhd.h.

#define BRCMF_C_SET_ROAM_DELTA   57

Definition at line 53 of file dhd.h.

#define BRCMF_C_SET_ROAM_TRIGGER   55

Definition at line 52 of file dhd.h.

#define BRCMF_C_SET_SCAN_CHANNEL_TIME   185

Definition at line 68 of file dhd.h.

#define BRCMF_C_SET_SCAN_PASSIVE_TIME   258

Definition at line 74 of file dhd.h.

#define BRCMF_C_SET_SCAN_UNASSOC_TIME   187

Definition at line 69 of file dhd.h.

#define BRCMF_C_SET_SSID   26

Definition at line 39 of file dhd.h.

#define BRCMF_C_SET_VAR   263

Definition at line 76 of file dhd.h.

#define BRCMF_C_SET_WSEC   134

Definition at line 65 of file dhd.h.

#define BRCMF_C_UP   2

Definition at line 29 of file dhd.h.

#define BRCMF_DCMD_MAXLEN   8192 /* max length cmd buffer required */

Definition at line 722 of file dhd.h.

#define BRCMF_DCMD_MEDLEN   1536 /* "med" cmd buffer required */

Definition at line 721 of file dhd.h.

#define BRCMF_DCMD_SMLEN   256 /* "small" cmd buffer required */

Definition at line 720 of file dhd.h.

#define BRCMF_E_ACTION_FRAME   59

Definition at line 228 of file dhd.h.

#define BRCMF_E_ACTION_FRAME_COMPLETE   60

Definition at line 229 of file dhd.h.

#define BRCMF_E_ACTION_FRAME_OFF_CHAN_COMPLETE   70

Definition at line 239 of file dhd.h.

#define BRCMF_E_ADDTS_IND   27

Definition at line 200 of file dhd.h.

#define BRCMF_E_AP_STARTED   64

Definition at line 233 of file dhd.h.

#define BRCMF_E_ASSOC   7

Definition at line 180 of file dhd.h.

#define BRCMF_E_ASSOC_IND   8

Definition at line 181 of file dhd.h.

#define BRCMF_E_ASSOC_START   38

Definition at line 211 of file dhd.h.

#define BRCMF_E_AUTH   3

Definition at line 176 of file dhd.h.

#define BRCMF_E_AUTH_IND   4

Definition at line 177 of file dhd.h.

#define BRCMF_E_AUTOAUTH   24

Definition at line 197 of file dhd.h.

#define BRCMF_E_BCNLOST_MSG   31

Definition at line 204 of file dhd.h.

#define BRCMF_E_BCNRX_MSG   30

Definition at line 203 of file dhd.h.

#define BRCMF_E_BCNSENT_IND   29

Definition at line 202 of file dhd.h.

#define BRCMF_E_BEACON_RX   15

Definition at line 188 of file dhd.h.

#define BRCMF_E_CHANNEL_ADOPTED   63

Definition at line 232 of file dhd.h.

#define BRCMF_E_COUNTRY_CODE_CHANGED   47

Definition at line 218 of file dhd.h.

#define BRCMF_E_DCS_REQUEST   73

Definition at line 240 of file dhd.h.

#define BRCMF_E_DEAUTH   5

Definition at line 178 of file dhd.h.

#define BRCMF_E_DEAUTH_IND   6

Definition at line 179 of file dhd.h.

#define BRCMF_E_DELTS_IND   28

Definition at line 201 of file dhd.h.

#define BRCMF_E_DFS_AP_RESUME   66

Definition at line 235 of file dhd.h.

#define BRCMF_E_DFS_AP_STOP   65

Definition at line 234 of file dhd.h.

#define BRCMF_E_DISASSOC   11

Definition at line 184 of file dhd.h.

#define BRCMF_E_DISASSOC_IND   12

Definition at line 185 of file dhd.h.

#define BRCMF_E_EAPOL_MSG   25

Definition at line 198 of file dhd.h.

#define BRCMF_E_ESCAN_RESULT   69

Definition at line 238 of file dhd.h.

#define BRCMF_E_EXCEEDED_MEDIUM_TIME   48

Definition at line 219 of file dhd.h.

#define BRCMF_E_EXTLOG_MSG   58

Definition at line 227 of file dhd.h.

#define BRCMF_E_FIFO_CREDIT_MAP   74

Definition at line 242 of file dhd.h.

#define BRCMF_E_IBSS_ASSOC   39

Definition at line 212 of file dhd.h.

#define BRCMF_E_ICV_ERROR   49

Definition at line 220 of file dhd.h.

#define BRCMF_E_IF   54

Definition at line 224 of file dhd.h.

#define BRCMF_E_IF_ADD   1

Definition at line 308 of file dhd.h.

#define BRCMF_E_IF_CHANGE   3

Definition at line 310 of file dhd.h.

#define BRCMF_E_IF_DEL   2

Definition at line 309 of file dhd.h.

#define BRCMF_E_IF_ROLE_AP   1

Definition at line 313 of file dhd.h.

#define BRCMF_E_IF_ROLE_STA   0

Definition at line 312 of file dhd.h.

#define BRCMF_E_IF_ROLE_WDS   2

Definition at line 314 of file dhd.h.

#define BRCMF_E_JOIN   1

Definition at line 174 of file dhd.h.

#define BRCMF_E_JOIN_START   36

Definition at line 209 of file dhd.h.

#define BRCMF_E_LAST   75

Definition at line 244 of file dhd.h.

#define BRCMF_E_LINK   16

Definition at line 189 of file dhd.h.

#define BRCMF_E_LINK_ASSOC_REC   3

Definition at line 318 of file dhd.h.

#define BRCMF_E_LINK_BCN_LOSS   1

Definition at line 316 of file dhd.h.

#define BRCMF_E_LINK_BSSCFG_DIS   4

Definition at line 319 of file dhd.h.

#define BRCMF_E_LINK_DISASSOC   2

Definition at line 317 of file dhd.h.

#define BRCMF_E_MIC_ERROR   17

Definition at line 190 of file dhd.h.

#define BRCMF_E_MULTICAST_DECODE_ERROR   51

Definition at line 222 of file dhd.h.

#define BRCMF_E_NDIS_LINK   18

Definition at line 191 of file dhd.h.

#define BRCMF_E_PFN_NET_FOUND   33

Definition at line 206 of file dhd.h.

#define BRCMF_E_PFN_NET_LOST   34

Definition at line 207 of file dhd.h.

#define BRCMF_E_PFN_SCAN_COMPLETE   57

Definition at line 226 of file dhd.h.

#define BRCMF_E_PMKID_CACHE   21

Definition at line 194 of file dhd.h.

#define BRCMF_E_PRE_ASSOC_IND   61

Definition at line 230 of file dhd.h.

#define BRCMF_E_PRE_REASSOC_IND   62

Definition at line 231 of file dhd.h.

#define BRCMF_E_PROBREQ_MSG   44

Definition at line 215 of file dhd.h.

#define BRCMF_E_PRUNE   23

Definition at line 196 of file dhd.h.

#define BRCMF_E_PRUNE_BASIC_RATES   10

Definition at line 285 of file dhd.h.

#define BRCMF_E_PRUNE_BCAST_BSSID   2

Definition at line 277 of file dhd.h.

#define BRCMF_E_PRUNE_CIPHER_NA   12

Definition at line 286 of file dhd.h.

#define BRCMF_E_PRUNE_ENCR_MISMATCH   1

Definition at line 276 of file dhd.h.

#define BRCMF_E_PRUNE_HOME_AP   17

Definition at line 290 of file dhd.h.

#define BRCMF_E_PRUNE_KNOWN_STA   13

Definition at line 287 of file dhd.h.

#define BRCMF_E_PRUNE_MAC_DENY   3

Definition at line 278 of file dhd.h.

#define BRCMF_E_PRUNE_MAC_NA   4

Definition at line 279 of file dhd.h.

#define BRCMF_E_PRUNE_NO_COMMON_RATES   9

Definition at line 284 of file dhd.h.

#define BRCMF_E_PRUNE_QBSS_LOAD   16

Definition at line 289 of file dhd.h.

#define BRCMF_E_PRUNE_RADAR   7

Definition at line 282 of file dhd.h.

#define BRCMF_E_PRUNE_REG_PASSV   5

Definition at line 280 of file dhd.h.

#define BRCMF_E_PRUNE_SPCT_MGMT   6

Definition at line 281 of file dhd.h.

#define BRCMF_E_PRUNE_WDS_PEER   15

Definition at line 288 of file dhd.h.

#define BRCMF_E_PSK_SUP   46

Definition at line 217 of file dhd.h.

#define BRCMF_E_PSM_WATCHDOG   41

Definition at line 214 of file dhd.h.

#define BRCMF_E_QUIET_END   14

Definition at line 187 of file dhd.h.

#define BRCMF_E_QUIET_START   13

Definition at line 186 of file dhd.h.

#define BRCMF_E_RADIO   40

Definition at line 213 of file dhd.h.

#define BRCMF_E_REASON_BCNS_LOST   4

Definition at line 267 of file dhd.h.

#define BRCMF_E_REASON_BETTER_AP   8

Definition at line 274 of file dhd.h.

#define BRCMF_E_REASON_DEAUTH   2

Definition at line 265 of file dhd.h.

#define BRCMF_E_REASON_DIRECTED_ROAM   6

Definition at line 272 of file dhd.h.

#define BRCMF_E_REASON_DISASSOC   3

Definition at line 266 of file dhd.h.

#define BRCMF_E_REASON_FAST_ROAM_FAILED   5

Definition at line 271 of file dhd.h.

#define BRCMF_E_REASON_INITIAL_ASSOC   0

Definition at line 263 of file dhd.h.

#define BRCMF_E_REASON_LOW_RSSI   1

Definition at line 264 of file dhd.h.

#define BRCMF_E_REASON_MINTXRATE   9

Definition at line 268 of file dhd.h.

#define BRCMF_E_REASON_TSPEC_REJECTED   7

Definition at line 273 of file dhd.h.

#define BRCMF_E_REASON_TXFAIL   10

Definition at line 269 of file dhd.h.

#define BRCMF_E_REASSOC   9

Definition at line 182 of file dhd.h.

#define BRCMF_E_REASSOC_IND   10

Definition at line 183 of file dhd.h.

#define BRCMF_E_RESERVED1   67

Definition at line 236 of file dhd.h.

#define BRCMF_E_RESERVED2   68

Definition at line 237 of file dhd.h.

#define BRCMF_E_RESET_COMPLETE   35

Definition at line 208 of file dhd.h.

#define BRCMF_E_RETROGRADE_TSF   22

Definition at line 195 of file dhd.h.

#define BRCMF_E_ROAM   19

Definition at line 192 of file dhd.h.

#define BRCMF_E_ROAM_PREP   32

Definition at line 205 of file dhd.h.

#define BRCMF_E_ROAM_START   37

Definition at line 210 of file dhd.h.

#define BRCMF_E_RSN_MISMATCH   8

Definition at line 283 of file dhd.h.

#define BRCMF_E_RSSI   56

Definition at line 225 of file dhd.h.

#define BRCMF_E_SCAN_COMPLETE   26

Definition at line 199 of file dhd.h.

#define BRCMF_E_SCAN_CONFIRM_IND   45

Definition at line 216 of file dhd.h.

#define BRCMF_E_SET_SSID   0

Definition at line 173 of file dhd.h.

#define BRCMF_E_START   2

Definition at line 175 of file dhd.h.

#define BRCMF_E_STATUS_11HQUIET   11

Definition at line 257 of file dhd.h.

#define BRCMF_E_STATUS_ABORT   4

Definition at line 250 of file dhd.h.

#define BRCMF_E_STATUS_ATTEMPT   7

Definition at line 253 of file dhd.h.

#define BRCMF_E_STATUS_CS_ABORT   15

Definition at line 260 of file dhd.h.

#define BRCMF_E_STATUS_ERROR   16

Definition at line 261 of file dhd.h.

#define BRCMF_E_STATUS_FAIL   1

Definition at line 247 of file dhd.h.

#define BRCMF_E_STATUS_NEWASSOC   10

Definition at line 256 of file dhd.h.

#define BRCMF_E_STATUS_NEWSCAN   9

Definition at line 255 of file dhd.h.

#define BRCMF_E_STATUS_NO_ACK   5

Definition at line 251 of file dhd.h.

#define BRCMF_E_STATUS_NO_NETWORKS   3

Definition at line 249 of file dhd.h.

#define BRCMF_E_STATUS_NOCHANS   13

Definition at line 259 of file dhd.h.

#define BRCMF_E_STATUS_PARTIAL   8

Definition at line 254 of file dhd.h.

#define BRCMF_E_STATUS_SUCCESS   0

Definition at line 246 of file dhd.h.

#define BRCMF_E_STATUS_SUPPRESS   12

Definition at line 258 of file dhd.h.

#define BRCMF_E_STATUS_TIMEOUT   2

Definition at line 248 of file dhd.h.

#define BRCMF_E_STATUS_UNSOLICITED   6

Definition at line 252 of file dhd.h.

#define BRCMF_E_SUP_BAD_UCAST_WEP128   2

Definition at line 294 of file dhd.h.

#define BRCMF_E_SUP_BAD_UCAST_WEP40   3

Definition at line 295 of file dhd.h.

#define BRCMF_E_SUP_DEAUTH   14

Definition at line 306 of file dhd.h.

#define BRCMF_E_SUP_DECRYPT_KEY_DATA   1

Definition at line 293 of file dhd.h.

#define BRCMF_E_SUP_GRP_KEY_CIPHER   10

Definition at line 302 of file dhd.h.

#define BRCMF_E_SUP_GRP_MSG1_NO_GTK   11

Definition at line 303 of file dhd.h.

#define BRCMF_E_SUP_GTK_DECRYPT_FAIL   12

Definition at line 304 of file dhd.h.

#define BRCMF_E_SUP_MSG3_IE_MISMATCH   7

Definition at line 299 of file dhd.h.

#define BRCMF_E_SUP_MSG3_NO_GTK   9

Definition at line 301 of file dhd.h.

#define BRCMF_E_SUP_MSG3_TOO_MANY_IE   6

Definition at line 298 of file dhd.h.

#define BRCMF_E_SUP_NO_INSTALL_FLAG   8

Definition at line 300 of file dhd.h.

#define BRCMF_E_SUP_OTHER   0

Definition at line 292 of file dhd.h.

#define BRCMF_E_SUP_PW_KEY_CIPHER   5

Definition at line 297 of file dhd.h.

#define BRCMF_E_SUP_SEND_FAIL   13

Definition at line 305 of file dhd.h.

#define BRCMF_E_SUP_UNSUP_KEY_LEN   4

Definition at line 296 of file dhd.h.

#define BRCMF_E_TRACE   52

Definition at line 223 of file dhd.h.

#define BRCMF_E_TXFAIL   20

Definition at line 193 of file dhd.h.

#define BRCMF_E_UNICAST_DECODE_ERROR   50

Definition at line 221 of file dhd.h.

#define BRCMF_ESCAN_REQ_VERSION   1

Definition at line 137 of file dhd.h.

#define BRCMF_EVENT_MSG_FLUSHTXQ   0x02

Definition at line 134 of file dhd.h.

#define BRCMF_EVENT_MSG_GROUP   0x04

Definition at line 135 of file dhd.h.

#define BRCMF_EVENT_MSG_LINK   0x01

Definition at line 133 of file dhd.h.

#define BRCMF_EVENTING_MASK_LEN   16

Definition at line 89 of file dhd.h.

#define BRCMF_ISCAN_REQ_VERSION   1

Definition at line 107 of file dhd.h.

#define BRCMF_ISCAN_RESULTS_FIXED_SIZE
Value:
(sizeof(struct brcmf_scan_results) + \

Definition at line 518 of file dhd.h.

#define BRCMF_MAX_IFS   16

Definition at line 128 of file dhd.h.

#define BRCMF_MAXRATES_IN_SET   16 /* max # of rates in rateset */

Definition at line 141 of file dhd.h.

#define BRCMF_PRIMARY_KEY   (1 << 1)

Definition at line 119 of file dhd.h.

#define BRCMF_SCAN_ACTION_CONTINUE   2

Definition at line 104 of file dhd.h.

#define BRCMF_SCAN_ACTION_START   1

Definition at line 103 of file dhd.h.

#define BRCMF_SCAN_PARAMS_COUNT_MASK   0x0000ffff

Definition at line 100 of file dhd.h.

#define BRCMF_SCAN_PARAMS_FIXED_SIZE   64

Definition at line 97 of file dhd.h.

#define BRCMF_SCAN_PARAMS_NSSID_SHIFT   16

Definition at line 101 of file dhd.h.

#define BRCMF_SCAN_RESULTS_ABORTED   3

Definition at line 113 of file dhd.h.

#define BRCMF_SCAN_RESULTS_NO_MEM   4

Definition at line 114 of file dhd.h.

#define BRCMF_SCAN_RESULTS_PARTIAL   1

Definition at line 111 of file dhd.h.

#define BRCMF_SCAN_RESULTS_PENDING   2

Definition at line 112 of file dhd.h.

#define BRCMF_SCAN_RESULTS_SUCCESS   0

Definition at line 110 of file dhd.h.

#define BRCMF_STA_ASSOC   0x10 /* Associated */

Definition at line 142 of file dhd.h.

#define BRCMF_VERSION_STR   "4.218.248.5"

Definition at line 24 of file dhd.h.

#define DOT11_BSSTYPE_ANY   2

Definition at line 130 of file dhd.h.

#define DOT11_MAX_DEFAULT_KEYS   4

Definition at line 131 of file dhd.h.

#define TOE_RX_CSUM_OL   0x00000002

Definition at line 92 of file dhd.h.

#define TOE_TX_CSUM_OL   0x00000001

Definition at line 91 of file dhd.h.

#define WL_ESCAN_RESULTS_FIXED_SIZE
Value:

Definition at line 485 of file dhd.h.

#define WL_IBSS_PEER_GROUP_KEY   (1 << 6)

Definition at line 125 of file dhd.h.

#define WL_KF_RES_4   (1 << 4)

Definition at line 121 of file dhd.h.

#define WL_KF_RES_5   (1 << 5)

Definition at line 123 of file dhd.h.

#define WL_SCAN_ACTION_ABORT   3

Definition at line 105 of file dhd.h.

#define WL_SOFT_KEY   (1 << 0)

Definition at line 117 of file dhd.h.

#define WLC_BSS_RSSI_ON_CHANNEL   0x0002

Definition at line 139 of file dhd.h.

#define WLC_PHY_TYPE_A   0

Definition at line 79 of file dhd.h.

#define WLC_PHY_TYPE_B   1

Definition at line 80 of file dhd.h.

#define WLC_PHY_TYPE_G   2

Definition at line 81 of file dhd.h.

#define WLC_PHY_TYPE_HT   7

Definition at line 85 of file dhd.h.

#define WLC_PHY_TYPE_LCN   8

Definition at line 86 of file dhd.h.

#define WLC_PHY_TYPE_LP   5

Definition at line 83 of file dhd.h.

#define WLC_PHY_TYPE_N   4

Definition at line 82 of file dhd.h.

#define WLC_PHY_TYPE_NULL   0xf

Definition at line 87 of file dhd.h.

#define WLC_PHY_TYPE_SSN   6

Definition at line 84 of file dhd.h.

Function Documentation

int brcmf_c_host_event ( struct brcmf_pub drvr,
int idx,
void pktdata,
struct brcmf_event_msg ,
void **  data_ptr 
)

Definition at line 487 of file dhd_common.c.

uint brcmf_c_mkiovar ( char name,
char data,
uint  datalen,
char buf,
uint  len 
)

Definition at line 71 of file dhd_common.c.

uint brcmf_c_mkiovar_bsscfg ( char name,
char data,
uint  datalen,
char buf,
uint  buflen,
s32  bssidx 
)

Definition at line 92 of file dhd_common.c.

void brcmf_c_pktfilter_offload_enable ( struct brcmf_pub drvr,
char arg,
int  enable,
int  master_mode 
)

Definition at line 607 of file dhd_common.c.

void brcmf_c_pktfilter_offload_set ( struct brcmf_pub drvr,
char arg 
)

Definition at line 681 of file dhd_common.c.

void brcmf_del_if ( struct brcmf_pub drvr,
int  ifidx 
)

Definition at line 963 of file dhd_linux.c.

s32 brcmf_exec_dcmd ( struct net_device dev,
u32  cmd,
void arg,
u32  len 
)

Definition at line 723 of file dhd_linux.c.

char* brcmf_ifname ( struct brcmf_pub drvr,
int  idx 
)

Definition at line 88 of file dhd_linux.c.

int brcmf_ifname2idx ( struct brcmf_pub drvr,
char name 
)

Definition at line 69 of file dhd_linux.c.

int brcmf_netdev_wait_pend8021x ( struct net_device ndev)

Definition at line 1146 of file dhd_linux.c.

int brcmf_netlink_dcmd ( struct net_device ndev,
struct brcmf_dcmd dcmd 
)

Definition at line 773 of file dhd_linux.c.

int brcmf_proto_cdc_query_dcmd ( struct brcmf_pub drvr,
int  ifidx,
uint  cmd,
void buf,
uint  len 
)

Definition at line 139 of file dhd_cdc.c.

Variable Documentation

struct bcmevent_name bcmevent_names[]