Kconfig 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. menuconfig RT_USING_WIFI
  2. bool "Using Wi-Fi framework"
  3. default n
  4. if RT_USING_WIFI
  5. config RT_WLAN_DEVICE_STA_NAME
  6. string "The device name for station"
  7. default "wlan0"
  8. config RT_WLAN_DEVICE_AP_NAME
  9. string "The device name for ap"
  10. default "wlan1"
  11. config RT_WLAN_SSID_MAX_LENGTH
  12. int "SSID maximum length"
  13. default 32
  14. config RT_WLAN_PASSWORD_MAX_LENGTH
  15. int "Password maximum length"
  16. default 32
  17. config RT_WLAN_DEV_EVENT_NUM
  18. int "Driver events maxcount"
  19. default 2
  20. config RT_WLAN_MANAGE_ENABLE
  21. bool "Connection management Enable"
  22. default y
  23. if RT_WLAN_MANAGE_ENABLE
  24. config RT_WLAN_SCAN_WAIT_MS
  25. int "Set scan timeout time(ms)"
  26. default 10000
  27. config RT_WLAN_CONNECT_WAIT_MS
  28. int "Set connect timeout time(ms)"
  29. default 10000
  30. config RT_WLAN_SCAN_SORT
  31. bool "Automatic sorting of scan results"
  32. default y
  33. config RT_WLAN_MSH_CMD_ENABLE
  34. bool "MSH command Enable"
  35. default y
  36. config RT_WLAN_JOIN_SCAN_BY_MGNT
  37. bool "Enable wlan join scan"
  38. default y
  39. config RT_WLAN_AUTO_CONNECT_ENABLE
  40. bool "Auto connect Enable"
  41. select RT_WLAN_CFG_ENABLE
  42. select RT_WLAN_WORK_THREAD_ENABLE
  43. default y
  44. if RT_WLAN_AUTO_CONNECT_ENABLE
  45. config AUTO_CONNECTION_PERIOD_MS
  46. int "Auto connect period(ms)"
  47. default 2000
  48. endif
  49. endif
  50. config RT_WLAN_CFG_ENABLE
  51. bool "WiFi information automatically saved Enable"
  52. default y
  53. if RT_WLAN_CFG_ENABLE
  54. config RT_WLAN_CFG_INFO_MAX
  55. int "Maximum number of WiFi information automatically saved"
  56. default 3
  57. endif
  58. config RT_WLAN_PROT_ENABLE
  59. bool "Transport protocol manage Enable"
  60. default y
  61. if RT_WLAN_PROT_ENABLE
  62. config RT_WLAN_PROT_NAME_LEN
  63. int "Transport protocol name length"
  64. default 8
  65. config RT_WLAN_PROT_MAX
  66. int "Transport protocol maxcount"
  67. default 2
  68. config RT_WLAN_DEFAULT_PROT
  69. string "Default transport protocol"
  70. default "lwip"
  71. config RT_WLAN_PROT_LWIP_ENABLE
  72. bool "LWIP transport protocol Enable"
  73. select RT_USING_LWIP
  74. default y
  75. if RT_WLAN_PROT_LWIP_ENABLE
  76. config RT_WLAN_PROT_LWIP_NAME
  77. string "LWIP transport protocol name"
  78. default "lwip"
  79. config RT_WLAN_PROT_LWIP_PBUF_FORCE
  80. bool "Forced use of PBUF transmission"
  81. default n
  82. endif
  83. endif
  84. config RT_WLAN_WORK_THREAD_ENABLE
  85. bool "WLAN work queue thread Enable"
  86. default y
  87. if RT_WLAN_WORK_THREAD_ENABLE
  88. config RT_WLAN_WORKQUEUE_THREAD_NAME
  89. string "WLAN work queue thread name"
  90. default "wlan"
  91. config RT_WLAN_WORKQUEUE_THREAD_SIZE
  92. int "WLAN work queue thread size"
  93. default 2048
  94. config RT_WLAN_WORKQUEUE_THREAD_PRIO
  95. int "WLAN work queue thread priority"
  96. default 15
  97. endif
  98. menuconfig RT_WLAN_DEBUG
  99. bool "Enable WLAN Debugging Options"
  100. default n
  101. if RT_WLAN_DEBUG
  102. config RT_WLAN_CMD_DEBUG
  103. bool "Enable Debugging of wlan_cmd.c"
  104. default n
  105. config RT_WLAN_MGNT_DEBUG
  106. bool "Enable Debugging of wlan_mgnt.c"
  107. default n
  108. config RT_WLAN_DEV_DEBUG
  109. bool "Enable Debugging of wlan_dev.c"
  110. default n
  111. config RT_WLAN_PROT_DEBUG
  112. bool "Enable Debugging of wlan_prot.c"
  113. default n
  114. config RT_WLAN_CFG_DEBUG
  115. bool "Enable Debugging of wlan_cfg.c"
  116. default n
  117. config RT_WLAN_LWIP_DEBUG
  118. bool "Enable Debugging of wlan_lwip.c"
  119. default n
  120. endif
  121. endif