Skip to content

Commit 478ad8e

Browse files
plskeggsnordicjm
authored andcommitted
samples: cellular: nrf_cloud_multi_service: Wi-Fi improvements
Switch to using TFM_SFN for faster crypto. Increase TLS credentials buffer size to 3072 to allow for both AWS and CoAP CA certs. Jira: NCSDK-29650 Signed-off-by: Pete Skeggs <[email protected]>
1 parent ab8fe68 commit 478ad8e

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

doc/nrf/releases_and_maturity/releases/release-notes-changelog.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,8 @@ Cellular samples
356356
* An issue with an uninitialized variable in the :c:func:`handle_at_cmd_requests` function.
357357
* An issue with the too small :kconfig:option:`CONFIG_COAP_EXTENDED_OPTIONS_LEN_VALUE` Kconfig value
358358
in the :file:`overlay-coap_nrf_provisioning.conf` file.
359+
* Slow Wi-Fi connectivity startup by selecting ``TFM_SFN`` instead of ``TFM_IPC``.
360+
* The size of TLS credentials buffer for Wi-Fi connectivity to allow installing both AWS and CoAP CA certificates.
359361

360362
* :ref:`lte_sensor_gateway` sample:
361363

samples/cellular/nrf_cloud_multi_service/overlay_nrf700x_wifi_coap_no_lte.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ CONFIG_TFM_PARTITION_PROTECTED_STORAGE=y
4444
## Configure TFM Profile. The NOT_SET profile will enable all features.
4545
## We then reduce some settings to save flash and RAM.
4646
CONFIG_TFM_PROFILE_TYPE_NOT_SET=y
47+
## Select SFN for faster crypto
48+
CONFIG_TFM_IPC=n
49+
CONFIG_TFM_SFN=y
4750
CONFIG_TFM_CRYPTO_CONC_OPER_NUM=4
4851
CONFIG_TFM_CRYPTO_ASYM_SIGN_MODULE_ENABLED=n
4952

samples/cellular/nrf_cloud_multi_service/overlay_nrf700x_wifi_mqtt_no_lte.conf

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ CONFIG_TFM_PARTITION_PROTECTED_STORAGE=y
4343
## Configure TFM Profile. The NOT_SET profile will enable all features.
4444
## We then reduce some settings to save flash and RAM.
4545
CONFIG_TFM_PROFILE_TYPE_NOT_SET=y
46+
## Select SFN for faster crypto
47+
CONFIG_TFM_IPC=n
48+
CONFIG_TFM_SFN=y
4649
CONFIG_TFM_CRYPTO_CONC_OPER_NUM=4
4750
CONFIG_TFM_CRYPTO_ASYM_SIGN_MODULE_ENABLED=n
4851

@@ -63,7 +66,7 @@ CONFIG_TLS_CREDENTIALS_BACKEND_PROTECTED_STORAGE=y
6366
# Increased stack size needed for wifi_cred auto_connect command
6467
CONFIG_SHELL_STACK_SIZE=4850
6568
# nRFCloud credentials can exceed 1024 bytes
66-
CONFIG_TLS_CREDENTIALS_SHELL_CRED_BUF_SIZE=2048
69+
CONFIG_TLS_CREDENTIALS_SHELL_CRED_BUF_SIZE=3072
6770
# Needed by the TLS credentials shell
6871
CONFIG_BASE64=y
6972

0 commit comments

Comments
 (0)