cfg_mlme_dfs.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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_DFS_H
  22. #define __CFG_MLME_DFS_H
  23. /*
  24. * <ini>
  25. * gEnableDFSMasterCap - Enable DFS master capability
  26. * @Min: 0
  27. * @Max: 1
  28. * @Default: 0
  29. *
  30. * This ini is used to enable/disable the DFS master capability.
  31. * Disabling it will cause driver to not advertise the spectrum
  32. * management capability
  33. * Related: NA.
  34. *
  35. * upported Feature: DFS
  36. *
  37. * Usage: Internal/External
  38. *
  39. * </ini>
  40. */
  41. #define CFG_ENABLE_DFS_MASTER_CAPABILITY CFG_INI_BOOL( \
  42. "gEnableDFSMasterCap", \
  43. 0, \
  44. "DFS master mode capability")
  45. #define CFG_DFS_ALL \
  46. CFG(CFG_ENABLE_DFS_MASTER_CAPABILITY)
  47. #endif /* __CFG_MLME_DFS_H */