Kconfig 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626
  1. menu "Wi-Fi"
  2. # TODO: Disable WIFI support on ESP32-H2 (WIFI-5796)
  3. # visible if SOC_WIFI_SUPPORTED
  4. config ESP_WIFI_ENABLED
  5. bool
  6. default y if SOC_WIFI_SUPPORTED
  7. config ESP_WIFI_STATIC_RX_BUFFER_NUM
  8. int "Max number of WiFi static RX buffers"
  9. range 2 25 if !SOC_WIFI_HE_SUPPORT
  10. range 2 128 if SOC_WIFI_HE_SUPPORT
  11. default 10 if !SPIRAM_TRY_ALLOCATE_WIFI_LWIP
  12. default 16 if SPIRAM_TRY_ALLOCATE_WIFI_LWIP
  13. help
  14. Set the number of WiFi static RX buffers. Each buffer takes approximately 1.6KB of RAM.
  15. The static rx buffers are allocated when esp_wifi_init is called, they are not freed
  16. until esp_wifi_deinit is called.
  17. WiFi hardware use these buffers to receive all 802.11 frames.
  18. A higher number may allow higher throughput but increases memory use. If ESP_WIFI_AMPDU_RX_ENABLED
  19. is enabled, this value is recommended to set equal or bigger than ESP_WIFI_RX_BA_WIN in order to
  20. achieve better throughput and compatibility with both stations and APs.
  21. config ESP_WIFI_DYNAMIC_RX_BUFFER_NUM
  22. int "Max number of WiFi dynamic RX buffers"
  23. range 0 128 if !LWIP_WND_SCALE
  24. range 0 1024 if LWIP_WND_SCALE
  25. default 32
  26. help
  27. Set the number of WiFi dynamic RX buffers, 0 means unlimited RX buffers will be allocated
  28. (provided sufficient free RAM). The size of each dynamic RX buffer depends on the size of
  29. the received data frame.
  30. For each received data frame, the WiFi driver makes a copy to an RX buffer and then delivers
  31. it to the high layer TCP/IP stack. The dynamic RX buffer is freed after the higher layer has
  32. successfully received the data frame.
  33. For some applications, WiFi data frames may be received faster than the application can
  34. process them. In these cases we may run out of memory if RX buffer number is unlimited (0).
  35. If a dynamic RX buffer limit is set, it should be at least the number of static RX buffers.
  36. choice ESP_WIFI_TX_BUFFER
  37. prompt "Type of WiFi TX buffers"
  38. default ESP_WIFI_DYNAMIC_TX_BUFFER
  39. help
  40. Select type of WiFi TX buffers:
  41. If "Static" is selected, WiFi TX buffers are allocated when WiFi is initialized and released
  42. when WiFi is de-initialized. The size of each static TX buffer is fixed to about 1.6KB.
  43. If "Dynamic" is selected, each WiFi TX buffer is allocated as needed when a data frame is
  44. delivered to the Wifi driver from the TCP/IP stack. The buffer is freed after the data frame
  45. has been sent by the WiFi driver. The size of each dynamic TX buffer depends on the length
  46. of each data frame sent by the TCP/IP layer.
  47. If PSRAM is enabled, "Static" should be selected to guarantee enough WiFi TX buffers.
  48. If PSRAM is disabled, "Dynamic" should be selected to improve the utilization of RAM.
  49. config ESP_WIFI_STATIC_TX_BUFFER
  50. bool "Static"
  51. config ESP_WIFI_DYNAMIC_TX_BUFFER
  52. bool "Dynamic"
  53. depends on !SPIRAM_USE_MALLOC
  54. endchoice
  55. config ESP_WIFI_TX_BUFFER_TYPE
  56. int
  57. default 0 if ESP_WIFI_STATIC_TX_BUFFER
  58. default 1 if ESP_WIFI_DYNAMIC_TX_BUFFER
  59. config ESP_WIFI_STATIC_TX_BUFFER_NUM
  60. int "Max number of WiFi static TX buffers"
  61. depends on ESP_WIFI_STATIC_TX_BUFFER
  62. range 1 64
  63. default 16
  64. help
  65. Set the number of WiFi static TX buffers. Each buffer takes approximately 1.6KB of RAM.
  66. The static RX buffers are allocated when esp_wifi_init() is called, they are not released
  67. until esp_wifi_deinit() is called.
  68. For each transmitted data frame from the higher layer TCP/IP stack, the WiFi driver makes a
  69. copy of it in a TX buffer. For some applications especially UDP applications, the upper
  70. layer can deliver frames faster than WiFi layer can transmit. In these cases, we may run out
  71. of TX buffers.
  72. config ESP_WIFI_CACHE_TX_BUFFER_NUM
  73. int "Max number of WiFi cache TX buffers"
  74. depends on SPIRAM
  75. range 16 128
  76. default 32
  77. help
  78. Set the number of WiFi cache TX buffer number.
  79. For each TX packet from uplayer, such as LWIP etc, WiFi driver needs to allocate a static TX
  80. buffer and makes a copy of uplayer packet. If WiFi driver fails to allocate the static TX buffer,
  81. it caches the uplayer packets to a dedicated buffer queue, this option is used to configure the
  82. size of the cached TX queue.
  83. config ESP_WIFI_DYNAMIC_TX_BUFFER_NUM
  84. int "Max number of WiFi dynamic TX buffers"
  85. depends on ESP_WIFI_DYNAMIC_TX_BUFFER
  86. range 1 128
  87. default 32
  88. help
  89. Set the number of WiFi dynamic TX buffers. The size of each dynamic TX buffer is not fixed,
  90. it depends on the size of each transmitted data frame.
  91. For each transmitted frame from the higher layer TCP/IP stack, the WiFi driver makes a copy
  92. of it in a TX buffer. For some applications, especially UDP applications, the upper layer
  93. can deliver frames faster than WiFi layer can transmit. In these cases, we may run out of TX
  94. buffers.
  95. choice ESP_WIFI_MGMT_RX_BUFFER
  96. prompt "Type of WiFi RX MGMT buffers"
  97. default ESP_WIFI_STATIC_RX_MGMT_BUFFER
  98. help
  99. Select type of WiFi RX MGMT buffers:
  100. If "Static" is selected, WiFi RX MGMT buffers are allocated when WiFi is initialized and released
  101. when WiFi is de-initialized. The size of each static RX MGMT buffer is fixed to about 500 Bytes.
  102. If "Dynamic" is selected, each WiFi RX MGMT buffer is allocated as needed when a MGMT data frame is
  103. received. The MGMT buffer is freed after the MGMT data frame has been processed by the WiFi driver.
  104. config ESP_WIFI_STATIC_RX_MGMT_BUFFER
  105. bool "Static"
  106. config ESP_WIFI_DYNAMIC_RX_MGMT_BUFFER
  107. bool "Dynamic"
  108. endchoice
  109. config ESP_WIFI_DYNAMIC_RX_MGMT_BUF
  110. int
  111. default 0 if ESP_WIFI_STATIC_RX_MGMT_BUFFER
  112. default 1 if ESP_WIFI_DYNAMIC_RX_MGMT_BUFFER
  113. config ESP_WIFI_RX_MGMT_BUF_NUM_DEF
  114. int "Max number of WiFi RX MGMT buffers"
  115. range 1 10
  116. default 5
  117. help
  118. Set the number of WiFi RX_MGMT buffers.
  119. For Management buffers, the number of dynamic and static management buffers is the same.
  120. In order to prevent memory fragmentation, the management buffer type should be set to static first.
  121. config ESP_WIFI_CSI_ENABLED
  122. bool "WiFi CSI(Channel State Information)"
  123. depends on SOC_WIFI_CSI_SUPPORT
  124. default n
  125. help
  126. Select this option to enable CSI(Channel State Information) feature. CSI takes about
  127. CONFIG_ESP_WIFI_STATIC_RX_BUFFER_NUM KB of RAM. If CSI is not used, it is better to disable
  128. this feature in order to save memory.
  129. config ESP_WIFI_AMPDU_TX_ENABLED
  130. bool "WiFi AMPDU TX"
  131. default y
  132. help
  133. Select this option to enable AMPDU TX feature
  134. config ESP_WIFI_TX_BA_WIN
  135. int "WiFi AMPDU TX BA window size"
  136. depends on ESP_WIFI_AMPDU_TX_ENABLED
  137. range 2 32 if !SOC_WIFI_HE_SUPPORT
  138. range 2 64 if SOC_WIFI_HE_SUPPORT
  139. default 6
  140. help
  141. Set the size of WiFi Block Ack TX window. Generally a bigger value means higher throughput but
  142. more memory. Most of time we should NOT change the default value unless special reason, e.g.
  143. test the maximum UDP TX throughput with iperf etc. For iperf test in shieldbox, the recommended
  144. value is 9~12.
  145. config ESP_WIFI_AMPDU_RX_ENABLED
  146. bool "WiFi AMPDU RX"
  147. default y
  148. help
  149. Select this option to enable AMPDU RX feature
  150. config ESP_WIFI_RX_BA_WIN
  151. int "WiFi AMPDU RX BA window size"
  152. depends on ESP_WIFI_AMPDU_RX_ENABLED
  153. range 2 32 if !SOC_WIFI_HE_SUPPORT
  154. range 2 64 if SOC_WIFI_HE_SUPPORT
  155. default 6 if !SPIRAM_TRY_ALLOCATE_WIFI_LWIP
  156. default 16 if SPIRAM_TRY_ALLOCATE_WIFI_LWIP
  157. help
  158. Set the size of WiFi Block Ack RX window. Generally a bigger value means higher throughput and better
  159. compatibility but more memory. Most of time we should NOT change the default value unless special
  160. reason, e.g. test the maximum UDP RX throughput with iperf etc. For iperf test in shieldbox, the
  161. recommended value is 9~12. If PSRAM is used and WiFi memory is prefered to allocat in PSRAM first,
  162. the default and minimum value should be 16 to achieve better throughput and compatibility with both
  163. stations and APs.
  164. config ESP_WIFI_AMSDU_TX_ENABLED
  165. bool "WiFi AMSDU TX"
  166. depends on SPIRAM
  167. default n
  168. help
  169. Select this option to enable AMSDU TX feature
  170. config ESP_WIFI_NVS_ENABLED
  171. bool "WiFi NVS flash"
  172. default y
  173. help
  174. Select this option to enable WiFi NVS flash
  175. choice ESP_WIFI_TASK_CORE_ID
  176. depends on !FREERTOS_UNICORE
  177. prompt "WiFi Task Core ID"
  178. default ESP_WIFI_TASK_PINNED_TO_CORE_0
  179. help
  180. Pinned WiFi task to core 0 or core 1.
  181. config ESP_WIFI_TASK_PINNED_TO_CORE_0
  182. bool "Core 0"
  183. config ESP_WIFI_TASK_PINNED_TO_CORE_1
  184. bool "Core 1"
  185. endchoice
  186. config ESP_WIFI_SOFTAP_BEACON_MAX_LEN
  187. int "Max length of WiFi SoftAP Beacon"
  188. range 752 1256
  189. default 752
  190. help
  191. ESP-MESH utilizes beacon frames to detect and resolve root node conflicts (see documentation). However the
  192. default length of a beacon frame can simultaneously hold only five root node identifier structures,
  193. meaning that a root node conflict of up to five nodes can be detected at one time. In the occurence of
  194. more root nodes conflict involving more than five root nodes, the conflict resolution process will detect
  195. five of the root nodes, resolve the conflict, and re-detect more root nodes. This process will repeat
  196. until all root node conflicts are resolved. However this process can generally take a very long time.
  197. To counter this situation, the beacon frame length can be increased such that more root nodes can be
  198. detected simultaneously. Each additional root node will require 36 bytes and should be added ontop of the
  199. default beacon frame length of
  200. 752 bytes. For example, if you want to detect 10 root nodes simultaneously, you need to set the beacon
  201. frame length as
  202. 932 (752+36*5).
  203. Setting a longer beacon length also assists with debugging as the conflicting root nodes can be identified
  204. more quickly.
  205. config ESP_WIFI_MGMT_SBUF_NUM
  206. int "WiFi mgmt short buffer number"
  207. range 6 32
  208. default 32
  209. help
  210. Set the number of WiFi management short buffer.
  211. config ESP_WIFI_IRAM_OPT
  212. bool "WiFi IRAM speed optimization"
  213. default n if (BT_ENABLED && SPIRAM && IDF_TARGET_ESP32)
  214. default y
  215. help
  216. Select this option to place frequently called Wi-Fi library functions in IRAM.
  217. When this option is disabled, more than 10Kbytes of IRAM memory will be saved
  218. but Wi-Fi throughput will be reduced.
  219. config ESP_WIFI_EXTRA_IRAM_OPT
  220. bool "WiFi EXTRA IRAM speed optimization"
  221. default y if IDF_TARGET_ESP32C6
  222. default n
  223. help
  224. Select this option to place additional frequently called Wi-Fi library functions
  225. in IRAM. When this option is disabled, more than 5Kbytes of IRAM memory will be saved
  226. but Wi-Fi throughput will be reduced.
  227. config ESP_WIFI_RX_IRAM_OPT
  228. bool "WiFi RX IRAM speed optimization"
  229. default n if (BT_ENABLED && SPIRAM && IDF_TARGET_ESP32)
  230. default y
  231. help
  232. Select this option to place frequently called Wi-Fi library RX functions in IRAM.
  233. When this option is disabled, more than 17Kbytes of IRAM memory will be saved
  234. but Wi-Fi performance will be reduced.
  235. config ESP_WIFI_ENABLE_WPA3_SAE
  236. bool "Enable WPA3-Personal"
  237. default y
  238. select ESP_WIFI_MBEDTLS_CRYPTO
  239. help
  240. Select this option to allow the device to establish a WPA3-Personal connection with eligible AP's.
  241. PMF (Protected Management Frames) is a prerequisite feature for a WPA3 connection, it needs to be
  242. explicitly configured before attempting connection. Please refer to the Wi-Fi Driver API Guide for details.
  243. config ESP_WIFI_ENABLE_SAE_PK
  244. bool "Enable SAE-PK"
  245. default y
  246. depends on ESP_WIFI_ENABLE_WPA3_SAE
  247. help
  248. Select this option to enable SAE-PK
  249. config ESP_WIFI_SOFTAP_SAE_SUPPORT
  250. bool "Enable WPA3 Personal(SAE) SoftAP"
  251. default y
  252. depends on ESP_WIFI_ENABLE_WPA3_SAE
  253. depends on ESP_WIFI_SOFTAP_SUPPORT
  254. help
  255. Select this option to enable SAE support in softAP mode.
  256. config ESP_WIFI_ENABLE_WPA3_OWE_STA
  257. bool "Enable OWE STA"
  258. default y
  259. select ESP_WIFI_MBEDTLS_CRYPTO
  260. help
  261. Select this option to allow the device to establish OWE connection with eligible AP's.
  262. PMF (Protected Management Frames) is a prerequisite feature for a WPA3 connection, it needs to be
  263. explicitly configured before attempting connection. Please refer to the Wi-Fi Driver API Guide for details.
  264. config ESP_WIFI_SLP_IRAM_OPT
  265. bool "WiFi SLP IRAM speed optimization"
  266. select PM_SLP_DEFAULT_PARAMS_OPT
  267. select PERIPH_CTRL_FUNC_IN_IRAM
  268. help
  269. Select this option to place called Wi-Fi library TBTT process and receive beacon functions in IRAM.
  270. Some functions can be put in IRAM either by ESP_WIFI_IRAM_OPT and ESP_WIFI_RX_IRAM_OPT, or this one.
  271. If already enabled ESP_WIFI_IRAM_OPT, the other 7.3KB IRAM memory would be taken by this option.
  272. If already enabled ESP_WIFI_RX_IRAM_OPT, the other 1.3KB IRAM memory would be taken by this option.
  273. If neither of them are enabled, the other 7.4KB IRAM memory would be taken by this option.
  274. Wi-Fi power-save mode average current would be reduced if this option is enabled.
  275. config ESP_WIFI_SLP_DEFAULT_MIN_ACTIVE_TIME
  276. int "Minimum active time"
  277. range 8 60
  278. default 50
  279. depends on ESP_WIFI_SLP_IRAM_OPT
  280. help
  281. The minimum timeout for waiting to receive data, unit: milliseconds.
  282. config ESP_WIFI_SLP_DEFAULT_MAX_ACTIVE_TIME
  283. int "Maximum keep alive time"
  284. range 10 60
  285. default 10
  286. depends on ESP_WIFI_SLP_IRAM_OPT
  287. help
  288. The maximum time that wifi keep alive, unit: seconds.
  289. config ESP_WIFI_FTM_ENABLE
  290. bool "WiFi FTM"
  291. default n
  292. depends on SOC_WIFI_FTM_SUPPORT
  293. help
  294. Enable feature Fine Timing Measurement for calculating WiFi Round-Trip-Time (RTT).
  295. config ESP_WIFI_FTM_INITIATOR_SUPPORT
  296. bool "FTM Initiator support"
  297. default y
  298. depends on ESP_WIFI_FTM_ENABLE
  299. config ESP_WIFI_FTM_RESPONDER_SUPPORT
  300. bool "FTM Responder support"
  301. default y
  302. depends on ESP_WIFI_FTM_ENABLE
  303. config ESP_WIFI_STA_DISCONNECTED_PM_ENABLE
  304. bool "Power Management for station at disconnected"
  305. default y
  306. help
  307. Select this option to enable power_management for station when disconnected.
  308. Chip will do modem-sleep when rf module is not in use any more.
  309. config ESP_WIFI_GCMP_SUPPORT
  310. bool "WiFi GCMP Support(GCMP128 and GCMP256)"
  311. default n
  312. depends on SOC_WIFI_GCMP_SUPPORT
  313. help
  314. Select this option to enable GCMP support. GCMP support is compulsory for WiFi Suite-B support.
  315. config ESP_WIFI_GMAC_SUPPORT
  316. bool "WiFi GMAC Support(GMAC128 and GMAC256)"
  317. default n
  318. help
  319. Select this option to enable GMAC support. GMAC support is compulsory for WiFi 192 bit certification.
  320. config ESP_WIFI_SOFTAP_SUPPORT
  321. bool "WiFi SoftAP Support"
  322. default y
  323. help
  324. WiFi module can be compiled without SoftAP to save code size.
  325. config ESP_WIFI_ENHANCED_LIGHT_SLEEP
  326. bool "WiFi modem automatically receives the beacon"
  327. default n
  328. depends on ESP_PHY_MAC_BB_PD && SOC_PM_SUPPORT_BEACON_WAKEUP
  329. help
  330. The wifi modem automatically receives the beacon frame during light sleep.
  331. config ESP_WIFI_SLP_BEACON_LOST_OPT
  332. bool "Wifi sleep optimize when beacon lost"
  333. help
  334. Enable wifi sleep optimization when beacon loss occurs and immediately enter
  335. sleep mode when the WiFi module detects beacon loss.
  336. config ESP_WIFI_SLP_BEACON_LOST_TIMEOUT
  337. int "Beacon loss timeout"
  338. range 5 100
  339. default 10
  340. depends on ESP_WIFI_SLP_BEACON_LOST_OPT
  341. help
  342. Timeout time for close rf phy when beacon loss occurs, Unit: 1024 microsecond.
  343. config ESP_WIFI_SLP_BEACON_LOST_THRESHOLD
  344. int "Maximum number of consecutive lost beacons allowed"
  345. range 0 8
  346. default 3
  347. depends on ESP_WIFI_SLP_BEACON_LOST_OPT
  348. help
  349. Maximum number of consecutive lost beacons allowed, WiFi keeps Rx state when
  350. the number of consecutive beacons lost is greater than the given threshold.
  351. config ESP_WIFI_SLP_PHY_ON_DELTA_EARLY_TIME
  352. int "Delta early time for RF PHY on"
  353. range 0 100
  354. default 2
  355. depends on ESP_WIFI_SLP_BEACON_LOST_OPT && SOC_WIFI_SUPPORT_VARIABLE_BEACON_WINDOW
  356. help
  357. Delta early time for rf phy on, When the beacon is lost, the next rf phy on will
  358. be earlier the time specified by the configuration item, Unit: 32 microsecond.
  359. config ESP_WIFI_SLP_PHY_OFF_DELTA_TIMEOUT_TIME
  360. int "Delta timeout time for RF PHY off"
  361. range 0 8
  362. default 2
  363. depends on ESP_WIFI_SLP_BEACON_LOST_OPT && SOC_WIFI_SUPPORT_VARIABLE_BEACON_WINDOW
  364. help
  365. Delta timeout time for rf phy off, When the beacon is lost, the next rf phy off will
  366. be delayed for the time specified by the configuration item. Unit: 1024 microsecond.
  367. config ESP_WIFI_ESPNOW_MAX_ENCRYPT_NUM
  368. int "Maximum espnow encrypt peers number"
  369. range 0 4 if IDF_TARGET_ESP32C2
  370. range 0 17 if (!IDF_TARGET_ESP32C2)
  371. default 2 if IDF_TARGET_ESP32C2
  372. default 7 if (!IDF_TARGET_ESP32C2)
  373. help
  374. Maximum number of encrypted peers supported by espnow.
  375. The number of hardware keys for encryption is fixed. And the espnow and SoftAP share the same
  376. hardware keys. So this configuration will affect the maximum connection number of SoftAP.
  377. Maximum espnow encrypted peers number + maximum number of connections of SoftAP = Max hardware keys number.
  378. When using ESP mesh, this value should be set to a maximum of 6.
  379. config ESP_WIFI_NAN_ENABLE
  380. bool "WiFi Aware"
  381. default n
  382. depends on SOC_WIFI_NAN_SUPPORT
  383. help
  384. Enable WiFi Aware (NAN) feature.
  385. config ESP_WIFI_ENABLE_WIFI_TX_STATS
  386. bool "Enable Wi-Fi transmission statistics"
  387. depends on SOC_WIFI_HE_SUPPORT
  388. default "y"
  389. help
  390. Enable Wi-Fi transmission statistics. Total support 4 access category. Each access category
  391. will use 346 bytes memory.
  392. config ESP_WIFI_MBEDTLS_CRYPTO
  393. bool "Use MbedTLS crypto APIs"
  394. default y
  395. select MBEDTLS_AES_C
  396. select MBEDTLS_ECP_C
  397. select MBEDTLS_ECDH_C
  398. select MBEDTLS_ECDSA_C
  399. select MBEDTLS_CMAC_C
  400. select MBEDTLS_ECP_DP_SECP256R1_ENABLED
  401. help
  402. Select this option to enable the use of MbedTLS crypto APIs.
  403. The internal crypto support within the supplicant is limited
  404. and may not suffice for all new security features, including WPA3.
  405. It is recommended to always keep this option enabled. Additionally,
  406. note that MbedTLS can leverage hardware acceleration if available,
  407. resulting in significantly faster cryptographic operations.
  408. if ESP_WIFI_MBEDTLS_CRYPTO
  409. config ESP_WIFI_MBEDTLS_TLS_CLIENT
  410. bool "Use MbedTLS TLS client for WiFi Enterprise connection"
  411. default y
  412. select MBEDTLS_TLS_ENABLED
  413. help
  414. Select this option to use MbedTLS TLS client for WPA2 enterprise connection.
  415. Please note that from MbedTLS-3.0 onwards, MbedTLS does not support SSL-3.0
  416. TLS-v1.0, TLS-v1.1 versions. Incase your server is using one of these version,
  417. it is advisable to update your server.
  418. Please disable this option for compatibilty with older TLS versions.
  419. endif
  420. config ESP_WIFI_WAPI_PSK
  421. bool "Enable WAPI PSK support"
  422. depends on SOC_WIFI_WAPI_SUPPORT
  423. default n
  424. help
  425. Select this option to enable WAPI-PSK
  426. which is a Chinese National Standard Encryption for Wireless LANs (GB 15629.11-2003).
  427. config ESP_WIFI_SUITE_B_192
  428. bool "Enable NSA suite B support with 192 bit key"
  429. default n
  430. depends on SOC_WIFI_GCMP_SUPPORT
  431. select ESP_WIFI_GCMP_SUPPORT
  432. select ESP_WIFI_GMAC_SUPPORT
  433. help
  434. Select this option to enable 192 bit NSA suite-B.
  435. This is necessary to support WPA3 192 bit security.
  436. config ESP_WIFI_11KV_SUPPORT
  437. bool "Enable 802.11k, 802.11v APIs Support"
  438. default n
  439. help
  440. Select this option to enable 802.11k 802.11v APIs(RRM and BTM support).
  441. Only APIs which are helpful for network assisted roaming
  442. are supported for now.
  443. Enable this option with BTM and RRM enabled in sta config
  444. to make device ready for network assisted roaming.
  445. BTM: BSS transition management enables an AP to request a station to transition
  446. to a specific AP, or to indicate to a station a set of preferred APs.
  447. RRM: Radio measurements enable STAs to understand the radio environment,
  448. it enables STAs to observe and gather data on radio link performance
  449. and on the radio environment. Current implementation adds beacon report,
  450. link measurement, neighbor report.
  451. config ESP_WIFI_SCAN_CACHE
  452. bool "Keep scan results in cache"
  453. depends on ESP_WIFI_11KV_SUPPORT
  454. default n
  455. help
  456. Keep scan results in cache, if not enabled, those
  457. will be flushed immediately.
  458. config ESP_WIFI_MBO_SUPPORT
  459. bool "Enable Multi Band Operation Certification Support"
  460. default n
  461. select ESP_WIFI_11KV_SUPPORT
  462. select ESP_WIFI_SCAN_CACHE
  463. help
  464. Select this option to enable WiFi Multiband operation certification support.
  465. config ESP_WIFI_DPP_SUPPORT
  466. bool "Enable DPP support"
  467. default n
  468. select ESP_WIFI_MBEDTLS_CRYPTO
  469. help
  470. Select this option to enable WiFi Easy Connect Support.
  471. config ESP_WIFI_11R_SUPPORT
  472. bool "Enable 802.11R (Fast Transition) Support"
  473. default n
  474. help
  475. Select this option to enable WiFi Fast Transition Support.
  476. config ESP_WIFI_WPS_SOFTAP_REGISTRAR
  477. bool "Add WPS Registrar support in SoftAP mode"
  478. depends on ESP_WIFI_SOFTAP_SUPPORT
  479. default n
  480. help
  481. Select this option to enable WPS registrar support in softAP mode.
  482. config ESP_WIFI_ENABLE_WIFI_RX_STATS
  483. bool "Enable Wi-Fi reception statistics"
  484. depends on SOC_WIFI_HE_SUPPORT
  485. default "y"
  486. help
  487. Enable Wi-Fi reception statistics. Total support 2 access category. Each access category
  488. will use 190 bytes memory.
  489. config ESP_WIFI_ENABLE_WIFI_RX_MU_STATS
  490. bool "Enable Wi-Fi DL MU-MIMO and DL OFDMA reception statistics"
  491. depends on ESP_WIFI_ENABLE_WIFI_RX_STATS
  492. default "y"
  493. help
  494. Enable Wi-Fi DL MU-MIMO and DL OFDMA reception statistics. Will use 10932 bytes memory.
  495. menu "WPS Configuration Options"
  496. config ESP_WIFI_WPS_STRICT
  497. bool "Strictly validate all WPS attributes"
  498. default n
  499. help
  500. Select this option to enable validate each WPS attribute
  501. rigorously. Disabling this add the workaorunds with various APs.
  502. Enabling this may cause inter operability issues with some APs.
  503. config ESP_WIFI_WPS_PASSPHRASE
  504. bool "Get WPA2 passphrase in WPS config"
  505. default n
  506. help
  507. Select this option to get passphrase during WPS configuration.
  508. This option fakes the virtual display capabilites to get the
  509. configuration in passphrase mode.
  510. Not recommanded to be used since WPS credentials should not
  511. be shared to other devices, making it in readable format increases
  512. that risk, also passphrase requires pbkdf2 to convert in psk.
  513. endmenu # "WPS Configuration Options"
  514. config ESP_WIFI_DEBUG_PRINT
  515. bool "Print debug messages from WPA Supplicant"
  516. default n
  517. help
  518. Select this option to print logging information from WPA supplicant,
  519. this includes handshake information and key hex dumps depending
  520. on the project logging level.
  521. Enabling this could increase the build size ~60kb
  522. depending on the project logging level.
  523. config ESP_WIFI_TESTING_OPTIONS
  524. bool "Add DPP testing code"
  525. default n
  526. help
  527. Select this to enable unity test for DPP.
  528. config ESP_WIFI_ENTERPRISE_SUPPORT
  529. bool "Enable enterprise option"
  530. default y
  531. help
  532. Select this to enable/disable enterprise connection support.
  533. disabling this will reduce binary size.
  534. disabling this will disable the use of any esp_wifi_sta_wpa2_ent_* (as APIs will be meaningless)
  535. endmenu # Wi-Fi