xref: /wlan-driver/qcacld-3.0/components/mlme/dispatcher/inc/cfg_mlme_wep_params.h (revision 5113495b16420b49004c444715d2daae2066e7dc)
1*5113495bSYour Name /*
2*5113495bSYour Name  * Copyright (c) 2011-2018 The Linux Foundation. All rights reserved.
3*5113495bSYour Name  *
4*5113495bSYour Name  * Permission to use, copy, modify, and/or distribute this software for
5*5113495bSYour Name  * any purpose with or without fee is hereby granted, provided that the
6*5113495bSYour Name  * above copyright notice and this permission notice appear in all
7*5113495bSYour Name  * copies.
8*5113495bSYour Name  *
9*5113495bSYour Name  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
10*5113495bSYour Name  * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
11*5113495bSYour Name  * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
12*5113495bSYour Name  * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
13*5113495bSYour Name  * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
14*5113495bSYour Name  * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
15*5113495bSYour Name  * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
16*5113495bSYour Name  * PERFORMANCE OF THIS SOFTWARE.
17*5113495bSYour Name  */
18*5113495bSYour Name 
19*5113495bSYour Name /**
20*5113495bSYour Name  * DOC: This file contains centralized definitions of WEP parameters related
21*5113495bSYour Name  * converged configuration.
22*5113495bSYour Name  */
23*5113495bSYour Name 
24*5113495bSYour Name #ifndef __CFG_MLME_WEP_PARAMS_H
25*5113495bSYour Name #define __CFG_MLME_WEP_PARAMS_H
26*5113495bSYour Name 
27*5113495bSYour Name #define CFG_WEP_DEFAULT_KEYID CFG_UINT( \
28*5113495bSYour Name 			"wep_default_key_id", \
29*5113495bSYour Name 			0, \
30*5113495bSYour Name 			3, \
31*5113495bSYour Name 			0, \
32*5113495bSYour Name 			CFG_VALUE_OR_DEFAULT, \
33*5113495bSYour Name 			"wep default key id")
34*5113495bSYour Name 
35*5113495bSYour Name #define CFG_SHARED_KEY_AUTH_ENABLE CFG_BOOL( \
36*5113495bSYour Name 			"shared_key_auth", \
37*5113495bSYour Name 			1, \
38*5113495bSYour Name 			"shared key authentication")
39*5113495bSYour Name 
40*5113495bSYour Name #define CFG_OPEN_SYSTEM_AUTH_ENABLE CFG_BOOL( \
41*5113495bSYour Name 			"open_system_auth", \
42*5113495bSYour Name 			1, \
43*5113495bSYour Name 			"Open system authentication")
44*5113495bSYour Name 
45*5113495bSYour Name #define CFG_AUTHENTICATION_TYPE CFG_UINT( \
46*5113495bSYour Name 			"auth_type", \
47*5113495bSYour Name 			0, \
48*5113495bSYour Name 			3, \
49*5113495bSYour Name 			0, \
50*5113495bSYour Name 			CFG_VALUE_OR_DEFAULT, \
51*5113495bSYour Name 			"authentication type")
52*5113495bSYour Name 
53*5113495bSYour Name #define CFG_PRIVACY_ENABLED CFG_BOOL( \
54*5113495bSYour Name 			"privacy_enabled", \
55*5113495bSYour Name 			0, \
56*5113495bSYour Name 			"wep privacy")
57*5113495bSYour Name 
58*5113495bSYour Name #define CFG_WEP_PARAMS_ALL \
59*5113495bSYour Name 	CFG(CFG_WEP_DEFAULT_KEYID) \
60*5113495bSYour Name 	CFG(CFG_SHARED_KEY_AUTH_ENABLE) \
61*5113495bSYour Name 	CFG(CFG_OPEN_SYSTEM_AUTH_ENABLE) \
62*5113495bSYour Name 	CFG(CFG_AUTHENTICATION_TYPE) \
63*5113495bSYour Name 	CFG(CFG_PRIVACY_ENABLED)
64*5113495bSYour Name 
65*5113495bSYour Name #endif /* __CFG_MLME_WEP_PARAMS_H */
66