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.
Reserved for future use.
Duration in milliseconds between periodic scans.
Bitmap of selected 2.4GHz channels.
Bitmap of selected 5GHz channels (currently not supported)
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.
175
of file components/protocol/wifi/inc/sl_wifi_types.h
flags#
uint32_t sl_wifi_scan_configuration_t::flags
Reserved for future use.
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.
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.
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)
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.
180
of file components/protocol/wifi/inc/sl_wifi_types.h