Constants#

This section provides a reference to Si91x Device Management constants.

Modules#

Boot Configuration Feature Bitmaps

Default Device Configuration

Load Image Types

TLS Flags

HTTP Flags

Join Feature Bitmap

DTIM Alignment Types

Enumerations#

enum
SL_SI91X_AP_KEEP_ALIVE_DISABLE = 0
SL_SI91X_AP_DEAUTH_BASED_KEEP_ALIVE = 1
SL_SI91X_AP_NULL_BASED_KEEP_ALIVE = 3
}

Si91x specific keepalive types.

enum
SL_SI91X_ASSERTION_TYPE_LMAC = 0
SL_SI91X_ASSERTION_TYPE_SME = 1
SL_SI91X_ASSERTION_TYPE_UMAC = 2
SL_SI91X_ASSERTION_TYPE_NETX = 4
SL_SI91X_ASSERTION_TYPE_CA = 8
SL_SI91X_ASSERTION_TYPE_ALL = 15
}

Assertion type must be in the range of 0 to 15 (both included)

enum
SL_SI91X_ASSERTION_LEVEL_MIN = 0
SL_SI91X_ASSERTION_LEVEL_SP = 1
SL_SI91X_ASSERTION_LEVEL_REC = 2
SL_SI91X_ASSERTION_LEVEL_INFO = 4
SL_SI91X_ASSERTION_LEVEL_MAX = 15
}

Assertion level must be in the range of 0 to 15 (both included)

enum
SL_SI91X_WIFI_BAND_2_4GHZ = 0
SL_SI91X_WIFI_BAND_5GHZ = 1
SL_SI91X_WIFI_DUAL_BAND = 2
}

Si91x band mode.

enum
DEFAULT_REGION
US
EU
JP
WORLD_DOMAIN
KR
SG
CN
IGNORE_REGION
}

Si91x region code.

enum
SL_SI91X_AUTHENTICATION_ASSOCIATION_TIMEOUT = 0
SL_SI91X_CHANNEL_ACTIVE_SCAN_TIMEOUT
SL_SI91X_KEEP_ALIVE_TIMEOUT
SL_SI91X_CHANNEL_PASSIVE_SCAN_TIMEOUT
}

Si91x Timeout types.

enum
SL_SI91X_WIFI_CLIENT_VAP_ID
SL_SI91X_WIFI_AP_VAP_ID
}

Si91x Wi-Fi VAP ID.

enum
SL_SI91X_READ_NWP_DEBUG_PORT_STATUS = 9
SL_SI91X_READ_MCU_DEBUG_PORT_STATUS = 10
}

Si91x read status types.

enum
SL_SI91X_CLIENT_MODE = 0
SL_SI91X_ENTERPRISE_CLIENT_MODE = 2
SL_SI91X_ACCESS_POINT_MODE = 6
SL_SI91X_TRANSCEIVER_MODE = 7
SL_SI91X_TRANSMIT_TEST_MODE = 8
SL_SI91X_CONCURRENT_MODE = 9
__FORCE_OPERATION_ENUM_16BIT = 0xFFFF
}

Si91x operating mode.

enum
SL_SI91X_WLAN_ONLY_MODE = 0
SL_SI91X_WLAN_MODE = 1
SL_SI91X_BLUETOOTH_MODE = 4
SL_SI91X_WLAN_BLUETOOTH_MODE = 5
SL_SI91X_DUAL_MODE = 8
SL_SI91X_WLAN_DUAL_MODE = 9
SL_SI91X_BLE_MODE = 12
SL_SI91X_WLAN_BLE_MODE = 13
__FORCE_COEX_ENUM_16BIT = 0xFFFF
}

Si91x wireless co-existence mode.

enum
SL_SI91X_EFUSE_MFG_SW_VERSION = 0
SL_SI91X_EFUSE_PTE_CRC = 1
}

Si91x efuse data index.

enum
HIGH_PERFORMANCE
ASSOCIATED_POWER_SAVE
ASSOCIATED_POWER_SAVE_LOW_LATENCY
DEEP_SLEEP_WITHOUT_RAM_RETENTION
DEEP_SLEEP_WITH_RAM_RETENTION
}

Si91x performance profile.

Enumeration Documentation#

sl_si91x_ap_keepalive_type_t#

sl_si91x_ap_keepalive_type_t

Si91x specific keepalive types.

Enumerator
SL_SI91X_AP_KEEP_ALIVE_DISABLE

Disable keepalive functionality.

SL_SI91X_AP_DEAUTH_BASED_KEEP_ALIVE

AP performs keepalive functionality based on the RX packets received from its stations.

SL_SI91X_AP_NULL_BASED_KEEP_ALIVE

AP performs keepalive functionality by sending a NULL DATA packet to the station.


Definition at line 246 of file components/device/silabs/si91x/wireless/inc/sl_si91x_constants.h

sl_si91x_assertion_type_t#

sl_si91x_assertion_type_t

Assertion type must be in the range of 0 to 15 (both included)

Enumerator
SL_SI91X_ASSERTION_TYPE_LMAC

Assertion type specific to the LMAC core.

SL_SI91X_ASSERTION_TYPE_SME

Assertion type specific to the SME (Station Management Entity) core.

SL_SI91X_ASSERTION_TYPE_UMAC

Assertion type specific to the UMAC core.

SL_SI91X_ASSERTION_TYPE_NETX

Assertion type specific to the NETX (Networking Stack) core.

SL_SI91X_ASSERTION_TYPE_CA

Enables critical assertion indication and provides a RAM dump during critical assertions.

SL_SI91X_ASSERTION_TYPE_ALL

Enables assertion for all cores.


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

sl_si91x_assertion_level_t#

sl_si91x_assertion_level_t

Assertion level must be in the range of 0 to 15 (both included)

Enumerator
SL_SI91X_ASSERTION_LEVEL_MIN

Minimum assertion level. Indicates that an assertion is mandatory.

SL_SI91X_ASSERTION_LEVEL_SP

Assertion for specific print messages, used for debugging or analysis.

SL_SI91X_ASSERTION_LEVEL_REC

Recoverable assertion level. Indicates that the system can recover from the assertion.

SL_SI91X_ASSERTION_LEVEL_INFO

Informational assertion level, used to log general information.

SL_SI91X_ASSERTION_LEVEL_MAX

Maximum assertion level. Enables all types of print statements.


Definition at line 268 of file components/device/silabs/si91x/wireless/inc/sl_si91x_constants.h

sl_si91x_band_mode_t#

sl_si91x_band_mode_t

Si91x band mode.

Note

  • Only 2.4 GHz is currently supported.

Enumerator
SL_SI91X_WIFI_BAND_2_4GHZ

2.4 GHz Wi-Fi band

SL_SI91X_WIFI_BAND_5GHZ

5 GHz Wi-Fi band (not currently supported)

SL_SI91X_WIFI_DUAL_BAND

Both 2.4 GHz and 5 GHZ WiFi band (not currently supported)


Definition at line 63 of file components/device/silabs/si91x/wireless/inc/sl_si91x_types.h

sl_si91x_region_code_t#

sl_si91x_region_code_t

Si91x region code.

Note

  • Singapore region is not currently supported.

  • The suggested mapping for different countries is to be used only for guidance purpose. The customer is expected to verify corresponding country emission requirements and get certification.

Guidance for Region code Mapping for Different Countries

Country

Country Code

Max power (Based on Regulatory domain)

Frequency Range (Based on Regulatory Domain)

Suggested Region Code Mapping

Korea

KR

23 dBm

2400 - 2483.5

KR

Hong Kong

HK

36 dBm

2400 - 2483.5

EU

Singapore

SG

200 mW (23 dBm)

2400 - 2483.5

EU

Malaysia

MY

500 mW (27 dBm)

2402 - 2482

EU

Australia

AU

4000 mW (36 dBm)

2400 - 2483.5

EU

Taiwan

TW

30 dBm

2400 - 2483.5

EU

Thailand

TH

20 dBm

2402 - 2482

EU

Mexico

MX

20 dBm

2402 - 2482

EU

Vietnam

VN

20 dBm

2402 - 2482

EU

Indonesia

ID

500mW (27 dBm)

2400 - 2483.5

EU

China

CN

20 dBm

2400 - 2483.5

CN

Enumerator
DEFAULT_REGION

Factory default region.

US

United States.

EU

European Union.

JP

Japan.

WORLD_DOMAIN

Worldwide domain.

KR

Korea.

SG

Singapore (not currently supported)

CN

China.

IGNORE_REGION

Do not update region code during initialization.


Definition at line 92 of file components/device/silabs/si91x/wireless/inc/sl_si91x_types.h

sl_si91x_timeout_type_t#

sl_si91x_timeout_type_t

Si91x Timeout types.

Enumerator
SL_SI91X_AUTHENTICATION_ASSOCIATION_TIMEOUT

Used for setting association and authentication timeout request in milliseconds.

SL_SI91X_CHANNEL_ACTIVE_SCAN_TIMEOUT

Used for setting dwell time per channel in milliseconds during active scan.

SL_SI91X_KEEP_ALIVE_TIMEOUT

Used for setting WLAN keep alive time in seconds.

SL_SI91X_CHANNEL_PASSIVE_SCAN_TIMEOUT

Used for setting dwell time per channel in milliseconds during passive scan.


Definition at line 105 of file components/device/silabs/si91x/wireless/inc/sl_si91x_types.h

sl_si91x_wifi_vap_id_t#

sl_si91x_wifi_vap_id_t

Si91x Wi-Fi VAP ID.

Enumerator
SL_SI91X_WIFI_CLIENT_VAP_ID

Wi-Fi Client VAP ID.

SL_SI91X_WIFI_AP_VAP_ID

Wi-Fi Access Point VAP ID.


Definition at line 114 of file components/device/silabs/si91x/wireless/inc/sl_si91x_types.h

sl_si91x_read_status_t#

sl_si91x_read_status_t

Si91x read status types.

Enumerator
SL_SI91X_READ_NWP_DEBUG_PORT_STATUS

Read NWP debug port status.

SL_SI91X_READ_MCU_DEBUG_PORT_STATUS

Read MCU debug port status.


Definition at line 120 of file components/device/silabs/si91x/wireless/inc/sl_si91x_types.h

sl_si91x_operation_mode_t#

sl_si91x_operation_mode_t

Si91x operating mode.

Enumerator
SL_SI91X_CLIENT_MODE

Wi-Fi personal client mode.

SL_SI91X_ENTERPRISE_CLIENT_MODE

Wi-Fi enterprise client mode.

SL_SI91X_ACCESS_POINT_MODE

Wi-Fi access point mode.

SL_SI91X_TRANSCEIVER_MODE

Wi-Fi transceiver mode.

SL_SI91X_TRANSMIT_TEST_MODE

Wi-Fi transmit test mode.

SL_SI91X_CONCURRENT_MODE

Wi-Fi concurrent mode.

__FORCE_OPERATION_ENUM_16BIT

Force the enumeration to be 16-bit.


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

sl_si91x_coex_mode_t#

sl_si91x_coex_mode_t

Si91x wireless co-existence mode.

Note

  • Only BLE, WLAN, and WLAN + BLE modes are supported.

Enumerator
SL_SI91X_WLAN_ONLY_MODE

Wireless local area network (WLAN) only mode.

SL_SI91X_WLAN_MODE

WLAN mode (not currently supported)

SL_SI91X_BLUETOOTH_MODE

Bluetooth only mode (not currently supported)

SL_SI91X_WLAN_BLUETOOTH_MODE

WLAN and Bluetooth mode (not currently supported)

SL_SI91X_DUAL_MODE

Dual mode (not currently supported)

SL_SI91X_WLAN_DUAL_MODE

WLAN dual mode (not currently supported)

SL_SI91X_BLE_MODE

Bluetooth Low Energy (BLE) only mode, used when power save mode is not needed.

SL_SI91X_WLAN_BLE_MODE

WLAN and BLE mode.

__FORCE_COEX_ENUM_16BIT

Force the enumeration to be 16-bit.


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

sl_si91x_efuse_data_type_t#

sl_si91x_efuse_data_type_t

Si91x efuse data index.

Enumerator
SL_SI91X_EFUSE_MFG_SW_VERSION

Efuse data index for manufacturing software version.

SL_SI91X_EFUSE_PTE_CRC

Efuse data index for PTE CRC.


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

sl_si91x_performance_profile_t#

sl_si91x_performance_profile_t

Si91x performance profile.

Enumerator
HIGH_PERFORMANCE

Power save is disabled and throughput is maximum.

ASSOCIATED_POWER_SAVE

Low power profile when the device is associated with an AP (MAX PSP).

ASSOCIATED_POWER_SAVE_LOW_LATENCY

Low power profile when the device is associated with an AP (FAST PSP).

DEEP_SLEEP_WITHOUT_RAM_RETENTION

Deep Sleep without RAM Retention when the device is not associated with AP.

DEEP_SLEEP_WITH_RAM_RETENTION

Deep Sleep with RAM Retention when the device is not associated with AP.


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