# Use for IRQ processing (TODO: using for BH processing causes issues)
config NUM_METAIRQ_PRIORITIES
default 1
config NRF70_IRQ_WQ_PRIORITY
int "Priority of the workqueue for handling IRQs"
default -15
config NRF70_BH_WQ_PRIORITY
int "Priority of the workqueue for handling bottom half"
default 0
config NRF70_IRQ_WQ_STACK_SIZE
int "Stack size of the workqueue for handling IRQs"
default 2048
config NRF70_BH_WQ_STACK_SIZE
int "Stack size of the workqueue for handling bottom half"
default 2048
if NRF70_TX_DONE_WQ_ENABLED
config NRF70_TX_DONE_WQ_PRIORITY
int "Priority of the workqueue for handling TX done"
default 0
config NRF70_TX_DONE_WQ_STACK_SIZE
int "Stack size of the workqueue for handling TX done"
default 2048
endif # NRF70_TX_DONE_WQ_ENABLED
if NRF70_RX_WQ_ENABLED
config NRF70_RX_WQ_PRIORITY
int "Priority of the workqueue for handling RX"
default 0
config NRF70_RX_WQ_STACK_SIZE
int "Stack size of the workqueue for handling RX"
default 2048
endif # NRF70_RX_WQ_ENABLED
if NRF_WIFI_LOW_POWER
config NRF70_RPU_PS_IDLE_TIMEOUT_MS
int "RPU power save idle timeout in milliseconds"
default 10
config NRF70_RPU_EXTEND_TWT_SP
bool "extending TWT service period"
help
In case frames accepted before beginning of SP are not
transmitted before the SP completes then typically they are
dropped to conform to SP window as per specification i.e., no
transmission outside SP window.
This feature mitigates the frame loss by transmitting even after SP
completion by using standard contention mechanism which is allowed
in specification but not recommended. As the device is actively transmitting
beyond SP, the power consumption increases depending on the amount
of traffic available at the start of SP.
Please note that if a frame is sent after SP starts it will be queued and this
mechanism is not used.
endif # NRF_WIFI_LOW_POWER
config WIFI_FIXED_MAC_ADDRESS
string "WiFi Fixed MAC address in format XX:XX:XX:XX:XX:XX"
help
This overrides the MAC address read from OTP. Strictly for testing purposes only.
choice
prompt "Wi-Fi MAC address type"
default WIFI_OTP_MAC_ADDRESS if WIFI_FIXED_MAC_ADDRESS = ""
default WIFI_FIXED_MAC_ADDRESS_ENABLED if WIFI_FIXED_MAC_ADDRESS != ""
help
Select the type of MAC address to be used by the Wi-Fi driver
config WIFI_OTP_MAC_ADDRESS
bool "Use MAC address from OTP"
help
This option uses the MAC address stored in the OTP memory of the nRF70.
config WIFI_FIXED_MAC_ADDRESS_ENABLED
bool "fixed MAC address"
help
Enable fixed MAC address
config WIFI_RANDOM_MAC_ADDRESS
bool "random MAC address generation at runtime"
depends on ENTROPY_GENERATOR
help
This option enables random MAC address generation at runtime.
The random MAC address is generated using the entropy device random generator.
endchoice
config NRF70_RSSI_STALE_TIMEOUT_MS
int "RSSI stale timeout in milliseconds"
default 1000
help
RSSI stale timeout is the period after which driver queries
RPU to get the RSSI the value.
If data is active (e.g. ping), driver stores the RSSI value from
the received frames and provides this stored information
to wpa_supplicant. In this case a higher value will be suitable
as stored RSSI value at driver will be updated regularly.
If data is not active or after the stale timeout duration,
driver queries the RPU to get the RSSI value
and provides it to wpa_supplicant. The value should be set to lower
value as driver does not store it and requires RPU to provide the
info.
if NETWORKING
# Finetune defaults for certain system components used by the driver
config SYSTEM_WORKQUEUE_STACK_SIZE
default 4096
config NET_TX_STACK_SIZE
default 4096
config NET_RX_STACK_SIZE
default 4096
config NET_TC_TX_COUNT
default 1
endif # NETWORKING
config MAIN_STACK_SIZE
default 4096
config SHELL_STACK_SIZE
default 4096
# Override the Wi-Fi subsytems WIFI_MGMT_SCAN_SSID_FILT_MAX parameter,
# since we support a maximum of 2 SSIDs for scan result filtering.
config WIFI_MGMT_SCAN_SSID_FILT_MAX
default 2
config NRF_WIFI_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 NRF_WIFI_BEAMFORMING
bool "Wi-Fi beamforming. Enabling beamforming can provide slight improvement in performance where as disabling it can provide better power saving in low network activity applications"
default y
config WIFI_NRF70_SCAN_TIMEOUT_S
int "Scan timeout in seconds"
default 30
menu "nRF Wi-Fi operation band(s)"
visible if !NRF70_2_4G_ONLY
config NRF_WIFI_2G_BAND
bool "Set operation band to 2.4GHz"
default y if NRF70_2_4G_ONLY
config NRF_WIFI_5G_BAND
bool "Set operation band to 5GHz"
depends on !NRF70_2_4G_ONLY
config NRF_WIFI_OP_BAND
int "Options to set operation band"
default 1 if NRF_WIFI_2G_BAND
default 2 if NRF_WIFI_5G_BAND
default 3
help
Set this option to select frequency band
1 - 2.4GHz
2 - 5GHz
3 - All ( 2.4GHz and 5GHz )
endmenu
config NRF_WIFI_IFACE_MTU
int "MTU for Wi-Fi interface"
range 576 2304 if NET_IPV4
range 1280 2304 if NET_IPV6
default 1500
config WIFI_NRF70_SKIP_LOCAL_ADMIN_MAC
bool "Suppress networks with non-individual MAC address as BSSID in the scan results"
help
Wi-Fi access points use locally administered MAC address to manage
multiple virtual interfaces, for geo-location usecase these networks
from the virtual interfaces do not help in anyway as they are co-located with the primary interface
that has globally unique MAC address.
So, to save resources, this option drops such networks from the scan results.
config WIFI_NRF70_SCAN_DISABLE_DFS_CHANNELS
bool "Disables DFS channels in scan operation"
help
This option disables inclusion of DFS channels in scan operation.
This is useful to reduce the scan time, as DFS channels are seldom used.
config NET_INTERFACE_NAME_LEN
# nordic_wlanN
default 15
config NRF_WIFI_AP_DEAD_DETECT_TIMEOUT
int "Access point dead detection timeout in seconds"
range 1 30
default 20
help
The number of seconds after which AP is declared dead if no beacons
are received from the AP. Used to detect AP silently going down e.g., power off.
config NRF_WIFI_RPU_RECOVERY
bool "RPU recovery mechanism"
select EXPERIMENTAL
help
Enable RPU recovery mechanism to recover from RPU (nRF70) hang.
This feature performs an interface reset (down and up) which triggers
a RPU coldboot. Application's network connection will be lost during
the recovery process and it is application's responsibility to
re-establish the network connection.
if NRF_WIFI_RPU_RECOVERY
config NRF_WIFI_RPU_RECOVERY_PROPAGATION_DELAY_MS
int "RPU recovery propagation delay in milliseconds"
default 10
help
Propagation delay in milliseconds to wait after RPU is powered down
before powering it up. This delay is required to ensure that the recovery
is propagted to all the applications and stack and have enough time to
clean up the resources.
config NET_MGMT_EVENT_QUEUE_SIZE
# Doing interface down and up even with delay puts a lot of events in the queue