Extended TCP/IP Feature Bitmap#

This section provides a reference to the Transport Control Protocol and Internet Protocol (TCP/IP) extended feature bitmap in the boot configuration.

Macros#

#define

DHCP USER CLASS.

#define

Enable HTTP server root path (Default configuration page) bypass.

#define

TCP bi-dir ack update.

#define

TCP RX window division.

#define

SSL server certificate bypass, validation from the host.

#define

SSL 16K record size support.

#define

Enable DNS client bypass.

#define

Enable TCP window scaling feature.

#define

Enables both TCP/IP bypass mode & embedded modes.

#define

Enables Ethernet to WIFI bridge.

#define

Enables the Dynamic coex memory.

#define

Configures the number of selects.

#define

To enable socket wait close.

#define

Enable Embedded/internal MQTT.

#define

Enables the http otaf support.

#define

Enabled to update TCP window from host.

#define

Enable to update max receive length for TCP.

#define

Enable three SSL/TLS sockets.

#define

To configure additional memory for SSL/TLS connection typically to a cloud server.

#define

config_feature_bit_map validity

Macro Definition Documentation#

SL_SI91X_EXT_TCP_FEAT_DHCP_OPT77#

#define SL_SI91X_EXT_TCP_FEAT_DHCP_OPT77
Value:
BIT(1)

DHCP USER CLASS.

Note

  • bit 0 is reserved


Definition at line 525 of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h

SL_SI91X_EXT_TCP_IP_HTTP_SERVER_BYPASS#

#define SL_SI91X_EXT_TCP_IP_HTTP_SERVER_BYPASS
Value:
BIT(2)

Enable HTTP server root path (Default configuration page) bypass.


Definition at line 527 of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h

SL_SI91X_EXT_TCP_IP_BI_DIR_ACK_UPDATE#

#define SL_SI91X_EXT_TCP_IP_BI_DIR_ACK_UPDATE
Value:
BIT(3)

TCP bi-dir ack update.

Note

  • Need to enable this bit if user wants to run the bi-directional data transfer.


Definition at line 530 of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h

SL_SI91X_EXT_TCP_IP_WINDOW_DIV#

#define SL_SI91X_EXT_TCP_IP_WINDOW_DIV
Value:
BIT(4)

TCP RX window division.


Definition at line 532 of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h

SL_SI91X_EXT_TCP_IP_CERT_BYPASS#

#define SL_SI91X_EXT_TCP_IP_CERT_BYPASS
Value:
BIT(5)

SSL server certificate bypass, validation from the host.


Definition at line 534 of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h

SL_SI91X_EXT_TCP_IP_SSL_16K_RECORD#

#define SL_SI91X_EXT_TCP_IP_SSL_16K_RECORD
Value:
BIT(6)

SSL 16K record size support.


Definition at line 536 of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h

SL_SI91X_EXT_TCP_IP_DNS_CLIENT_BYPASS#

#define SL_SI91X_EXT_TCP_IP_DNS_CLIENT_BYPASS
Value:
BIT(7)

Enable DNS client bypass.


Definition at line 538 of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h

SL_SI91X_EXT_TCP_IP_WINDOW_SCALING#

#define SL_SI91X_EXT_TCP_IP_WINDOW_SCALING
Value:
BIT(8)

Enable TCP window scaling feature.

Note

  • If this feature is not enabled, then the maximum possible RX window size is 64 KB. If user wants to use more than 64KB window size, tcp_rx_window_size_cap in socket configuration is used to increase the window size.


Definition at line 541 of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h

SL_SI91X_EXT_TCP_IP_DUAL_MODE_ENABLE#

#define SL_SI91X_EXT_TCP_IP_DUAL_MODE_ENABLE
Value:
BIT(9)

Enables both TCP/IP bypass mode & embedded modes.

Note

  • Enabling this feature allows to use both bypass and non bypass modes simultaneously.


Definition at line 544 of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h

SL_SI91X_EXT_TCP_IP_ETH_WIFI_BRIDGE#

#define SL_SI91X_EXT_TCP_IP_ETH_WIFI_BRIDGE
Value:
BIT(10)

Enables Ethernet to WIFI bridge.


Definition at line 546 of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h

SL_SI91X_EXT_DYNAMIC_COEX_MEMORY#

#define SL_SI91X_EXT_DYNAMIC_COEX_MEMORY
Value:
BIT(11)

Enables the Dynamic coex memory.

Note

  • To enable or disable the coex and update TCP RX window accordingly.


Definition at line 549 of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h

SL_SI91X_EXT_TCP_IP_TOTAL_SELECTS#

#define SL_SI91X_EXT_TCP_IP_TOTAL_SELECTS
Value:
(total_selects)

Configures the number of selects.

Note

  • Bit 12 -15 are used for TOTAL_SELECTS and max value can be 10


Definition at line 552 of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h

SL_SI91X_EXT_TCP_IP_WAIT_FOR_SOCKET_CLOSE#

#define SL_SI91X_EXT_TCP_IP_WAIT_FOR_SOCKET_CLOSE
Value:
BIT(16)

To enable socket wait close.

Note

  • If it is set socket will not be closed until close() is called from host. It is recommended to enable this bit when using TCP sockets.

  • This is always set internally for Si91x chips


Definition at line 557 of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h

SL_SI91X_EXT_EMB_MQTT_ENABLE#

#define SL_SI91X_EXT_EMB_MQTT_ENABLE
Value:
BIT(17)

Enable Embedded/internal MQTT.

Note

  • If user wants to use AT command for MQTT, enable this bit in the Opermode Command


Definition at line 560 of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h

SL_SI91X_EXT_FEAT_HTTP_OTAF_SUPPORT#

#define SL_SI91X_EXT_FEAT_HTTP_OTAF_SUPPORT
Value:
BIT(18)

Enables the http otaf support.

Note

  • To do firmware upgrade with HTTP this bit should be enabled


Definition at line 563 of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h

SL_SI91X_EXT_TCP_DYNAMIC_WINDOW_UPDATE_FROM_HOST#

#define SL_SI91X_EXT_TCP_DYNAMIC_WINDOW_UPDATE_FROM_HOST
Value:
BIT(19)

Enabled to update TCP window from host.


Definition at line 565 of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h

SL_SI91X_EXT_TCP_MAX_RECV_LENGTH#

#define SL_SI91X_EXT_TCP_MAX_RECV_LENGTH
Value:
BIT(20)

Enable to update max receive length for TCP.


Definition at line 568 of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h

SL_SI91X_EXT_TCP_IP_FEAT_SSL_THREE_SOCKETS#

#define SL_SI91X_EXT_TCP_IP_FEAT_SSL_THREE_SOCKETS
Value:
BIT(29)

Enable three SSL/TLS sockets.

Note

  • Bit 21-28 are reserved

  • Set tcp_ip_feature_bit_map[31] and ext_tcp_ip_feature_bit_map[29] to open 3 TLS sockets


Definition at line 574 of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h

SL_SI91X_EXT_TCP_IP_FEAT_SSL_MEMORY_CLOUD#

#define SL_SI91X_EXT_TCP_IP_FEAT_SSL_MEMORY_CLOUD
Value:
BIT(30)

To configure additional memory for SSL/TLS connection typically to a cloud server.

Note

  • If user connects to a cloud server using two SSL/TLS connections then it is required to set this bit to avoid 0xD2 error


Definition at line 578 of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h

SL_SI91X_CONFIG_FEAT_EXTENTION_VALID#

#define SL_SI91X_CONFIG_FEAT_EXTENTION_VALID
Value:
BIT(31)

config_feature_bit_map validity


Definition at line 581 of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h