cfg_cmn_mlme.h 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. /*
  2. * Copyright (c) 2021, The Linux Foundation. All rights reserved.
  3. * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
  4. *
  5. * Permission to use, copy, modify, and/or distribute this software for any
  6. * purpose with or without fee is hereby granted, provided that the above
  7. * copyright notice and this permission notice appear in all copies.
  8. *
  9. * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  10. * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  11. * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
  12. * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  13. * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  14. * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  15. * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  16. */
  17. /**
  18. * DOC: This file contains umac mlme related CFG/INI Items.
  19. */
  20. #ifndef __CFG_CMN_MLME_H
  21. #define __CFG_CMN_MLME_H
  22. /*
  23. * <ini>
  24. * max_chan_switch_ie_enable - Flag to enable max chan switch IE support
  25. * @Min: false
  26. * @Max: true
  27. * @Default: false
  28. *
  29. * For non_ap platform, this flag will be enabled at later point and for ap
  30. * platform this flag will be disabled
  31. *
  32. * Related: None
  33. *
  34. * Supported Feature: Max channel switch IE
  35. *
  36. * Usage: External
  37. *
  38. * </ini>
  39. */
  40. #define CFG_MLME_MAX_CHAN_SWITCH_IE_ENABLE \
  41. CFG_INI_BOOL("max_chan_switch_ie_enable", \
  42. PLATFORM_VALUE(false, false), \
  43. "To enable max channel switch IE")
  44. /*
  45. * <ini>
  46. * mlme_11be_target_capab - Flag to check the target capability for 11be
  47. * @Min: false
  48. * @Max: true
  49. * @Default: false
  50. *
  51. * This flag helps in confirming whether 11be is supported by the target.
  52. *
  53. * Related: None
  54. *
  55. * Supported Feature: 11be
  56. *
  57. * Usage: Internal
  58. *
  59. * </ini>
  60. */
  61. #define CFG_MLME_11BE_TARGET_CAPAB CFG_UINT( \
  62. "mlme_11be_target_capab",\
  63. 0, \
  64. 1, \
  65. 1, \
  66. CFG_VALUE_OR_DEFAULT, \
  67. "11be is supported by target")
  68. #define CFG_CMN_MLME_ALL \
  69. CFG(CFG_MLME_MAX_CHAN_SWITCH_IE_ENABLE) \
  70. CFG(CFG_MLME_11BE_TARGET_CAPAB)
  71. #endif /* __CFG_CMN_MLME_H */