Skip to content

Commit 5be027d

Browse files
committed
[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]>
1 parent bc8e79b commit 5be027d

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

modules/hostap/Kconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ if WIFI_NM_WPA_SUPPLICANT
2525

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

samples/net/wifi/overlay-enterprise.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ CONFIG_NET_BUF_RX_COUNT=36
77
# For TLS and X.509 processing MbedTLS needs large heap size and using separate heap
88
# for MbedTLS gives us more control over the heap size.
99
CONFIG_MBEDTLS_ENABLE_HEAP=y
10-
CONFIG_MBEDTLS_HEAP_SIZE=60000
10+
CONFIG_MBEDTLS_HEAP_SIZE=70000

samples/net/wifi/shell/prj.conf

+8
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,11 @@ CONFIG_NET_L2_WIFI_SHELL=y
3636
# environment.
3737
CONFIG_NET_MGMT_EVENT_QUEUE_TIMEOUT=5000
3838
CONFIG_NET_MGMT_EVENT_QUEUE_SIZE=16
39+
40+
CONFIG_WIFI_CREDENTIALS=y
41+
CONFIG_FLASH=y
42+
CONFIG_FLASH_PAGE_LAYOUT=y
43+
CONFIG_FLASH_MAP=y
44+
CONFIG_NVS=y
45+
CONFIG_SETTINGS=y
46+
CONFIG_SETTINGS_NVS=y

0 commit comments

Comments
 (0)