Skip to content

Commit d107b04

Browse files
krish2718carlescufi
authored andcommitted
samples: wifi: Add overlays for Enterprise mode
This overlay has all necessary configuration needed for Enterprise mode. Two variants are given, once with fixed size network buffers and other with variable size network buffers (still experimental). Signed-off-by: Chaitanya Tata <[email protected]>
1 parent 39b904d commit d107b04

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
CONFIG_WIFI_NM_WPA_SUPPLICANT_CRYPTO_ENTERPRISE=y
2+
# EAP frames are ~1100 bytes, so, for efficiency, we set the data size to 1100
3+
CONFIG_NET_BUF_DATA_SIZE=1100
4+
# Use variable data size to reduce memory usage for small data packets
5+
CONFIG_NET_BUF_VARIABLE_DATA_SIZE=y
6+
# For TLS and X.509 processing MbedTLS needs large heap size and using separate heap
7+
# for MbedTLS gives us more control over the heap size.
8+
CONFIG_MBEDTLS_ENABLE_HEAP=y
9+
CONFIG_MBEDTLS_HEAP_SIZE=55000
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
CONFIG_WIFI_NM_WPA_SUPPLICANT_CRYPTO_ENTERPRISE=y
2+
# EAP frames are ~1100 bytes, so, need higher packet counts as default packet size is 128
3+
CONFIG_NET_PKT_TX_COUNT=36
4+
CONFIG_NET_PKT_RX_COUNT=36
5+
CONFIG_NET_BUF_TX_COUNT=72
6+
CONFIG_NET_BUF_RX_COUNT=36
7+
# For TLS and X.509 processing MbedTLS needs large heap size and using separate heap
8+
# for MbedTLS gives us more control over the heap size.
9+
CONFIG_MBEDTLS_ENABLE_HEAP=y
10+
CONFIG_MBEDTLS_HEAP_SIZE=55000

0 commit comments

Comments
 (0)