cfg_mlme_fe_wmm.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. /*
  2. * Copyright (c) 2012-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 converged configuration.
  20. */
  21. #ifndef __CFG_MLME_FE_WMM_H
  22. #define __CFG_MLME_FE_WMM_H
  23. #define CFG_QOS_ENABLED CFG_BOOL( \
  24. "qos_enabled", \
  25. 0, \
  26. "QOS Enabled")
  27. #define CFG_WME_ENABLED CFG_BOOL( \
  28. "wme_enabled", \
  29. 1, \
  30. "WME Enabled")
  31. #define CFG_MAX_SP_LENGTH CFG_UINT( \
  32. "max_sp_length", \
  33. 0, \
  34. 3, \
  35. 0, \
  36. CFG_VALUE_OR_DEFAULT, \
  37. "MAX sp length")
  38. #define CFG_WSM_ENABLED CFG_BOOL( \
  39. "wsm_enabled", \
  40. 0, \
  41. "WSM Enabled")
  42. #define CFG_EDCA_PROFILE CFG_UINT( \
  43. "edca_profile", \
  44. 0, \
  45. 4, \
  46. 1, \
  47. CFG_VALUE_OR_DEFAULT, \
  48. "Edca Profile")
  49. #define CFG_WMM_PARAMS_ALL \
  50. CFG(CFG_QOS_ENABLED) \
  51. CFG(CFG_WME_ENABLED) \
  52. CFG(CFG_MAX_SP_LENGTH) \
  53. CFG(CFG_WSM_ENABLED) \
  54. CFG(CFG_EDCA_PROFILE)
  55. #endif /* __CFG_MLME_FE_WMM_H */