Browse Source
Instead of having an overlay move the Enterprise configurations to a dedicated snippet so that it can be enabled with any sample. Can be used along with Wi-Fi snippet e.g., `-S "wifi-ipv4;wifi-enterprise"`. Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>pull/88778/head
5 changed files with 37 additions and 21 deletions
@ -1,10 +0,0 @@
@@ -1,10 +0,0 @@
|
||||
CONFIG_WIFI_NM_WPA_SUPPLICANT_CRYPTO_ENTERPRISE=y |
||||
# EAP frames are ~1100 bytes, so, need higher packet counts as default packet size is 128 |
||||
CONFIG_NET_PKT_TX_COUNT=36 |
||||
CONFIG_NET_PKT_RX_COUNT=36 |
||||
CONFIG_NET_BUF_TX_COUNT=72 |
||||
CONFIG_NET_BUF_RX_COUNT=36 |
||||
# For TLS and X.509 processing MbedTLS needs large heap size and using separate heap |
||||
# for MbedTLS gives us more control over the heap size. |
||||
CONFIG_MBEDTLS_ENABLE_HEAP=y |
||||
CONFIG_MBEDTLS_HEAP_SIZE=60000 |
@ -0,0 +1,31 @@
@@ -0,0 +1,31 @@
|
||||
.. _snippet-wifi-enterprise: |
||||
|
||||
Wi-Fi Enterprise Snippet (wifi-enterprise) |
||||
########################################## |
||||
|
||||
.. code-block:: console |
||||
|
||||
west build -S wifi-enterprise [...] |
||||
|
||||
Can also be used along with the :ref:`snippet-wifi-ipv4` snippet. |
||||
|
||||
.. code-block:: console |
||||
|
||||
west build -S "wifi-enterprise,wifi-ipv4" [...] |
||||
|
||||
Overview |
||||
******** |
||||
|
||||
This snippet enables enterprise Wi-Fi support in supported networking samples. |
||||
|
||||
See :ref:`wifi_mgmt` for more information on the usage. |
||||
|
||||
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` |
@ -0,0 +1,3 @@
@@ -0,0 +1,3 @@
|
||||
name: wifi-enterprise |
||||
append: |
||||
EXTRA_CONF_FILE: wifi-enterprise.conf |
@ -1,9 +1,8 @@
@@ -1,9 +1,8 @@
|
||||
# Enable Wi-Fi enterprise mode |
||||
CONFIG_WIFI_NM_WPA_SUPPLICANT_CRYPTO_ENTERPRISE=y |
||||
# EAP frames are ~1100 bytes, so, for efficiency, we set the data size to 1100 |
||||
CONFIG_NET_BUF_DATA_SIZE=1100 |
||||
# Use variable data size to reduce memory usage for small data packets |
||||
CONFIG_NET_BUF_VARIABLE_DATA_SIZE=y |
||||
# For TLS and X.509 processing MbedTLS needs large heap size and using separate heap |
||||
# for MbedTLS gives us more control over the heap size. |
||||
CONFIG_MBEDTLS_ENABLE_HEAP=y |
||||
CONFIG_MBEDTLS_HEAP_SIZE=55000 |
||||
CONFIG_MBEDTLS_HEAP_SIZE=70000 |
Loading…
Reference in new issue