cfg_mlme_wep_params.h 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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. * DOC: This file contains centralized definitions of WEP parameters related
  20. * converged configuration.
  21. */
  22. #ifndef __CFG_MLME_WEP_PARAMS_H
  23. #define __CFG_MLME_WEP_PARAMS_H
  24. #define CFG_WEP_DEFAULT_KEYID CFG_UINT( \
  25. "wep_default_key_id", \
  26. 0, \
  27. 3, \
  28. 0, \
  29. CFG_VALUE_OR_DEFAULT, \
  30. "wep default key id")
  31. #define CFG_SHARED_KEY_AUTH_ENABLE CFG_BOOL( \
  32. "shared_key_auth", \
  33. 1, \
  34. "shared key authentication")
  35. #define CFG_OPEN_SYSTEM_AUTH_ENABLE CFG_BOOL( \
  36. "open_system_auth", \
  37. 1, \
  38. "Open system authentication")
  39. #define CFG_AUTHENTICATION_TYPE CFG_UINT( \
  40. "auth_type", \
  41. 0, \
  42. 3, \
  43. 0, \
  44. CFG_VALUE_OR_DEFAULT, \
  45. "authentication type")
  46. #define CFG_PRIVACY_ENABLED CFG_BOOL( \
  47. "privacy_enabled", \
  48. 0, \
  49. "wep privacy")
  50. #define CFG_WEP_PARAMS_ALL \
  51. CFG(CFG_WEP_DEFAULT_KEYID) \
  52. CFG(CFG_SHARED_KEY_AUTH_ENABLE) \
  53. CFG(CFG_OPEN_SYSTEM_AUTH_ENABLE) \
  54. CFG(CFG_AUTHENTICATION_TYPE) \
  55. CFG(CFG_PRIVACY_ENABLED)
  56. #endif /* __CFG_MLME_WEP_PARAMS_H */