1# Copyright (c) 2023 Nordic Semiconductor ASA
2# SPDX-License-Identifier: Apache-2.0
3
4config WIFI_MGMT_RAW_SCAN_RESULTS
5	bool "Raw scan results"
6	help
7	  This option enables raw scan results. When enabled, the raw scan
8	  results (beacons or probe responses) are provided to the application.
9	  Enabling this config will increase the net_mgmt event size
10	  considerably.
11
12if WIFI_MGMT_RAW_SCAN_RESULTS
13
14config WIFI_MGMT_RAW_SCAN_RESULT_LENGTH
15	int "Maximum length of raw scan results"
16	default 512
17	help
18	  This option defines the maximum length of raw scan results.
19
20config WIFI_MGMT_RAW_SCAN_RESULTS_ONLY
21	bool "Only raw scan results"
22	help
23	  This option enables only raw scan results. When enabled, the raw scan
24	  results (beacons or probe responses) are provided to the application.
25	  The scan results are not parsed and the application is responsible
26	  for parsing the scan results. Normal scan results are not provided
27	  to the application.
28
29endif # WIFI_MGMT_RAW_SCAN_RESULTS
30
31config WIFI_MGMT_TWT_CHECK_IP
32	bool "Check IP Assignment for TWT"
33	default y
34	help
35	  This option enables check for valid IP address before TWT setup.
36	  If TWT setup is triggered early in the connection, then device might
37	  enter deep sleep without having a valid IP, this can result in device
38	  being unreachable (IP Level) or unable to receive down link traffic
39	  even when it is awake intervals. Rejecting TWT setup till Wi-Fi
40	  interface has a valid IP address might be desirable in most scenarios.
41
42config WIFI_MGMT_FORCED_PASSIVE_SCAN
43	bool "Force passive Wi-Fi scanning"
44	help
45	  Always request a passive scan, regardless of the user supplied parameters.
46	  This is typically used when the underlying hardware is not certified for
47	  RF transmissions. This doesn't guarantee that passive scan will be used,
48	  it depends on the underlying chip implementation to support and honour
49	  scan type.
50
51config WIFI_MGMT_SCAN_SSID_FILT_MAX
52	int "Maximum number of SSIDs that can be specified for SSID filtering"
53	default 1
54	range 1 4
55	help
56	  Maximum number of SSIDs that can be specified for SSID filtering.
57	  This can be set based on the underlying chipsets limitations.
58
59config WIFI_MGMT_SCAN_CHAN_MAX_MANUAL
60	int "Maximum number of channels that can be manually specified"
61	range 1 110
62	default 3
63	help
64	  There are approximately 100 channels allocated across the three supported bands.
65	  The default of 3 allows the 3 most common channels (2.4GHz: 1, 6, 11) to be specified.
66
67config WIFI_SHELL_MAX_AP_STA
68	int "Maximum number of APs and STAs that can be managed in Wi-Fi shell"
69	range 1 5
70	default 1
71	help
72	  This option defines the maximum number of APs and STAs that can be managed
73	  in Wi-Fi shell.
74
75config WIFI_NM
76	bool "Wi-Fi Network manager support"
77	help
78	  This option enables using the Wi-Fi Network managers (e.g. wpa_supplicant) to
79	  manage the Wi-Fi network interfaces.
80
81if WIFI_NM
82
83config WIFI_NM_MAX_MANAGED_INTERFACES
84	int "Maximum number of managed interfaces per Wi-Fi network manager"
85	default 1
86	help
87	  This option defines the maximum number of managed interfaces per Wi-Fi
88	  network manager instance that can be used simultaneously.
89
90module = WIFI_NM
91module-dep = NET_LOG
92module-str = Log level for Wi-Fi Network manager module
93module-help = Enables using the Wi-Fi Network managers to manage the Wi-Fi network interfaces.
94source "subsys/net/Kconfig.template.log_config.net"
95endif # WIFI_NM
96