2017-01-11 05:20:01 -05:00
|
|
|
menu "Example Configuration"
|
|
|
|
|
2022-02-08 04:50:13 -05:00
|
|
|
config EXAMPLE_WIFI_SSID
|
|
|
|
string "WiFi SSID"
|
2023-08-07 06:11:55 -04:00
|
|
|
default "ESP_ENTERPRISE_AP"
|
2022-02-08 04:50:13 -05:00
|
|
|
help
|
|
|
|
SSID (network name) for the example to connect to.
|
|
|
|
|
2021-09-06 08:23:30 -04:00
|
|
|
choice
|
|
|
|
prompt "Enterprise configuration to be used"
|
2023-08-07 06:11:55 -04:00
|
|
|
default EXAMPLE_WPA3_ENTERPRISE
|
|
|
|
config EXAMPLE_WPA2_ENTERPRISE
|
|
|
|
bool "WPA2_ENT"
|
2021-09-06 08:23:30 -04:00
|
|
|
config EXAMPLE_WPA3_ENTERPRISE
|
|
|
|
bool "WPA3_ENT"
|
|
|
|
config EXAMPLE_WPA3_192BIT_ENTERPRISE
|
|
|
|
bool "WPA3_192BIT_ENT"
|
2023-09-11 01:42:59 -04:00
|
|
|
depends on SOC_WIFI_GCMP_SUPPORT
|
2021-10-19 02:36:02 -04:00
|
|
|
select ESP_WIFI_GCMP_SUPPORT
|
|
|
|
select ESP_WIFI_GMAC_SUPPORT
|
2023-02-10 18:38:45 -05:00
|
|
|
select ESP_WIFI_SUITE_B_192
|
2021-09-06 08:23:30 -04:00
|
|
|
endchoice
|
|
|
|
|
2023-08-07 06:11:55 -04:00
|
|
|
if EXAMPLE_WPA2_ENTERPRISE
|
2021-09-06 08:23:30 -04:00
|
|
|
config EXAMPLE_VALIDATE_SERVER_CERT
|
|
|
|
bool "Validate server"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Validate the servers' certificate using CA cert.
|
|
|
|
endif
|
|
|
|
|
2023-08-07 06:11:55 -04:00
|
|
|
if !EXAMPLE_WPA2_ENTERPRISE
|
2021-09-06 08:23:30 -04:00
|
|
|
config EXAMPLE_VALIDATE_SERVER_CERT
|
|
|
|
default y
|
|
|
|
endif
|
2019-10-14 11:37:51 -04:00
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "EAP method for the example to use"
|
2023-08-07 06:11:55 -04:00
|
|
|
default EXAMPLE_EAP_METHOD_TLS
|
2019-10-14 11:37:51 -04:00
|
|
|
config EXAMPLE_EAP_METHOD_TLS
|
|
|
|
bool "TLS"
|
|
|
|
config EXAMPLE_EAP_METHOD_PEAP
|
|
|
|
bool "PEAP"
|
|
|
|
config EXAMPLE_EAP_METHOD_TTLS
|
|
|
|
bool "TTLS"
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config EXAMPLE_EAP_METHOD
|
|
|
|
int
|
|
|
|
default 0 if EXAMPLE_EAP_METHOD_TLS
|
|
|
|
default 1 if EXAMPLE_EAP_METHOD_PEAP
|
|
|
|
default 2 if EXAMPLE_EAP_METHOD_TTLS
|
2019-01-25 11:10:53 -05:00
|
|
|
|
2020-06-23 04:34:23 -04:00
|
|
|
choice
|
|
|
|
prompt "Phase2 method for TTLS"
|
|
|
|
depends on EXAMPLE_EAP_METHOD_TTLS
|
|
|
|
default EXAMPLE_EAP_METHOD_TTLS_PHASE2_MSCHAPV2
|
|
|
|
config EXAMPLE_EAP_METHOD_TTLS_PHASE2_MSCHAPV2
|
|
|
|
bool "MSCHAPV2"
|
|
|
|
config EXAMPLE_EAP_METHOD_TTLS_PHASE2_MSCHAP
|
|
|
|
bool "MSCHAP"
|
|
|
|
config EXAMPLE_EAP_METHOD_TTLS_PHASE2_PAP
|
|
|
|
bool "PAP"
|
|
|
|
config EXAMPLE_EAP_METHOD_TTLS_PHASE2_CHAP
|
|
|
|
bool "CHAP"
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config EXAMPLE_EAP_METHOD_TTLS_PHASE_2
|
|
|
|
int
|
|
|
|
default 1 if EXAMPLE_EAP_METHOD_TTLS_PHASE2_MSCHAPV2
|
|
|
|
default 2 if EXAMPLE_EAP_METHOD_TTLS_PHASE2_MSCHAP
|
|
|
|
default 3 if EXAMPLE_EAP_METHOD_TTLS_PHASE2_PAP
|
|
|
|
default 4 if EXAMPLE_EAP_METHOD_TTLS_PHASE2_CHAP
|
|
|
|
|
2019-05-09 10:43:06 -04:00
|
|
|
config EXAMPLE_EAP_ID
|
2019-01-25 11:10:53 -05:00
|
|
|
string "EAP ID"
|
|
|
|
default "example@espressif.com"
|
|
|
|
help
|
|
|
|
Identity in phase 1 of EAP procedure.
|
|
|
|
|
2019-05-09 10:43:06 -04:00
|
|
|
config EXAMPLE_EAP_USERNAME
|
2019-01-25 11:10:53 -05:00
|
|
|
string "EAP USERNAME"
|
2019-10-14 11:37:51 -04:00
|
|
|
depends on EXAMPLE_EAP_METHOD_PEAP || EXAMPLE_EAP_METHOD_TTLS
|
2019-01-25 11:10:53 -05:00
|
|
|
default "espressif"
|
|
|
|
help
|
2023-08-07 06:11:55 -04:00
|
|
|
Username for EAP method (valid for PEAP and TTLS).
|
2019-01-25 11:10:53 -05:00
|
|
|
|
2019-05-09 10:43:06 -04:00
|
|
|
config EXAMPLE_EAP_PASSWORD
|
2019-01-25 11:10:53 -05:00
|
|
|
string "EAP PASSWORD"
|
2019-10-14 11:37:51 -04:00
|
|
|
depends on EXAMPLE_EAP_METHOD_PEAP || EXAMPLE_EAP_METHOD_TTLS
|
2019-01-25 11:10:53 -05:00
|
|
|
default "test11"
|
|
|
|
help
|
2023-08-07 06:11:55 -04:00
|
|
|
Password for EAP method (valid for PEAP and TTLS).
|
2017-01-11 05:20:01 -05:00
|
|
|
|
2023-08-07 06:11:55 -04:00
|
|
|
config EXAMPLE_USE_DEFAULT_CERT_BUNDLE
|
|
|
|
bool "Use default cert bundle"
|
|
|
|
depends on EXAMPLE_VALIDATE_SERVER_CERT
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Use default CA certificate bundle for WiFi enterprise connection
|
2019-05-09 10:43:06 -04:00
|
|
|
endmenu
|