-
Notifications
You must be signed in to change notification settings - Fork 8k
Fix enterprise mode external certs #97268
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Fix enterprise mode external certs #97268
Conversation
Add support to set the test certificates directory for enterprise mode when an external certs directory is provided at build time. This change overrides the default certs folder if a different path is specified during build. Signed-off-by: Triveni Danda <[email protected]>
Increased wpa_supplicant heap size for enterprise mode to support larger certificates required during connection. This is needed in case if any larger certs are passed than default certs. Signed-off-by: Triveni Danda <[email protected]>
|
set(gen_inc_dir ${ZEPHYR_BINARY_DIR}/misc/generated) | ||
set(gen_dir ${gen_inc_dir}/wifi_enterprise_test_certs) | ||
zephyr_get(WIFI_TEST_CERTS_DIR SYSBUILD GLOBAL) | ||
message("WIFI_TEST_CERTS_DIR is set to ${WIFI_TEST_CERTS_DIR}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the override is already supported https://docs.zephyrproject.org/latest/connectivity/networking/api/wifi.html#wi-fi-enterprise-test-x-509-certificate-management DWIFI_TEST_CERTS_DIR=<>
, why is this needed? Is it only for sysbuild?
def_int 60000 if WIFI_USAGE_MODE_STA_AP | ||
def_int 55000 if WIFI_NM_WPA_SUPPLICANT_CRYPTO_ENTERPRISE && WIFI_CREDENTIALS | ||
def_int 48000 if WIFI_NM_WPA_SUPPLICANT_CRYPTO_ENTERPRISE | ||
def_int 55000 if WIFI_NM_WPA_SUPPLICANT_CRYPTO_ENTERPRISE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To avoid generic increase, document this and let user configure higher heap? This affects all cases including smaller certs. And also we should define large
certs e.g., chained CAs ..
Add support to set the test certificates directory for enterprise mode when an external certs directory is provided at build time.