Custom Feature Bitmap#

This section provides a reference to the custom feature bitmap in the boot configuration.

Macros#

#define

Disables gateway config sent to STA from RSI AP.

#define

To configure the clock for NWP SOC 160Mhz If higher performance is needed(like High throughput) then this configuration is needed.

#define

If this bit is set, AP is created in hidden mode This bit is valid only in case of AP mode.

#define

DNS server IP address in DHCP offer response in AP mode.

#define

Support for scanning in DFS channels() in 5GHZ band This bit is valid in WiFi client mode.

#define

If this bit is set, it enables the LED blinking feature after module initialization.

#define

If this bit is enabled, module indicates the host the wlan connection status asynchronously This bit is valid in case of Wi-Fi client mode.

#define

Wake on wireless indication in UART mode.

#define

Enables AP blacklisting in STA mode.

#define

Number of clients to support in AP/WFD mode Bit 13 -16 are used to set MAX_NUM_OF_CLIENTS.

#define

select between de-authentication or null data (with power management bit set) based roaming.

#define

Trigger Auto Configuration.

#define

In AP mode, If set only two packets per STA will be buffered when STA is in PS.

#define

Bit to set HTTP Authentication.

#define

To configure the clock for NWP SOC 120Mhz.

#define

HTTP server credentials to host in get configuration command.

#define

For a LTCP socket when maximum clients are connected if a new connection request is received, then this connection request will be rejected immediately.

#define

Enables Dual band roaming and vcsafd feature.

#define

Real time clock from host.

#define

Custom feat BT IAP.

#define

Extention valid to use Extended custom feature bitmap.

Macro Definition Documentation#

SL_SI91X_CUSTOM_FEAT_DISABLE_GATEWAY_IN_RSI_AP#

#define SL_SI91X_CUSTOM_FEAT_DISABLE_GATEWAY_IN_RSI_AP
Value:
BIT(2)

Disables gateway config sent to STA from RSI AP.

Note

  • Bits 0 -1 are reserved

  • If this bit is set to 1, the DHCP server behavior changes when the device is in AP mode. The DHCP server, when it assigns IP addresses to the client nodes, does not send out a Gateway address, and sends only the assigned IP and Subnet values to the client. It is highly recommended to keep this value at '0' as the changed behavior is required in only very specialized use cases and not in normal AP functionality. The default value of this bit is '0'.


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

SL_SI91X_CUSTOM_FEAT_SOC_CLK_CONFIG_160MHZ#

#define SL_SI91X_CUSTOM_FEAT_SOC_CLK_CONFIG_160MHZ
Value:
BIT(4)

To configure the clock for NWP SOC 160Mhz If higher performance is needed(like High throughput) then this configuration is needed.

Note

  • Need to set pll_mode to 1 in feature frame command


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

SL_SI91X_CUSTOM_FEAT_AP_IN_HIDDEN_MODE#

#define SL_SI91X_CUSTOM_FEAT_AP_IN_HIDDEN_MODE
Value:
BIT(5)

If this bit is set, AP is created in hidden mode This bit is valid only in case of AP mode.


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

SL_SI91X_CUSTOM_FEAT_DNS_SERVER_IN_DHCP_OFFER#

#define SL_SI91X_CUSTOM_FEAT_DNS_SERVER_IN_DHCP_OFFER
Value:
BIT(6)

DNS server IP address in DHCP offer response in AP mode.


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

SL_SI91X_CUSTOM_FEAT_DFS_CHANNEL_SUPPORT#

#define SL_SI91X_CUSTOM_FEAT_DFS_CHANNEL_SUPPORT
Value:
BIT(8)

Support for scanning in DFS channels() in 5GHZ band This bit is valid in WiFi client mode.

Note

  • Bit 7 is reserved

  • it's mandatory to set region before scanning DFS channel.


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

SL_SI91X_CUSTOM_FEAT_LED_FEATURE#

#define SL_SI91X_CUSTOM_FEAT_LED_FEATURE
Value:
BIT(9)

If this bit is set, it enables the LED blinking feature after module initialization.

LED (GPIO_16) is used for this feature and blinks when a TX packet is sent or when we get a unicast packet addressed to our MAC.


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

SL_SI91X_CUSTOM_FEAT_ASYNC_CONNECTION_STATUS#

#define SL_SI91X_CUSTOM_FEAT_ASYNC_CONNECTION_STATUS
Value:
BIT(10)

If this bit is enabled, module indicates the host the wlan connection status asynchronously This bit is valid in case of Wi-Fi client mode.


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

SL_SI91X_CUSTOM_FEAT_WAKE_ON_WIRELESS#

#define SL_SI91X_CUSTOM_FEAT_WAKE_ON_WIRELESS
Value:
BIT(11)

Wake on wireless indication in UART mode.


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

SL_SI91X_CUSTOM_FEAT_ENABLE_AP_BLACKLIST#

#define SL_SI91X_CUSTOM_FEAT_ENABLE_AP_BLACKLIST
Value:
BIT(12)

Enables AP blacklisting in STA mode.

Note

  • By default client maintains AP blacklist internally to avoid some access points. To bypass AP blacklist feature in client mode during roaming or rejoin, this feature should be enabled.


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

SL_SI91X_CUSTOM_FEAT_MAX_NUM_OF_CLIENTS#

#define SL_SI91X_CUSTOM_FEAT_MAX_NUM_OF_CLIENTS
Value:
(max_num_of_clients)

Number of clients to support in AP/WFD mode Bit 13 -16 are used to set MAX_NUM_OF_CLIENTS.


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

SL_SI91X_CUSTOM_FEAT_ROAM_WITH_DEAUTH_OR_NULL_DATA#

#define SL_SI91X_CUSTOM_FEAT_ROAM_WITH_DEAUTH_OR_NULL_DATA
Value:
BIT(17)

select between de-authentication or null data (with power management bit set) based roaming.


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

SL_SI91X_CUSTOM_FEAT_TRIGGER_AUTO_CONFIG#

#define SL_SI91X_CUSTOM_FEAT_TRIGGER_AUTO_CONFIG
Value:
BIT(20)

Trigger Auto Configuration.

Note

  • Bit 18 - 19 are reserved


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

SL_SI91X_CUSTOM_FEAT_LIMIT_PACKETS_PER_STA#

#define SL_SI91X_CUSTOM_FEAT_LIMIT_PACKETS_PER_STA
Value:
BIT(22)

In AP mode, If set only two packets per STA will be buffered when STA is in PS.

Note

  • Bit 21 is reserved


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

SL_SI91X_CUSTOM_FEAT_HTTP_HTTPS_AUTH#

#define SL_SI91X_CUSTOM_FEAT_HTTP_HTTPS_AUTH
Value:
BIT(23)

Bit to set HTTP Authentication.


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

SL_SI91X_CUSTOM_FEAT_SOC_CLK_CONFIG_120MHZ#

#define SL_SI91X_CUSTOM_FEAT_SOC_CLK_CONFIG_120MHZ
Value:
BIT(24)

To configure the clock for NWP SOC 120Mhz.

If higher performance is needed(like High throughput) then this configuration is needed Note

  • Need to set pll_mode to 1 in feature frame command


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

SL_SI91X_CUSTOM_FEAT_HTTP_SERVER_CRED_TO_HOST#

#define SL_SI91X_CUSTOM_FEAT_HTTP_SERVER_CRED_TO_HOST
Value:
BIT(25)

HTTP server credentials to host in get configuration command.


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

SL_SI91X_CUSTOM_FEAT_REJECT_CONNECT_REQ_IMMEDIATELY#

#define SL_SI91X_CUSTOM_FEAT_REJECT_CONNECT_REQ_IMMEDIATELY
Value:
BIT(26)

For a LTCP socket when maximum clients are connected if a new connection request is received, then this connection request will be rejected immediately.

Note

  • By default this bit value is zero. When BIT[26] = 0: For a LTCP socket when maximum clients are connected if a new connection request is received, then this connection request will not be rejected. Instead device will maintain this connection request in LTCP pending list. This request will be served when any of the connected client is disconnected. When BIT[26] = 1: For a LTCP socket when maximum clients are connected if a new connection request is received, then this connection request will be rejected immediately. Device will not maintain this connection request in LTCP pending list.


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

SL_SI91X_CUSTOM_FEAT_DUAL_BAND_ROAM_VCSAFD#

#define SL_SI91X_CUSTOM_FEAT_DUAL_BAND_ROAM_VCSAFD
Value:
BIT(27)

Enables Dual band roaming and vcsafd feature.


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

SL_SI91X_CUSTOM_FEAT_RTC_FROM_HOST#

#define SL_SI91X_CUSTOM_FEAT_RTC_FROM_HOST
Value:
BIT(28)

Real time clock from host.


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

SL_SI91X_CUSTOM_FEAT_BT_IAP#

#define SL_SI91X_CUSTOM_FEAT_BT_IAP
Value:
BIT(29)

Custom feat BT IAP.


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

SL_SI91X_CUSTOM_FEAT_EXTENTION_VALID#

#define SL_SI91X_CUSTOM_FEAT_EXTENTION_VALID
Value:
BIT(31)

Extention valid to use Extended custom feature bitmap.

Note

  • Bit 30 is reserved


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