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