net: wifi: shell: Enable Wi-Fi credentials support
Add a snippet for Wi-Fi credentials support. Update the heap sizes as required for enterprise mode. Signed-off-by: Ravi Dondaputi <ravi.dondaputi@nordicsemi.no>
This commit is contained in:
parent
d289bed4af
commit
4c14c618f6
@ -25,6 +25,7 @@ if WIFI_NM_WPA_SUPPLICANT
|
||||
|
||||
config HEAP_MEM_POOL_ADD_SIZE_HOSTAP
|
||||
def_int 66560 if WIFI_NM_HOSTAPD_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 41808 if WIFI_NM_WPA_SUPPLICANT_AP
|
||||
# 30K is mandatory, but might need more for long duration use cases
|
||||
|
||||
29
snippets/wifi-credentials/README.rst
Normal file
29
snippets/wifi-credentials/README.rst
Normal file
@ -0,0 +1,29 @@
|
||||
.. _snippet-wifi-credentials:
|
||||
|
||||
Wi-Fi Credentials Snippet (wifi-credential)
|
||||
###########################################
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
west build -S wifi-credentials [...]
|
||||
|
||||
Can also be used along with the :ref:`snippet-wifi-enterprise` snippet.
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
west build -S "wifi-enterprise,wifi-credentials" [...]
|
||||
|
||||
Overview
|
||||
********
|
||||
|
||||
This snippet enables Wi-Fi credentials support.
|
||||
|
||||
Requirements
|
||||
************
|
||||
|
||||
Hardware support for:
|
||||
|
||||
- :kconfig:option:`CONFIG_WIFI`
|
||||
- :kconfig:option:`CONFIG_WIFI_USE_NATIVE_NETWORKING`
|
||||
- :kconfig:option:`CONFIG_WIFI_NM_WPA_SUPPLICANT`
|
||||
- :kconfig:option:`CONFIG_WIFI_NM_WPA_SUPPLICANT_CRYPTO_ENTERPRISE`
|
||||
3
snippets/wifi-credentials/snippet.yml
Normal file
3
snippets/wifi-credentials/snippet.yml
Normal file
@ -0,0 +1,3 @@
|
||||
name: wifi-credentials
|
||||
append:
|
||||
EXTRA_CONF_FILE: wifi-credentials.conf
|
||||
8
snippets/wifi-credentials/wifi-credentials.conf
Normal file
8
snippets/wifi-credentials/wifi-credentials.conf
Normal file
@ -0,0 +1,8 @@
|
||||
# For use with Wi-Fi Credentials
|
||||
CONFIG_WIFI_CREDENTIALS=y
|
||||
CONFIG_FLASH=y
|
||||
CONFIG_FLASH_PAGE_LAYOUT=y
|
||||
CONFIG_FLASH_MAP=y
|
||||
CONFIG_NVS=y
|
||||
CONFIG_SETTINGS=y
|
||||
CONFIG_SETTINGS_NVS=y
|
||||
Loading…
Reference in New Issue
Block a user