Go to the documentation of this file.
24 #define BRCMF_VERSION_STR "4.218.248.5"
30 #define BRCMF_C_DOWN 3
31 #define BRCMF_C_SET_PROMISC 10
32 #define BRCMF_C_GET_RATE 12
33 #define BRCMF_C_GET_INFRA 19
34 #define BRCMF_C_SET_INFRA 20
35 #define BRCMF_C_GET_AUTH 21
36 #define BRCMF_C_SET_AUTH 22
37 #define BRCMF_C_GET_BSSID 23
38 #define BRCMF_C_GET_SSID 25
39 #define BRCMF_C_SET_SSID 26
40 #define BRCMF_C_GET_CHANNEL 29
41 #define BRCMF_C_GET_SRL 31
42 #define BRCMF_C_GET_LRL 33
43 #define BRCMF_C_GET_RADIO 37
44 #define BRCMF_C_SET_RADIO 38
45 #define BRCMF_C_GET_PHYTYPE 39
46 #define BRCMF_C_SET_KEY 45
47 #define BRCMF_C_SET_PASSIVE_SCAN 49
48 #define BRCMF_C_SCAN 50
49 #define BRCMF_C_SCAN_RESULTS 51
50 #define BRCMF_C_DISASSOC 52
51 #define BRCMF_C_REASSOC 53
52 #define BRCMF_C_SET_ROAM_TRIGGER 55
53 #define BRCMF_C_SET_ROAM_DELTA 57
54 #define BRCMF_C_GET_BCNPRD 75
55 #define BRCMF_C_SET_BCNPRD 76
56 #define BRCMF_C_GET_DTIMPRD 77
57 #define BRCMF_C_SET_DTIMPRD 78
58 #define BRCMF_C_SET_COUNTRY 84
59 #define BRCMF_C_GET_PM 85
60 #define BRCMF_C_SET_PM 86
61 #define BRCMF_C_GET_AP 117
62 #define BRCMF_C_SET_AP 118
63 #define BRCMF_C_GET_RSSI 127
64 #define BRCMF_C_GET_WSEC 133
65 #define BRCMF_C_SET_WSEC 134
66 #define BRCMF_C_GET_PHY_NOISE 135
67 #define BRCMF_C_GET_BSS_INFO 136
68 #define BRCMF_C_SET_SCAN_CHANNEL_TIME 185
69 #define BRCMF_C_SET_SCAN_UNASSOC_TIME 187
70 #define BRCMF_C_SCB_DEAUTHENTICATE_FOR_REASON 201
71 #define BRCMF_C_GET_VALID_CHANNELS 217
72 #define BRCMF_C_GET_KEY_PRIMARY 235
73 #define BRCMF_C_SET_KEY_PRIMARY 236
74 #define BRCMF_C_SET_SCAN_PASSIVE_TIME 258
75 #define BRCMF_C_GET_VAR 262
76 #define BRCMF_C_SET_VAR 263
79 #define WLC_PHY_TYPE_A 0
80 #define WLC_PHY_TYPE_B 1
81 #define WLC_PHY_TYPE_G 2
82 #define WLC_PHY_TYPE_N 4
83 #define WLC_PHY_TYPE_LP 5
84 #define WLC_PHY_TYPE_SSN 6
85 #define WLC_PHY_TYPE_HT 7
86 #define WLC_PHY_TYPE_LCN 8
87 #define WLC_PHY_TYPE_NULL 0xf
89 #define BRCMF_EVENTING_MASK_LEN 16
91 #define TOE_TX_CSUM_OL 0x00000001
92 #define TOE_RX_CSUM_OL 0x00000002
94 #define BRCMF_BSS_INFO_VERSION 109
97 #define BRCMF_SCAN_PARAMS_FIXED_SIZE 64
100 #define BRCMF_SCAN_PARAMS_COUNT_MASK 0x0000ffff
101 #define BRCMF_SCAN_PARAMS_NSSID_SHIFT 16
103 #define BRCMF_SCAN_ACTION_START 1
104 #define BRCMF_SCAN_ACTION_CONTINUE 2
105 #define WL_SCAN_ACTION_ABORT 3
107 #define BRCMF_ISCAN_REQ_VERSION 1
110 #define BRCMF_SCAN_RESULTS_SUCCESS 0
111 #define BRCMF_SCAN_RESULTS_PARTIAL 1
112 #define BRCMF_SCAN_RESULTS_PENDING 2
113 #define BRCMF_SCAN_RESULTS_ABORTED 3
114 #define BRCMF_SCAN_RESULTS_NO_MEM 4
117 #define WL_SOFT_KEY (1 << 0)
119 #define BRCMF_PRIMARY_KEY (1 << 1)
121 #define WL_KF_RES_4 (1 << 4)
123 #define WL_KF_RES_5 (1 << 5)
125 #define WL_IBSS_PEER_GROUP_KEY (1 << 6)
128 #define BRCMF_MAX_IFS 16
130 #define DOT11_BSSTYPE_ANY 2
131 #define DOT11_MAX_DEFAULT_KEYS 4
133 #define BRCMF_EVENT_MSG_LINK 0x01
134 #define BRCMF_EVENT_MSG_FLUSHTXQ 0x02
135 #define BRCMF_EVENT_MSG_GROUP 0x04
137 #define BRCMF_ESCAN_REQ_VERSION 1
139 #define WLC_BSS_RSSI_ON_CHANNEL 0x0002
141 #define BRCMF_MAXRATES_IN_SET 16
142 #define BRCMF_STA_ASSOC 0x10
173 #define BRCMF_E_SET_SSID 0
174 #define BRCMF_E_JOIN 1
175 #define BRCMF_E_START 2
176 #define BRCMF_E_AUTH 3
177 #define BRCMF_E_AUTH_IND 4
178 #define BRCMF_E_DEAUTH 5
179 #define BRCMF_E_DEAUTH_IND 6
180 #define BRCMF_E_ASSOC 7
181 #define BRCMF_E_ASSOC_IND 8
182 #define BRCMF_E_REASSOC 9
183 #define BRCMF_E_REASSOC_IND 10
184 #define BRCMF_E_DISASSOC 11
185 #define BRCMF_E_DISASSOC_IND 12
186 #define BRCMF_E_QUIET_START 13
187 #define BRCMF_E_QUIET_END 14
188 #define BRCMF_E_BEACON_RX 15
189 #define BRCMF_E_LINK 16
190 #define BRCMF_E_MIC_ERROR 17
191 #define BRCMF_E_NDIS_LINK 18
192 #define BRCMF_E_ROAM 19
193 #define BRCMF_E_TXFAIL 20
194 #define BRCMF_E_PMKID_CACHE 21
195 #define BRCMF_E_RETROGRADE_TSF 22
196 #define BRCMF_E_PRUNE 23
197 #define BRCMF_E_AUTOAUTH 24
198 #define BRCMF_E_EAPOL_MSG 25
199 #define BRCMF_E_SCAN_COMPLETE 26
200 #define BRCMF_E_ADDTS_IND 27
201 #define BRCMF_E_DELTS_IND 28
202 #define BRCMF_E_BCNSENT_IND 29
203 #define BRCMF_E_BCNRX_MSG 30
204 #define BRCMF_E_BCNLOST_MSG 31
205 #define BRCMF_E_ROAM_PREP 32
206 #define BRCMF_E_PFN_NET_FOUND 33
207 #define BRCMF_E_PFN_NET_LOST 34
208 #define BRCMF_E_RESET_COMPLETE 35
209 #define BRCMF_E_JOIN_START 36
210 #define BRCMF_E_ROAM_START 37
211 #define BRCMF_E_ASSOC_START 38
212 #define BRCMF_E_IBSS_ASSOC 39
213 #define BRCMF_E_RADIO 40
214 #define BRCMF_E_PSM_WATCHDOG 41
215 #define BRCMF_E_PROBREQ_MSG 44
216 #define BRCMF_E_SCAN_CONFIRM_IND 45
217 #define BRCMF_E_PSK_SUP 46
218 #define BRCMF_E_COUNTRY_CODE_CHANGED 47
219 #define BRCMF_E_EXCEEDED_MEDIUM_TIME 48
220 #define BRCMF_E_ICV_ERROR 49
221 #define BRCMF_E_UNICAST_DECODE_ERROR 50
222 #define BRCMF_E_MULTICAST_DECODE_ERROR 51
223 #define BRCMF_E_TRACE 52
224 #define BRCMF_E_IF 54
225 #define BRCMF_E_RSSI 56
226 #define BRCMF_E_PFN_SCAN_COMPLETE 57
227 #define BRCMF_E_EXTLOG_MSG 58
228 #define BRCMF_E_ACTION_FRAME 59
229 #define BRCMF_E_ACTION_FRAME_COMPLETE 60
230 #define BRCMF_E_PRE_ASSOC_IND 61
231 #define BRCMF_E_PRE_REASSOC_IND 62
232 #define BRCMF_E_CHANNEL_ADOPTED 63
233 #define BRCMF_E_AP_STARTED 64
234 #define BRCMF_E_DFS_AP_STOP 65
235 #define BRCMF_E_DFS_AP_RESUME 66
236 #define BRCMF_E_RESERVED1 67
237 #define BRCMF_E_RESERVED2 68
238 #define BRCMF_E_ESCAN_RESULT 69
239 #define BRCMF_E_ACTION_FRAME_OFF_CHAN_COMPLETE 70
240 #define BRCMF_E_DCS_REQUEST 73
242 #define BRCMF_E_FIFO_CREDIT_MAP 74
244 #define BRCMF_E_LAST 75
246 #define BRCMF_E_STATUS_SUCCESS 0
247 #define BRCMF_E_STATUS_FAIL 1
248 #define BRCMF_E_STATUS_TIMEOUT 2
249 #define BRCMF_E_STATUS_NO_NETWORKS 3
250 #define BRCMF_E_STATUS_ABORT 4
251 #define BRCMF_E_STATUS_NO_ACK 5
252 #define BRCMF_E_STATUS_UNSOLICITED 6
253 #define BRCMF_E_STATUS_ATTEMPT 7
254 #define BRCMF_E_STATUS_PARTIAL 8
255 #define BRCMF_E_STATUS_NEWSCAN 9
256 #define BRCMF_E_STATUS_NEWASSOC 10
257 #define BRCMF_E_STATUS_11HQUIET 11
258 #define BRCMF_E_STATUS_SUPPRESS 12
259 #define BRCMF_E_STATUS_NOCHANS 13
260 #define BRCMF_E_STATUS_CS_ABORT 15
261 #define BRCMF_E_STATUS_ERROR 16
263 #define BRCMF_E_REASON_INITIAL_ASSOC 0
264 #define BRCMF_E_REASON_LOW_RSSI 1
265 #define BRCMF_E_REASON_DEAUTH 2
266 #define BRCMF_E_REASON_DISASSOC 3
267 #define BRCMF_E_REASON_BCNS_LOST 4
268 #define BRCMF_E_REASON_MINTXRATE 9
269 #define BRCMF_E_REASON_TXFAIL 10
271 #define BRCMF_E_REASON_FAST_ROAM_FAILED 5
272 #define BRCMF_E_REASON_DIRECTED_ROAM 6
273 #define BRCMF_E_REASON_TSPEC_REJECTED 7
274 #define BRCMF_E_REASON_BETTER_AP 8
276 #define BRCMF_E_PRUNE_ENCR_MISMATCH 1
277 #define BRCMF_E_PRUNE_BCAST_BSSID 2
278 #define BRCMF_E_PRUNE_MAC_DENY 3
279 #define BRCMF_E_PRUNE_MAC_NA 4
280 #define BRCMF_E_PRUNE_REG_PASSV 5
281 #define BRCMF_E_PRUNE_SPCT_MGMT 6
282 #define BRCMF_E_PRUNE_RADAR 7
283 #define BRCMF_E_RSN_MISMATCH 8
284 #define BRCMF_E_PRUNE_NO_COMMON_RATES 9
285 #define BRCMF_E_PRUNE_BASIC_RATES 10
286 #define BRCMF_E_PRUNE_CIPHER_NA 12
287 #define BRCMF_E_PRUNE_KNOWN_STA 13
288 #define BRCMF_E_PRUNE_WDS_PEER 15
289 #define BRCMF_E_PRUNE_QBSS_LOAD 16
290 #define BRCMF_E_PRUNE_HOME_AP 17
292 #define BRCMF_E_SUP_OTHER 0
293 #define BRCMF_E_SUP_DECRYPT_KEY_DATA 1
294 #define BRCMF_E_SUP_BAD_UCAST_WEP128 2
295 #define BRCMF_E_SUP_BAD_UCAST_WEP40 3
296 #define BRCMF_E_SUP_UNSUP_KEY_LEN 4
297 #define BRCMF_E_SUP_PW_KEY_CIPHER 5
298 #define BRCMF_E_SUP_MSG3_TOO_MANY_IE 6
299 #define BRCMF_E_SUP_MSG3_IE_MISMATCH 7
300 #define BRCMF_E_SUP_NO_INSTALL_FLAG 8
301 #define BRCMF_E_SUP_MSG3_NO_GTK 9
302 #define BRCMF_E_SUP_GRP_KEY_CIPHER 10
303 #define BRCMF_E_SUP_GRP_MSG1_NO_GTK 11
304 #define BRCMF_E_SUP_GTK_DECRYPT_FAIL 12
305 #define BRCMF_E_SUP_SEND_FAIL 13
306 #define BRCMF_E_SUP_DEAUTH 14
308 #define BRCMF_E_IF_ADD 1
309 #define BRCMF_E_IF_DEL 2
310 #define BRCMF_E_IF_CHANGE 3
312 #define BRCMF_E_IF_ROLE_STA 0
313 #define BRCMF_E_IF_ROLE_AP 1
314 #define BRCMF_E_IF_ROLE_WDS 2
316 #define BRCMF_E_LINK_BCN_LOSS 1
317 #define BRCMF_E_LINK_DISASSOC 2
318 #define BRCMF_E_LINK_ASSOC_REC 3
319 #define BRCMF_E_LINK_BSSCFG_DIS 4
485 #define WL_ESCAN_RESULTS_FIXED_SIZE (sizeof(struct brcmf_escan_result_le) - \
486 sizeof(struct brcmf_bss_info_le))
518 #define BRCMF_ISCAN_RESULTS_FIXED_SIZE \
519 (sizeof(struct brcmf_scan_results) + \
520 offsetof(struct brcmf_iscan_results, results))
610 struct brcmf_cfg80211_dev;
718 int enable,
int master_mode);
720 #define BRCMF_DCMD_SMLEN 256
721 #define BRCMF_DCMD_MEDLEN 1536
722 #define BRCMF_DCMD_MAXLEN 8192