Skip to content

Commit 47bca02

Browse files
rado17jfischer-no
authored andcommitted
[nrf fromlist] net: wifi: shell: Enable Wi-Fi credentials support
Enable Wi-Fi credentials support. Update the heap sizes as required for enterprise mode. Upstream PR #: 88653 Signed-off-by: Ravi Dondaputi <[email protected]> (cherry picked from commit b2c3f2c)
1 parent 777f596 commit 47bca02

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

modules/hostap/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ if WIFI_NM_WPA_SUPPLICANT
2424

2525
config HEAP_MEM_POOL_ADD_SIZE_HOSTAP
2626
def_int 66560 if WIFI_NM_HOSTAPD_AP
27-
def_int 48000 if WIFI_NM_WPA_SUPPLICANT_CRYPTO_ENTERPRISE
27+
def_int 55000 if WIFI_NM_WPA_SUPPLICANT_CRYPTO_ENTERPRISE
2828
def_int 41808 if WIFI_NM_WPA_SUPPLICANT_AP
2929
# 30K is mandatory, but might need more for long duration use cases
3030
def_int 30000

snippets/wifi-enterprise/wifi-enterprise.conf

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,15 @@ CONFIG_NET_BUF_VARIABLE_DATA_SIZE=y
77
CONFIG_MBEDTLS_ENABLE_HEAP=y
88
CONFIG_MBEDTLS_HEAP_SIZE=70000
99

10+
#For use with Wi-Fi Credentials
11+
CONFIG_WIFI_CREDENTIALS=y
12+
CONFIG_FLASH=y
13+
CONFIG_FLASH_PAGE_LAYOUT=y
14+
CONFIG_FLASH_MAP=y
15+
CONFIG_NVS=y
16+
CONFIG_SETTINGS=y
17+
CONFIG_SETTINGS_NVS=y
18+
1019
# For use with TLS credentials
1120
CONFIG_TLS_CREDENTIALS_SHELL=y
1221
CONFIG_BASE64=y

0 commit comments

Comments
 (0)