blob: 45a0586c0c35f0251ba08da4fd84a68589af21bc [file] [log] [blame]
Jeff Johnson295189b2012-06-20 16:38:30 -07001/*
Gopichand Nakkala92f07d82013-01-08 21:16:34 -08002 * Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
3 *
4 * Previously licensed under the ISC license by Qualcomm Atheros, Inc.
5 *
6 *
7 * Permission to use, copy, modify, and/or distribute this software for
8 * any purpose with or without fee is hereby granted, provided that the
9 * above copyright notice and this permission notice appear in all
10 * copies.
11 *
12 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
13 * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
14 * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
15 * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
16 * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
17 * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
18 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
19 * PERFORMANCE OF THIS SOFTWARE.
20 */
21/*
Jeff Johnson32d95a32012-09-10 13:15:23 -070022 * Copyright (c) 2012, The Linux Foundation. All rights reserved.
Jeff Johnson295189b2012-06-20 16:38:30 -070023 *
24 * Previously licensed under the ISC license by Qualcomm Atheros, Inc.
25 *
26 *
27 * Permission to use, copy, modify, and/or distribute this software for
28 * any purpose with or without fee is hereby granted, provided that the
29 * above copyright notice and this permission notice appear in all
30 * copies.
31 *
32 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
33 * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
34 * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
35 * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
36 * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
37 * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
38 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
39 * PERFORMANCE OF THIS SOFTWARE.
40 */
41
42/** ------------------------------------------------------------------------- *
Jeff Johnson295189b2012-06-20 16:38:30 -070043
Jeff Johnson295189b2012-06-20 16:38:30 -070044 \file csrSupport.h
Chet Lanctot186b5732013-03-18 10:26:30 -070045
Jeff Johnson295189b2012-06-20 16:38:30 -070046 Exports and types for the Common Scan and Roaming supporting interfaces.
47
48 Copyright (C) 2006 Airgo Networks, Incorporated
Chet Lanctot186b5732013-03-18 10:26:30 -070049
Jeff Johnson295189b2012-06-20 16:38:30 -070050 ========================================================================== */
51#ifndef CSR_SUPPORT_H__
52#define CSR_SUPPORT_H__
53
54#include "csrLinkList.h"
55#include "csrApi.h"
56#include "vos_nvitem.h"
57
58#ifdef FEATURE_WLAN_WAPI
59#define CSR_WAPI_OUI_SIZE ( 4 )
60#define CSR_WAPI_VERSION_SUPPORTED ( 1 )
61#define CSR_WAPI_MAX_AUTH_SUITES ( 2 )
62#define CSR_WAPI_MAX_CYPHERS ( 5 )
63#define CSR_WAPI_MAX_UNICAST_CYPHERS ( 5 )
64#define CSR_WAPI_MAX_MULTICAST_CYPHERS ( 1 )
65#endif /* FEATURE_WLAN_WAPI */
66
67#define CSR_RSN_OUI_SIZE ( 4 )
68#define CSR_RSN_VERSION_SUPPORTED ( 1 )
69#define CSR_RSN_MAX_AUTH_SUITES ( 2 )
70#define CSR_RSN_MAX_CYPHERS ( 5 )
71#define CSR_RSN_MAX_UNICAST_CYPHERS ( 5 )
72#define CSR_RSN_MAX_MULTICAST_CYPHERS ( 1 )
73
74#define CSR_WPA_OUI_SIZE ( 4 )
75#define CSR_WPA_VERSION_SUPPORTED ( 1 )
76#define CSR_WME_OUI_SIZE ( 4 )
77#define CSR_WPA_MAX_AUTH_SUITES ( 2 )
78#define CSR_WPA_MAX_CYPHERS ( 5 )
79#define CSR_WPA_MAX_UNICAST_CYPHERS ( 5 )
80#define CSR_WPA_MAX_MULTICAST_CYPHERS ( 1 )
81#define CSR_WPA_IE_MIN_SIZE ( 6 ) // minimum size of the IE->length is the size of the Oui + Version.
82#define CSR_WPA_IE_MIN_SIZE_W_MULTICAST ( HDD_WPA_IE_MIN_SIZE + HDD_WPA_OUI_SIZE )
83#define CSR_WPA_IE_MIN_SIZE_W_UNICAST ( HDD_WPA_IE_MIN_SIZE + HDD_WPA_OUI_SIZE + sizeof( pWpaIe->cUnicastCyphers ) )
84
85#define CSR_DOT11_SUPPORTED_RATES_MAX ( 12 )
86#define CSR_DOT11_EXTENDED_SUPPORTED_RATES_MAX ( 8 )
87
88#define CSR_DOT11_MAX_NUM_SUPPORTED_11B_RATES ( 4 )
89#define CSR_DOT11_MAX_NUM_SUPPORTED_11A_RATES ( 8 )
90#define CSR_DOT11_BASIC_RATE_MASK ( 0x80 )
91
92#define CSR_WME_INFO_IE_VERSION_SUPPORTED ( 1 )
93#define CSR_WME_PARM_IE_VERSION_SUPPORTED ( 1 )
94
95#define CSR_PASSIVE_SCAN_STARTING_CHANNEL ( 52)
96#define CSR_PASSIVE_SCAN_ENDING_CHANNEL ( 140)
97
98#define CSR_DOT11_MAX_11A_RATE ( 54 * 2 )
99#define CSR_DOT11_MIN_11A_RATE ( 6 * 2 )
100#define CSR_DOT11_MAX_11B_RATE ( 11 * 2 )
101#define CSR_DOT11_MIN_11B_RATE ( 1 * 2 )
102#define CSR_DOT11_MAX_11G_RATE ( 54 * 2 )
103#define CSR_DOT11_MIN_11G_RATE ( 6 * 2 )
104
105//Define the frequency ranges that need to be passive scan, MHz
106#define CSR_PASSIVE_SCAN_CAT1_LOW 5250
107#define CSR_PASSIVE_SCAN_CAT1_HIGH 5350
108#define CSR_PASSIVE_SCAN_CAT2_LOW 5470
109#define CSR_PASSIVE_SCAN_CAT2_HIGH 5725
110#define CSR_PASSIVE_SCAN_CAT3_LOW 5500
111#define CSR_PASSIVE_SCAN_CAT3_HIGH 5560
112
113#define CSR_OUI_USE_GROUP_CIPHER_INDEX 0x00
114#define CSR_OUI_WEP40_OR_1X_INDEX 0x01
115#define CSR_OUI_TKIP_OR_PSK_INDEX 0x02
116#define CSR_OUI_RESERVED_INDEX 0x03
117#define CSR_OUI_AES_INDEX 0x04
118#define CSR_OUI_WEP104_INDEX 0x05
119
120#ifdef FEATURE_WLAN_WAPI
121#define CSR_OUI_WAPI_RESERVED_INDEX 0x00
122#define CSR_OUI_WAPI_WAI_CERT_OR_SMS4_INDEX 0x01
123#define CSR_OUI_WAPI_WAI_PSK_INDEX 0x02
124#endif /* FEATURE_WLAN_WAPI */
125
126
127typedef enum
128{
129 // 11b rates
130 eCsrSuppRate_1Mbps = 1 * 2,
131 eCsrSuppRate_2Mbps = 2 * 2,
132 eCsrSuppRate_5_5Mbps = 11, // 5.5 * 2
133 eCsrSuppRate_11Mbps = 11 * 2,
134
135 // 11a / 11g rates
136 eCsrSuppRate_6Mbps = 6 * 2,
137 eCsrSuppRate_9Mbps = 9 * 2,
138 eCsrSuppRate_12Mbps = 12 * 2,
139 eCsrSuppRate_18Mbps = 18 * 2,
140 eCsrSuppRate_24Mbps = 24 * 2,
141 eCsrSuppRate_36Mbps = 36 * 2,
142 eCsrSuppRate_48Mbps = 48 * 2,
143 eCsrSuppRate_54Mbps = 54 * 2,
144
145 // airgo proprietary rates
146 eCsrSuppRate_10Mbps = 10 * 2,
147 eCsrSuppRate_10_5Mbps= 21, // 10.5 * 2
148 eCsrSuppRate_20Mbps = 20 * 2,
149 eCsrSuppRate_21Mbps = 21 * 2,
150 eCsrSuppRate_40Mbps = 40 * 2,
151 eCsrSuppRate_42Mbps = 42 * 2,
152 eCsrSuppRate_60Mbps = 60 * 2,
153 eCsrSuppRate_63Mbps = 63 * 2,
154 eCsrSuppRate_72Mbps = 72 * 2,
155 eCsrSuppRate_80Mbps = 80 * 2,
156 eCsrSuppRate_84Mbps = 84 * 2,
157 eCsrSuppRate_96Mbps = 96 * 2,
158 eCsrSuppRate_108Mbps = 108 * 2,
159 eCsrSuppRate_120Mbps = 120 * 2,
160 eCsrSuppRate_126Mbps = 126 * 2,
161 eCsrSuppRate_144Mbps = 144 * 2,
162 eCsrSuppRate_160Mbps = 160 * 2,
163 eCsrSuppRate_168Mbps = 168 * 2,
164 eCsrSuppRate_192Mbps = 192 * 2,
165 eCsrSuppRate_216Mbps = 216 * 2,
166 eCsrSuppRate_240Mbps = 240 * 2
167}eCsrSupportedRates;
168
169typedef enum
170{
171 eCsrPassiveScanNot, //can be scanned actively on the whole 5GHz band
172 eCsrPassiveScanCat1, //always passive scan from 5250 to 5350MHz
173 eCsrPassiveScanCat2, //always passive scan from 5250 to 5350MHz, and from 5470 to 5725MHz
174 eCsrPassiveScanCat3, //always passive scan from 5250 to 5350MHz, from 5470 to 5725MHz, and from 5500 to 5560MHz
175}eCsrPassiveScanCat;
176
177
178//Please donot insert in the middle of the enum here because they tie to the indiex
179typedef enum
180{
181 eCSR_COUNTRY_INDEX_US = 0, //Always set US as index 0
182 eCSR_COUNTRY_INDEX_ANDORRA,
183 eCSR_COUNTRY_INDEX_UAE, //United Arab Emirates
184 eCSR_COUNTRY_INDEX_AFGHANISTAN,
185 eCSR_COUNTRY_INDEX_ANTIGUA_AND_BARBUDA,
186 eCSR_COUNTRY_INDEX_ANGUILLA,
187 eCSR_COUNTRY_INDEX_ALBANIA,
188 eCSR_COUNTRY_INDEX_ARMENIA,
189 eCSR_COUNTRY_INDEX_NETHERLANDS_ANTILLES,
190 eCSR_COUNTRY_INDEX_ANGOLA,
191 eCSR_COUNTRY_INDEX_ANTARCTICA,
192 eCSR_COUNTRY_INDEX_ARGENTINA,
193 eCSR_COUNTRY_INDEX_AMERICAN_SAMOA,
194 eCSR_COUNTRY_INDEX_AUSTRIA,
195 eCSR_COUNTRY_INDEX_AUSTRALIA,
196 eCSR_COUNTRY_INDEX_ARUBA,
197 eCSR_COUNTRY_INDEX_ALAND_ISLANDS,
198 eCSR_COUNTRY_INDEX_AZERBAIJAN,
199 eCSR_COUNTRY_INDEX_BOSNIA_AND_HERZEGOVINA,
200 eCSR_COUNTRY_INDEX_BARBADOS,
201 eCSR_COUNTRY_INDEX_BANGLADESH,
202 eCSR_COUNTRY_INDEX_BELGIUM,
203 eCSR_COUNTRY_INDEX_BURKINA_FASO,
204 eCSR_COUNTRY_INDEX_BULGARIA,
205 eCSR_COUNTRY_INDEX_BAHRAIN,
206 eCSR_COUNTRY_INDEX_BURUNDI,
207 eCSR_COUNTRY_INDEX_BENIN,
208 eCSR_COUNTRY_INDEX_SAINT_BARTHELEMY,
209 eCSR_COUNTRY_INDEX_BERMUDA,
210 eCSR_COUNTRY_INDEX_BRUNEI_DARUSSALAM,
211 eCSR_COUNTRY_INDEX_BOLVIA,
212 eCSR_COUNTRY_INDEX_BRAZIL,
213 eCSR_COUNTRY_INDEX_BAHAMAS,
214 eCSR_COUNTRY_INDEX_BHUTAN,
215 eCSR_COUNTRY_INDEX_BOUVET_ISLAND,
216 eCSR_COUNTRY_INDEX_BOTSWANA,
217 eCSR_COUNTRY_INDEX_BELARUS,
218 eCSR_COUNTRY_INDEX_BELIZE,
219 eCSR_COUNTRY_INDEX_CANADA,
220 eCSR_COUNTRY_INDEX_COCOS_KEELING_ISLANDS,
221 eCSR_COUNTRY_INDEX_CONGO_REP,
222 eCSR_COUNTRY_INDEX_CENTRAL_AFRICAN,
223 eCSR_COUNTRY_INDEX_CONGO,
224 eCSR_COUNTRY_INDEX_SWITZERLAND,
225 eCSR_COUNTRY_INDEX_COTE_DIVOIRE,
226 eCSR_COUNTRY_INDEX_COOK_ISLANDS,
227 eCSR_COUNTRY_INDEX_CHILE,
228 eCSR_COUNTRY_INDEX_CAMEROON,
229 eCSR_COUNTRY_INDEX_CHINA,
230 eCSR_COUNTRY_INDEX_COLUMBIA,
231 eCSR_COUNTRY_INDEX_COSTA_RICA,
232 eCSR_COUNTRY_INDEX_CUBA,
233 eCSR_COUNTRY_INDEX_CAPE_VERDE,
234 eCSR_COUNTRY_INDEX_CHRISTMAS_ISLAND,
235 eCSR_COUNTRY_INDEX_CYPRUS,
236 eCSR_COUNTRY_INDEX_CZECH,
237 eCSR_COUNTRY_INDEX_GERMANY,
238 eCSR_COUNTRY_INDEX_DJIBOUTI,
239 eCSR_COUNTRY_INDEX_DENMARK,
240 eCSR_COUNTRY_INDEX_DOMINICA,
241 eCSR_COUNTRY_INDEX_DOMINICAN_REP,
242 eCSR_COUNTRY_INDEX_ALGERIA,
243 eCSR_COUNTRY_INDEX_ECUADOR,
244 eCSR_COUNTRY_INDEX_ESTONIA,
245 eCSR_COUNTRY_INDEX_EGYPT,
246 eCSR_COUNTRY_INDEX_WESTERN_SAHARA,
247 eCSR_COUNTRY_INDEX_ERITREA,
248 eCSR_COUNTRY_INDEX_SPAIN,
249 eCSR_COUNTRY_INDEX_ETHIOPIA,
250 eCSR_COUNTRY_INDEX_FINLAND,
251 eCSR_COUNTRY_INDEX_FIJI,
252 eCSR_COUNTRY_INDEX_FALKLAND_ISLANDS,
253 eCSR_COUNTRY_INDEX_MICRONESIA,
254 eCSR_COUNTRY_INDEX_FAROE_ISLANDS,
255 eCSR_COUNTRY_INDEX_FRANCE,
256 eCSR_COUNTRY_INDEX_GABON,
257 eCSR_COUNTRY_INDEX_UNITED_KINGDOM,
258 eCSR_COUNTRY_INDEX_GRENADA,
259 eCSR_COUNTRY_INDEX_GEORGIA,
260 eCSR_COUNTRY_INDEX_FRENCH_GUIANA,
261 eCSR_COUNTRY_INDEX_GUERNSEY,
262 eCSR_COUNTRY_INDEX_GHANA,
263 eCSR_COUNTRY_INDEX_GIBRALTAR,
264 eCSR_COUNTRY_INDEX_GREENLAND,
265 eCSR_COUNTRY_INDEX_GAMBIA,
266 eCSR_COUNTRY_INDEX_GUINEA,
267 eCSR_COUNTRY_INDEX_GUADELOUPE,
268 eCSR_COUNTRY_INDEX_EQUATORIAL_GUINEA,
269 eCSR_COUNTRY_INDEX_GREECE,
270 eCSR_COUNTRY_INDEX_SOUTH_GEORGIA,
271 eCSR_COUNTRY_INDEX_GUATEMALA,
272 eCSR_COUNTRY_INDEX_GUAM,
273 eCSR_COUNTRY_INDEX_GUINEA_BISSAU,
274 eCSR_COUNTRY_INDEX_GUYANA,
275 eCSR_COUNTRY_INDEX_HONGKONG,
276 eCSR_COUNTRY_INDEX_HEARD_ISLAND,
277 eCSR_COUNTRY_INDEX_HONDURAS,
278 eCSR_COUNTRY_INDEX_CROATIA,
279 eCSR_COUNTRY_INDEX_HAITI,
280 eCSR_COUNTRY_INDEX_HUNGARY,
281 eCSR_COUNTRY_INDEX_INDONESIA,
282 eCSR_COUNTRY_INDEX_IRELAND,
283 eCSR_COUNTRY_INDEX_ISRAEL,
284 eCSR_COUNTRY_INDEX_ISLE_OF_MAN,
285 eCSR_COUNTRY_INDEX_INDIA,
286 eCSR_COUNTRY_INDEX_BRITISH_INDIAN,
287 eCSR_COUNTRY_INDEX_IRAQ,
288 eCSR_COUNTRY_INDEX_IRAN,
289 eCSR_COUNTRY_INDEX_ICELAND,
290 eCSR_COUNTRY_INDEX_ITALY,
291 eCSR_COUNTRY_INDEX_JERSEY,
292 eCSR_COUNTRY_INDEX_JAMAICA,
293 eCSR_COUNTRY_INDEX_JORDAN,
294 eCSR_COUNTRY_INDEX_JAPAN,
295 eCSR_COUNTRY_INDEX_KENYA,
296 eCSR_COUNTRY_INDEX_KYRGYZSTAN,
297 eCSR_COUNTRY_INDEX_CAMBODIA,
298 eCSR_COUNTRY_INDEX_KIRIBATI,
299 eCSR_COUNTRY_INDEX_COMOROS,
300 eCSR_COUNTRY_INDEX_SAINT_KITTS_AND_NEVIS,
301 eCSR_COUNTRY_INDEX_KOREA_NORTH,
302 eCSR_COUNTRY_INDEX_KOREA_SOUTH,
303 eCSR_COUNTRY_INDEX_KUWAIT,
304 eCSR_COUNTRY_INDEX_CAYMAN_ISLANDS,
305 eCSR_COUNTRY_INDEX_KAZAKHSTAN,
306 eCSR_COUNTRY_INDEX_LAO,
307 eCSR_COUNTRY_INDEX_LEBANON,
308 eCSR_COUNTRY_INDEX_SAINT_LUCIA,
309 eCSR_COUNTRY_INDEX_LIECHTENSTEIN,
310 eCSR_COUNTRY_INDEX_SRI_LANKA,
311 eCSR_COUNTRY_INDEX_LIBERIA,
312 eCSR_COUNTRY_INDEX_LESOTHO,
313 eCSR_COUNTRY_INDEX_LITHUANIA,
314 eCSR_COUNTRY_INDEX_LUXEMBOURG,
315 eCSR_COUNTRY_INDEX_LATVIA,
316 eCSR_COUNTRY_INDEX_LIBYAN_ARAB_JAMAHIRIYA,
317 eCSR_COUNTRY_INDEX_MOROCCO,
318 eCSR_COUNTRY_INDEX_MONACO,
319 eCSR_COUNTRY_INDEX_MOLDOVA,
320 eCSR_COUNTRY_INDEX_MONTENEGRO,
321 eCSR_COUNTRY_INDEX_MADAGASCAR,
322 eCSR_COUNTRY_INDEX_MARSHALL_ISLANDS,
323 eCSR_COUNTRY_INDEX_MACEDONIA,
324 eCSR_COUNTRY_INDEX_MALI,
325 eCSR_COUNTRY_INDEX_MYANMAR,
326 eCSR_COUNTRY_INDEX_MONGOLIA,
327 eCSR_COUNTRY_INDEX_MACAO,
328 eCSR_COUNTRY_INDEX_NORTHERN_MARIANA_ISLANDS,
329 eCSR_COUNTRY_INDEX_MARTINIQUE,
330 eCSR_COUNTRY_INDEX_MAURITANIA,
331 eCSR_COUNTRY_INDEX_MONTSERRAT,
332 eCSR_COUNTRY_INDEX_MALTA,
333 eCSR_COUNTRY_INDEX_MAURITIUS,
334 eCSR_COUNTRY_INDEX_MALDIVES,
335 eCSR_COUNTRY_INDEX_MALAWI,
336 eCSR_COUNTRY_INDEX_MEXICO,
337 eCSR_COUNTRY_INDEX_MALAYSIA,
338 eCSR_COUNTRY_INDEX_MOZAMBIQUE,
339 eCSR_COUNTRY_INDEX_NAMIBIA,
340 eCSR_COUNTRY_INDEX_NEW_CALENDONIA,
341 eCSR_COUNTRY_INDEX_NIGER,
342 eCSR_COUNTRY_INDEX_NORFOLK_ISLAND,
343 eCSR_COUNTRY_INDEX_NIGERIA,
344 eCSR_COUNTRY_INDEX_NICARAGUA,
345 eCSR_COUNTRY_INDEX_NETHERLANDS,
346 eCSR_COUNTRY_INDEX_NORWAY,
347 eCSR_COUNTRY_INDEX_NEPAL,
348 eCSR_COUNTRY_INDEX_NAURU,
349 eCSR_COUNTRY_INDEX_NIUE,
350 eCSR_COUNTRY_INDEX_NEW_ZEALAND,
351 eCSR_COUNTRY_INDEX_OMAN,
352 eCSR_COUNTRY_INDEX_PANAMA,
353 eCSR_COUNTRY_INDEX_PERU,
354 eCSR_COUNTRY_INDEX_FRENCH_POLYNESIA,
355 eCSR_COUNTRY_INDEX_PAPUA_NEW_HUINEA,
356 eCSR_COUNTRY_INDEX_PHILIPPINES,
357 eCSR_COUNTRY_INDEX_PAKISTAN,
358 eCSR_COUNTRY_INDEX_POLAND,
359 eCSR_COUNTRY_INDEX_SAINT_PIERRE_AND_MIQUELON,
360 eCSR_COUNTRY_INDEX_PITCAIRN,
361 eCSR_COUNTRY_INDEX_PUERTO_RICO,
362 eCSR_COUNTRY_INDEX_PALESTINIAN_TERRITOTY_OCCUPIED,
363 eCSR_COUNTRY_INDEX_PORTUGAL,
364 eCSR_COUNTRY_INDEX_PALAU,
365 eCSR_COUNTRY_INDEX_PARAGUAY,
366 eCSR_COUNTRY_INDEX_QATAR,
367 eCSR_COUNTRY_INDEX_REUNION,
368 eCSR_COUNTRY_INDEX_ROMANIA,
369 eCSR_COUNTRY_INDEX_SERBIA,
370 eCSR_COUNTRY_INDEX_RUSSIAN,
371 eCSR_COUNTRY_INDEX_RWANDA,
372 eCSR_COUNTRY_INDEX_SAUDI_ARABIA,
373 eCSR_COUNTRY_INDEX_SOLOMON_ISLANDS,
374 eCSR_COUNTRY_INDEX_SEYCHELLES,
375 eCSR_COUNTRY_INDEX_SUDAN,
376 eCSR_COUNTRY_INDEX_SWEDEN,
377 eCSR_COUNTRY_INDEX_SINGAPORE,
378 eCSR_COUNTRY_INDEX_SAINT_HELENA,
379 eCSR_COUNTRY_INDEX_SLOVENIA,
380 eCSR_COUNTRY_INDEX_SVALBARD_AND_JAN_MAYEN,
381 eCSR_COUNTRY_INDEX_SLOVAKIA,
382 eCSR_COUNTRY_INDEX_SIERRA_LEONE,
383 eCSR_COUNTRY_INDEX_SAN_MARINO,
384 eCSR_COUNTRY_INDEX_SENEGAL,
385 eCSR_COUNTRY_INDEX_SOMOLIA,
386 eCSR_COUNTRY_INDEX_SURINAME,
387 eCSR_COUNTRY_INDEX_SAO_TOME_AND_PRINCIPE,
388 eCSR_COUNTRY_INDEX_EL_SALVADOR,
389 eCSR_COUNTRY_INDEX_SYRIAN_REP,
390 eCSR_COUNTRY_INDEX_SWAZILAND,
391 eCSR_COUNTRY_INDEX_TURKS_AND_CAICOS_ISLANDS,
392 eCSR_COUNTRY_INDEX_CHAD,
393 eCSR_COUNTRY_INDEX_FRENCH_SOUTHERN_TERRRTORY,
394 eCSR_COUNTRY_INDEX_TOGO,
395 eCSR_COUNTRY_INDEX_THAILAND,
396 eCSR_COUNTRY_INDEX_TAJIKSTAN,
397 eCSR_COUNTRY_INDEX_TOKELAU,
398 eCSR_COUNTRY_INDEX_TIMOR_LESTE,
399 eCSR_COUNTRY_INDEX_TURKMENISTAN,
400 eCSR_COUNTRY_INDEX_TUNISIA,
401 eCSR_COUNTRY_INDEX_TONGA,
402 eCSR_COUNTRY_INDEX_TURKEY,
403 eCSR_COUNTRY_INDEX_TRINIDAD_AND_TOBAGO,
404 eCSR_COUNTRY_INDEX_TUVALU,
405 eCSR_COUNTRY_INDEX_TAIWAN,
406 eCSR_COUNTRY_INDEX_TANZANIA,
407 eCSR_COUNTRY_INDEX_UKRAINE,
408 eCSR_COUNTRY_INDEX_UGANDA,
409 eCSR_COUNTRY_INDEX_US_MINOR_OUTLYING_ISLANDS,
410 eCSR_COUNTRY_INDEX_URUGUAY,
411 eCSR_COUNTRY_INDEX_UZBEKISTAN,
412 eCSR_COUNTRY_INDEX_HOLY_SEE,
413 eCSR_COUNTRY_INDEX_SAINT_VINCENT_AND_THE_GRENADINES,
414 eCSR_COUNTRY_INDEX_VENESUELA,
415 eCSR_COUNTRY_INDEX_VIRGIN_ISLANDS_BRITISH,
416 eCSR_COUNTRY_INDEX_VIRGIN_ISLANDS_US,
417 eCSR_COUNTRY_INDEX_VIET_NAM,
418 eCSR_COUNTRY_INDEX_VANUATU,
419 eCSR_COUNTRY_INDEX_WALLIS_AND_FUTUNA,
420 eCSR_COUNTRY_INDEX_SAMOA,
421 eCSR_COUNTRY_INDEX_YEMEN,
422 eCSR_COUNTRY_INDEX_MAYOTTE,
423 eCSR_COUNTRY_INDEX_SOTHER_AFRICA,
424 eCSR_COUNTRY_INDEX_ZAMBIA,
425 eCSR_COUNTRY_INDEX_ZIMBABWE,
426
427 eCSR_COUNTRY_INDEX_KOREA_1,
428 eCSR_COUNTRY_INDEX_KOREA_2,
429 eCSR_COUNTRY_INDEX_KOREA_3,
430 eCSR_COUNTRY_INDEX_KOREA_4,
431
432 eCSR_NUM_COUNTRY_INDEX,
433}eCsrCountryIndex;
434//Please donot insert in the middle of the enum above because they tie to the indiex
435
436
437typedef struct tagCsrSirMBMsgHdr
438{
439 tANI_U16 type;
440 tANI_U16 msgLen;
441
442}tCsrSirMBMsgHdr;
443
444typedef struct tagCsrCfgMsgTlvHdr
445{
446 tANI_U32 type;
447 tANI_U32 length;
448
449}tCsrCfgMsgTlvHdr;
450
451
452
453typedef struct tagCsrCfgMsgTlv
454{
455 tCsrCfgMsgTlvHdr Hdr;
456 tANI_U32 variable[ 1 ]; // placeholder for the data
457
458}tCsrCfgMsgTlv;
459
460typedef struct tagCsrCfgGetRsp
461{
462 tCsrSirMBMsgHdr hdr;
463 tANI_U32 respStatus;
464 tANI_U32 paramId;
465 tANI_U32 attribLen;
466 tANI_U32 attribVal[1];
467}tCsrCfgGetRsp;
468
469typedef struct tagCsrCfgSetRsp
470{
471
472 tCsrSirMBMsgHdr hdr;
473 tANI_U32 respStatus;
474 tANI_U32 paramId;
475}tCsrCfgSetRsp;
476
477
478typedef struct tagCsrDomainChnScanInfo
479{
480 tANI_U8 chnId;
481 tSirScanType scanType; //whether this channel must be scan passively
482}tCsrDomainChnScanInfo;
483
484
485#if defined(__ANI_COMPILER_PRAGMA_PACK_STACK)
486#pragma pack( push )
487#pragma pack( 1 )
488#elif defined(__ANI_COMPILER_PRAGMA_PACK)
489#pragma pack( 1 )
490#endif
491
492// Generic Information Element Structure
493typedef __ani_attr_pre_packed struct sDot11IEHeader
494{
495 tANI_U8 ElementID;
496 tANI_U8 Length;
497}__ani_attr_packed tDot11IEHeader;
498
499typedef __ani_attr_pre_packed struct tagCsrWmeInfoIe
500{
501 tDot11IEHeader IeHeader;
502 tANI_U8 Oui[ CSR_WME_OUI_SIZE ]; // includes the 3 byte OUI + 1 byte Type
503 tANI_U8 Subtype;
504 tANI_U8 Version;
505 tANI_U8 QoSInfo;
506
507} __ani_attr_packed tCsrWmeInfoIe;
508
509typedef __ani_attr_pre_packed struct tagCsrWmeAcParms
510{
511 tANI_U8 AciAifsn;
512 tANI_U8 EcwMinEcwMax;
513 tANI_U16 TxOpLimit;
514
515} __ani_attr_packed tCsrWmeAcParms;
516
517typedef __ani_attr_pre_packed struct tagCsrWmeParmIe
518{
519 tDot11IEHeader IeHeader;
520 tANI_U8 Oui[ CSR_WME_OUI_SIZE ]; // includes the 3 byte OUI + 1 byte Type
521 tANI_U8 Subtype;
522 tANI_U8 Version;
523 tANI_U8 QoSInfo;
524 tANI_U8 Reserved;
525 tCsrWmeAcParms BestEffort;
526 tCsrWmeAcParms Background;
527 tCsrWmeAcParms Video;
528 tCsrWmeAcParms Voice;
529
530} __ani_attr_packed tCsrWmeParmIe;
531
532typedef __ani_attr_pre_packed struct tagCsrWpaIe
533{
534 tDot11IEHeader IeHeader;
535 tANI_U8 Oui[ CSR_WPA_OUI_SIZE ];
536 tANI_U16 Version;
537 tANI_U8 MulticastOui[ CSR_WPA_OUI_SIZE ];
538 tANI_U16 cUnicastCyphers;
539
540 __ani_attr_pre_packed struct {
541
542 tANI_U8 Oui[ CSR_WPA_OUI_SIZE ];
543
544 } __ani_attr_packed UnicastOui[ 1 ];
545
546} __ani_attr_packed tCsrWpaIe;
547
548typedef __ani_attr_pre_packed struct tagCsrWpaAuthIe
549{
550
551 tANI_U16 cAuthenticationSuites;
552
553 __ani_attr_pre_packed struct {
554
555 tANI_U8 Oui[ CSR_WPA_OUI_SIZE ];
556
557 } __ani_attr_packed AuthOui[ 1 ];
558
559} __ani_attr_packed tCsrWpaAuthIe;
560
561
562typedef __ani_attr_pre_packed struct tagCsrRSNIe
563{
564 tDot11IEHeader IeHeader;
565 tANI_U16 Version;
566 tANI_U8 MulticastOui[ CSR_RSN_OUI_SIZE ];
567 tANI_U16 cUnicastCyphers;
568
569 __ani_attr_pre_packed struct {
570
571 tANI_U8 Oui[ CSR_RSN_OUI_SIZE ];
572
573 } __ani_attr_packed UnicastOui[ 1 ];
574
575} __ani_attr_packed tCsrRSNIe;
576
577typedef __ani_attr_pre_packed struct tagCsrRSNAuthIe
578{
579 tANI_U16 cAuthenticationSuites;
580 __ani_attr_pre_packed struct {
581
582 tANI_U8 Oui[ CSR_RSN_OUI_SIZE ];
583
584 } __ani_attr_packed AuthOui[ 1 ];
585
586} __ani_attr_packed tCsrRSNAuthIe;
587
588typedef __ani_attr_pre_packed struct tagCsrRSNCapabilities
589{
590 tANI_U16 PreAuthSupported:1;
591 tANI_U16 NoPairwise:1;
592 tANI_U16 PTKSAReplayCounter:2;
593 tANI_U16 GTKSAReplayCounter:2;
Chet Lanctot186b5732013-03-18 10:26:30 -0700594 tANI_U16 MFPRequired:1;
595 tANI_U16 MFPCapable:1;
596 tANI_U16 Reserved:8;
Jeff Johnson295189b2012-06-20 16:38:30 -0700597} __ani_attr_packed tCsrRSNCapabilities;
598
599typedef __ani_attr_pre_packed struct tagCsrRSNPMKIe
600{
601 tANI_U16 cPMKIDs;
602
603 __ani_attr_pre_packed struct {
604
605 tANI_U8 PMKID[ CSR_RSN_PMKID_SIZE ];
606
607 } __ani_attr_packed PMKIDList[ 1 ];
608
609
610} __ani_attr_packed tCsrRSNPMKIe;
611
612typedef __ani_attr_pre_packed struct tCsrIELenInfo
613{
614 tANI_U8 min;
615 tANI_U8 max;
616} __ani_attr_packed tCsrIELenInfo;
617
618#ifdef FEATURE_WLAN_WAPI
619typedef __ani_attr_pre_packed struct tagCsrWapiIe
620{
621 tDot11IEHeader IeHeader;
622 tANI_U16 Version;
623
624 tANI_U16 cAuthenticationSuites;
625 __ani_attr_pre_packed struct {
626
627 tANI_U8 Oui[ CSR_WAPI_OUI_SIZE ];
628
629 } __ani_attr_packed AuthOui[ 1 ];
630
631 tANI_U16 cUnicastCyphers;
632 __ani_attr_pre_packed struct {
633
634 tANI_U8 Oui[ CSR_WAPI_OUI_SIZE ];
635
636 } __ani_attr_packed UnicastOui[ 1 ];
637
638 tANI_U8 MulticastOui[ CSR_WAPI_OUI_SIZE ];
639
640 __ani_attr_pre_packed struct {
641 tANI_U16 PreAuthSupported:1;
642 tANI_U16 Reserved:15;
643 } __ani_attr_packed tCsrWapiCapabilities;
644
645
646} __ani_attr_packed tCsrWapiIe;
647
648typedef __ani_attr_pre_packed struct tagCsrWAPIBKIe
649{
650 tANI_U16 cBKIDs;
651 __ani_attr_pre_packed struct {
652
653 tANI_U8 BKID[ CSR_WAPI_BKID_SIZE ];
654
655 } __ani_attr_packed BKIDList[ 1 ];
656
657
658} __ani_attr_packed tCsrWAPIBKIe;
659#endif /* FEATURE_WLAN_WAPI */
660
661#if defined(__ANI_COMPILER_PRAGMA_PACK_STACK)
662#pragma pack( pop )
663#endif
664
665// Structure used to describe a group of continuous channels and hook it into the
666// corresponding channel list
667typedef struct tagCsrChannelSet
668{
669 tListElem channelListLink;
670 tANI_U8 firstChannel;
671 tANI_U8 interChannelOffset;
672 tANI_U8 numChannels;
673 tANI_U8 txPower;
674}tCsrChannelSet;
675
676
677typedef struct sDot11InfoIBSSParmSet
678{
679 tDot11IEHeader dot11IEHeader;
680 tANI_U8 ATIMWindow;
681}tDot11InfoIBSSParmSet;
682
683
684typedef struct sDot11IECountry
685{
686 tDot11IEHeader dot11IEHeader;
687 tANI_U8 countryString[3];
688 tSirMacChanInfo chanInfo[1];
689}tDot11IECountry;
690
691
692typedef struct sDot11IEExtenedSupportedRates
693{
694 tDot11IEHeader dot11IEHeader;
695 tANI_U8 ExtendedSupportedRates[ CSR_DOT11_EXTENDED_SUPPORTED_RATES_MAX ];
696}tDot11IEExtenedSupportedRates;
697
698#define CSR_DOT11_AP_NAME_MAX_LENGTH ( 32 )
699
700typedef struct tagDot11IEAPName
701{
702 tDot11IEHeader dot11IEHeader;
703 tANI_U8 ApName[ CSR_DOT11_AP_NAME_MAX_LENGTH ];
704}tDot11IEAPName;
705
706typedef struct tagDot11IE11HLocalPowerConstraint
707{
708 tDot11IEHeader dot11IEHeader;
709 tANI_U8 localPowerConstraint;
710
711}tDot11IE11HLocalPowerConstraint;
712
713typedef struct tagRoamingTimerInfo
714{
715 tpAniSirGlobal pMac;
716 tANI_U8 sessionId;
717} tCsrTimerInfo;
718
719
720#define CSR_IS_11A_BSS(pBssDesc) ( eSIR_11A_NW_TYPE == (pBssDesc)->nwType )
721#define CSR_IS_BASIC_RATE(rate) ((rate) & CSR_DOT11_BASIC_RATE_MASK)
722#define CSR_IS_QOS_BSS(pIes) ( (pIes)->WMMParams.present || (pIes)->WMMInfoAp.present )
723
724#define CSR_IS_UAPSD_BSS(pIes) \
725 ( ((pIes)->WMMParams.present && ((pIes)->WMMParams.qosInfo & SME_QOS_AP_SUPPORTS_APSD)) || \
726 ((pIes)->WMMInfoAp.present && (pIes)->WMMInfoAp.uapsd) )
727
728//This macro returns the total length needed of Tlv with with len bytes of data
729#define GET_TLV_MSG_LEN(len) GET_ROUND_UP((sizeof(tCsrCfgMsgTlvHdr) + (len)), sizeof(tANI_U32))
730
731tANI_BOOLEAN csrGetBssIdBssDesc( tHalHandle hHal, tSirBssDescription *pSirBssDesc, tCsrBssid *pBssId );
732tANI_BOOLEAN csrIsBssIdEqual( tHalHandle hHal, tSirBssDescription *pSirBssDesc1, tSirBssDescription *pSirBssDesc2 );
733
734eCsrMediaAccessType csrGetQoSFromBssDesc( tHalHandle hHal, tSirBssDescription *pSirBssDesc,
735 tDot11fBeaconIEs *pIes);
736tANI_BOOLEAN csrIsNULLSSID( tANI_U8 *pBssSsid, tANI_U8 len );
737tANI_BOOLEAN csrIsInfraBssDesc( tSirBssDescription *pSirBssDesc );
738tANI_BOOLEAN csrIsIbssBssDesc( tSirBssDescription *pSirBssDesc );
739tANI_BOOLEAN csrIsPrivacy( tSirBssDescription *pSirBssDesc );
740tSirResultCodes csrGetDisassocRspStatusCode( tSirSmeDisassocRsp *pSmeDisassocRsp );
741tSirResultCodes csrGetDeAuthRspStatusCode( tSirSmeDeauthRsp *pSmeRsp );
742tANI_U32 csrGetFragThresh( tHalHandle hHal );
743tANI_U32 csrGetRTSThresh( tHalHandle hHal );
744eCsrPhyMode csrGetPhyModeFromBssDesc( tSirBssDescription *pSirBssDesc );
745tANI_U32 csrGet11hPowerConstraint( tHalHandle hHal, tDot11fIEPowerConstraints *pPowerConstraint );
746tANI_U8 csrConstructRSNIe( tHalHandle hHal, tANI_U32 sessionId, tCsrRoamProfile *pProfile,
747 tSirBssDescription *pSirBssDesc, tDot11fBeaconIEs *pIes, tCsrRSNIe *pRSNIe );
748tANI_U8 csrConstructWpaIe( tHalHandle hHal, tCsrRoamProfile *pProfile, tSirBssDescription *pSirBssDesc,
749 tDot11fBeaconIEs *pIes, tCsrWpaIe *pWpaIe );
750#ifdef FEATURE_WLAN_WAPI
751
752tANI_BOOLEAN csrIsProfileWapi( tCsrRoamProfile *pProfile );
753#endif /* FEATURE_WLAN_WAPI */
754//If a WPAIE exists in the profile, just use it. Or else construct one from the BSS
755//Caller allocated memory for pWpaIe and guarrantee it can contain a max length WPA IE
756tANI_U8 csrRetrieveWpaIe( tHalHandle hHal, tCsrRoamProfile *pProfile, tSirBssDescription *pSirBssDesc,
757 tDot11fBeaconIEs *pIes, tCsrWpaIe *pWpaIe );
758tANI_BOOLEAN csrIsSsidEqual( tHalHandle hHal, tSirBssDescription *pSirBssDesc1,
759 tSirBssDescription *pSirBssDesc2, tDot11fBeaconIEs *pIes2 );
760//Null ssid means match
761tANI_BOOLEAN csrIsSsidInList( tHalHandle hHal, tSirMacSSid *pSsid, tCsrSSIDs *pSsidList );
762tANI_BOOLEAN csrIsProfileWpa( tCsrRoamProfile *pProfile );
763tANI_BOOLEAN csrIsProfileRSN( tCsrRoamProfile *pProfile );
764//This function returns the raw byte array of WPA and/or RSN IE
765tANI_BOOLEAN csrGetWpaRsnIe( tHalHandle hHal, tANI_U8 *pIes, tANI_U32 len,
766 tANI_U8 *pWpaIe, tANI_U8 *pcbWpaIe, tANI_U8 *pRSNIe, tANI_U8 *pcbRSNIe);
767//If a RSNIE exists in the profile, just use it. Or else construct one from the BSS
768//Caller allocated memory for pWpaIe and guarrantee it can contain a max length WPA IE
769tANI_U8 csrRetrieveRsnIe( tHalHandle hHal, tANI_U32 sessionId, tCsrRoamProfile *pProfile, tSirBssDescription *pSirBssDesc,
770 tDot11fBeaconIEs *pIes, tCsrRSNIe *pRsnIe );
771#ifdef FEATURE_WLAN_WAPI
772//If a WAPI IE exists in the profile, just use it. Or else construct one from the BSS
773//Caller allocated memory for pWapiIe and guarrantee it can contain a max length WAPI IE
774tANI_U8 csrRetrieveWapiIe( tHalHandle hHal, tANI_U32 sessionId, tCsrRoamProfile *pProfile, tSirBssDescription *pSirBssDesc,
775 tDot11fBeaconIEs *pIes, tCsrWapiIe *pWapiIe );
776#endif /* FEATURE_WLAN_WAPI */
777tANI_BOOLEAN csrSearchChannelListForTxPower(tHalHandle hHal, tSirBssDescription *pBssDescription, tCsrChannelSet *returnChannelGroup);
778tANI_BOOLEAN csrRatesIsDot11Rate11bSupportedRate( tANI_U8 dot11Rate );
779tANI_BOOLEAN csrRatesIsDot11Rate11aSupportedRate( tANI_U8 dot11Rate );
780tAniEdType csrTranslateEncryptTypeToEdType( eCsrEncryptionType EncryptType );
781//pIes shall contain IEs from pSirBssDesc. It shall be returned from function csrGetParsedBssDescriptionIEs
782tANI_BOOLEAN csrIsSecurityMatch( tHalHandle hHal, tCsrAuthList *authType, tCsrEncryptionList *pUCEncryptionType, tCsrEncryptionList *pMCEncryptionType,
783 tSirBssDescription *pSirBssDesc, tDot11fBeaconIEs *pIes,
784 eCsrAuthType *negotiatedAuthtype, eCsrEncryptionType *negotiatedUCCipher, eCsrEncryptionType *negotiatedMCCipher );
785tANI_BOOLEAN csrIsBSSTypeMatch(eCsrRoamBssType bssType1, eCsrRoamBssType bssType2);
786tANI_BOOLEAN csrIsBssTypeIBSS(eCsrRoamBssType bssType);
787tANI_BOOLEAN csrIsBssTypeWDS(eCsrRoamBssType bssType);
788//ppIes can be NULL. If caller want to get the *ppIes allocated by this function, pass in *ppIes = NULL
789//Caller needs to free the memory in this case
790tANI_BOOLEAN csrMatchBSS( tHalHandle hHal, tSirBssDescription *pBssDesc, tCsrScanResultFilter *pFilter,
791 eCsrAuthType *pNegAuth, eCsrEncryptionType *pNegUc, eCsrEncryptionType *pNegMc,
792 tDot11fBeaconIEs **ppIes);
793
794tANI_BOOLEAN csrIsBssidMatch( tHalHandle hHal, tCsrBssid *pProfBssid, tCsrBssid *BssBssid );
795tANI_BOOLEAN csrMatchBSSToConnectProfile( tHalHandle hHal, tCsrRoamConnectedProfile *pProfile,
796 tSirBssDescription *pBssDesc, tDot11fBeaconIEs *pIes );
797tANI_BOOLEAN csrRatesIsDot11RateSupported( tHalHandle hHal, tANI_U8 rate );
798tANI_U16 csrRatesFindBestRate( tSirMacRateSet *pSuppRates, tSirMacRateSet *pExtRates, tSirMacPropRateSet *pPropRates );
799tSirBssType csrTranslateBsstypeToMacType(eCsrRoamBssType csrtype);
800
801//Caller allocates memory for pIEStruct
802eHalStatus csrParseBssDescriptionIEs(tHalHandle hHal, tSirBssDescription *pBssDesc, tDot11fBeaconIEs *pIEStruct);
803//This function will allocate memory for the parsed IEs to the caller. Caller must free the memory
804//after it is done with the data only if this function succeeds
805eHalStatus csrGetParsedBssDescriptionIEs(tHalHandle hHal, tSirBssDescription *pBssDesc, tDot11fBeaconIEs **ppIEStruct);
806
807tANI_BOOLEAN csrValidateCountryString( tHalHandle hHal, tANI_U8 *pCountryString );
808tSirScanType csrGetScanType(tpAniSirGlobal pMac, tANI_U8 chnId);
809
810tANI_U8 csrToUpper( tANI_U8 ch );
811eHalStatus csrGetPhyModeFromBss(tpAniSirGlobal pMac, tSirBssDescription *pBSSDescription,
812 eCsrPhyMode *pPhyMode, tDot11fBeaconIEs *pIes);
813
814//fForce -- force reassoc regardless of whether there is any change
815//The reason is that for UAPSD-bypass, the code underneath this call determine whether
816//to allow UAPSD. The information in pModProfileFields reflects what the user wants.
817//There may be discrepency in it. UAPSD-bypass logic should decide if it needs to reassoc
818eHalStatus csrReassoc(tpAniSirGlobal pMac, tANI_U32 sessionId,
819 tCsrRoamModifyProfileFields *pModProfileFields,
820 tANI_U32 *pRoamId, v_BOOL_t fForce);
821
Jeff Johnsone7245742012-09-05 17:12:55 -0700822eHalStatus
823csrIsconcurrentsessionValid(tpAniSirGlobal pMac,tANI_U32 cursessionId,
824 tVOS_CON_MODE currBssPersona);
825
Madan Mohan Koyyalamudi167b95e2012-11-27 15:53:38 -0800826//Update beaconInterval for P2P-GO case if it is different
827eHalStatus csrUpdatep2pBeaconInterval(tpAniSirGlobal pMac);
828
829//BeaconInterval validation for MCC support
830eHalStatus csrValidateMCCBeaconInterval(tpAniSirGlobal pMac, tANI_U8 channelId,
Jeff Johnsone7245742012-09-05 17:12:55 -0700831 tANI_U16 *beaconInterval, tANI_U32 cursessionId,
832 tVOS_CON_MODE currBssPersona);
833
Jeff Johnson295189b2012-06-20 16:38:30 -0700834#ifdef WLAN_FEATURE_VOWIFI_11R
835tANI_BOOLEAN csrIsProfile11r( tCsrRoamProfile *pProfile );
Madan Mohan Koyyalamudi5e32b962012-11-28 16:07:55 -0800836tANI_BOOLEAN csrIsAuthType11r( eCsrAuthType AuthType, tANI_U8 mdiePresent);
Jeff Johnson295189b2012-06-20 16:38:30 -0700837#endif
838
839#ifdef FEATURE_WLAN_CCX
840tANI_BOOLEAN csrIsAuthTypeCCX( eCsrAuthType AuthType );
841tANI_BOOLEAN csrIsProfileCCX( tCsrRoamProfile *pProfile );
842#endif
843
844#endif
845