138 lines
4.8 KiB
Plaintext
138 lines
4.8 KiB
Plaintext
# Copyright (c) 2023 Nordic Semiconductor ASA
|
||
# SPDX-License-Identifier: Apache-2.0
|
||
|
||
config WIFI_MGMT_RAW_SCAN_RESULTS
|
||
bool "Raw scan results"
|
||
help
|
||
This option enables raw scan results. When enabled, the raw scan
|
||
results (beacons or probe responses) are provided to the application.
|
||
Enabling this config will increase the net_mgmt event size
|
||
considerably.
|
||
|
||
if WIFI_MGMT_RAW_SCAN_RESULTS
|
||
|
||
config WIFI_MGMT_RAW_SCAN_RESULT_LENGTH
|
||
int "Maximum length of raw scan results"
|
||
default 512
|
||
help
|
||
This option defines the maximum length of raw scan results.
|
||
|
||
config WIFI_MGMT_RAW_SCAN_RESULTS_ONLY
|
||
bool "Only raw scan results"
|
||
help
|
||
This option enables only raw scan results. When enabled, the raw scan
|
||
results (beacons or probe responses) are provided to the application.
|
||
The scan results are not parsed and the application is responsible
|
||
for parsing the scan results. Normal scan results are not provided
|
||
to the application.
|
||
|
||
endif # WIFI_MGMT_RAW_SCAN_RESULTS
|
||
|
||
config WIFI_MGMT_TWT_CHECK_IP
|
||
bool "Check IP Assignment for TWT"
|
||
default y
|
||
help
|
||
This option enables check for valid IP address before TWT setup.
|
||
If TWT setup is triggered early in the connection, then device might
|
||
enter deep sleep without having a valid IP, this can result in device
|
||
being unreachable (IP Level) or unable to receive down link traffic
|
||
even when it is awake intervals. Rejecting TWT setup till Wi-Fi
|
||
interface has a valid IP address might be desirable in most scenarios.
|
||
|
||
config WIFI_MGMT_FORCED_PASSIVE_SCAN
|
||
bool "Force Passive scan"
|
||
help
|
||
Force passive scan (typically used to reduce power consumption),
|
||
the scan type is always sent as passive.
|
||
This doesn't guarantee that passive scan will be used, it depends
|
||
on the underlying chip implementation to support and honour scan type.
|
||
|
||
config WIFI_MGMT_SCAN_BANDS
|
||
string "Frequency bands to scan"
|
||
default ""
|
||
help
|
||
Specifies the frequency bands to scan, as follows:
|
||
2 - 2.4 GHz
|
||
5 - 5 GHz
|
||
6 - 6 GHz
|
||
"" - All bands allowed by the regulatory domain.
|
||
Multiple bands can be specified as comma separated band values.
|
||
Only regulatory domain permitted values are allowed.
|
||
|
||
config WIFI_MGMT_SCAN_DWELL_TIME_ACTIVE
|
||
int "Active scan dwell time"
|
||
default 50
|
||
range 5 1000
|
||
help
|
||
Active scan dwell time (in ms) per channel.
|
||
|
||
config WIFI_MGMT_SCAN_DWELL_TIME_PASSIVE
|
||
int "Passive scan dwell time"
|
||
default 130
|
||
range 10 1000
|
||
help
|
||
Passive scan dwell time (in ms) per channel.
|
||
|
||
config WIFI_MGMT_SCAN_SSID_FILT_MAX
|
||
int "Maximum number of SSIDs that can be specified for SSID filtering"
|
||
default 1
|
||
range 1 4
|
||
help
|
||
Maximum number of SSIDs that can be specified for SSID filtering.
|
||
This can be set based on the underlying chipsets limitations.
|
||
|
||
config WIFI_MGMT_SCAN_SSID_FILT
|
||
string "Scan for specific SSIDs"
|
||
default ""
|
||
help
|
||
String of comma separated SSID values to scan for. The number of SSID’s
|
||
that can be specified depends on WIFI_MGMT_SCAN_MAX_SSIDS.
|
||
Use "" to disable SSID filtering.
|
||
|
||
config WIFI_MGMT_SCAN_MAX_BSS_CNT
|
||
int "Maximum number of scan results to return."
|
||
default 0
|
||
range 0 65535
|
||
help
|
||
Maximum number of scan results to return. 0 represents unlimited number of BSSes.
|
||
|
||
config WIFI_MGMT_SCAN_CHAN
|
||
string "Scan on specific channels"
|
||
default ""
|
||
help
|
||
Formatted string which specifies channels to be scanned. The channel string has to be formatted
|
||
using the colon (:), comma(,), hyphen (-) and space ( ) delimiters as follows:
|
||
- A colon identifies the value preceding it as a band. A band value
|
||
(2: 2.4 GHz, 5: 5 GHz 6: 6 GHz) has to precede the channels in that band (e.g. 2: etc)
|
||
- Hyphens are used to identify channel ranges (e.g. 2-7, 32-48 etc)
|
||
- Commas are used to separate channel values within a band. Channels can be specified
|
||
as individual values (2,6,48 etc) or channel ranges using hyphens (1-14, 32-48 etc)
|
||
- Spaces are used to specify multiple band-channel sets (e.g. 2:1,2 5:36,40 etc)
|
||
- No spaces should be used anywhere else, i.e. before/after commas,
|
||
before/after hyphens.
|
||
An example channel specification specifying channels in the 2.4 GHz and 5 GHz bands is
|
||
as below:
|
||
2:1,5,7,9-11_5:36-48,100,163-167
|
||
|
||
config WIFI_NM
|
||
bool "Wi-Fi Network manager support"
|
||
help
|
||
This option enables using the Wi-Fi Network managers (e.g. wpa_supplicant) to
|
||
manage the Wi-Fi network interfaces.
|
||
|
||
if WIFI_NM
|
||
|
||
config WIFI_NM_MAX_MANAGED_INTERFACES
|
||
int "Maximum number of managed interfaces per Wi-Fi network manager"
|
||
default 1
|
||
help
|
||
This option defines the maximum number of managed interfaces per Wi-Fi
|
||
network manager instance that can be used simultaneously.
|
||
|
||
module = WIFI_NM
|
||
module-dep = NET_LOG
|
||
module-str = Log level for Wi-Fi Network manager module
|
||
module-help = Enables using the Wi-Fi Network managers to manage the Wi-Fi network interfaces.
|
||
source "subsys/net/Kconfig.template.log_config.net"
|
||
endif # WIFI_NM
|