Wi-Fi scan configuration.

Note

  • The Quick Scan Feature is enabled if a specific channel and SSID to scan is given. SiWx91x scans for the AP given in scan API and posts the scan results immediately after finding the access point.

  • channel_bitmap_2g4 uses the lower 14 bits to represent channels from 1 - 14 where channel 1 = (1 << 0), channel 2 = (1 << 1), etc

  • 5GHz is not supported.

    • Channel Number 2.4 GHz

      channel_bitmap_2g4

      1

      (1 << 0)

      2

      (1 << 1)

      3

      (1 << 2)

      4

      (1 << 3)

      5

      (1 << 4)

      6

      (1 << 5)

      7

      (1 << 6)

      8

      (1 << 7)

      9

      (1 << 8)

      10

      (1 << 9)

      11

      (1 << 10)

      12

      (1 << 11)

      13

      (1 << 12)

      14

      (1 << 13)

Public Attributes#

Scan type to be configured.

uint32_t

Reserved for future use.

uint32_t

Duration in milliseconds between periodic scans.

uint16_t

Bitmap of selected 2.4GHz channels.

uint32_t

Bitmap of selected 5GHz channels (currently not supported)

uint8_t

Enable LP mode, 1 - Enable LP mode, 0 - Disable LP mode.

Public Attribute Documentation#

type#

sl_wifi_scan_type_t sl_wifi_scan_configuration_t::type

Scan type to be configured.


Definition at line 175 of file components/protocol/wifi/inc/sl_wifi_types.h

flags#

uint32_t sl_wifi_scan_configuration_t::flags

Reserved for future use.


Definition at line 176 of file components/protocol/wifi/inc/sl_wifi_types.h

periodic_scan_interval#

uint32_t sl_wifi_scan_configuration_t::periodic_scan_interval

Duration in milliseconds between periodic scans.


Definition at line 177 of file components/protocol/wifi/inc/sl_wifi_types.h

channel_bitmap_2g4#

uint16_t sl_wifi_scan_configuration_t::channel_bitmap_2g4

Bitmap of selected 2.4GHz channels.


Definition at line 178 of file components/protocol/wifi/inc/sl_wifi_types.h

channel_bitmap_5g#

uint32_t sl_wifi_scan_configuration_t::channel_bitmap_5g[8]

Bitmap of selected 5GHz channels (currently not supported)


Definition at line 179 of file components/protocol/wifi/inc/sl_wifi_types.h

lp_mode#

uint8_t sl_wifi_scan_configuration_t::lp_mode

Enable LP mode, 1 - Enable LP mode, 0 - Disable LP mode.


Definition at line 180 of file components/protocol/wifi/inc/sl_wifi_types.h