hostap: Add configuration options for NW selection
To cater for different needs add an configuration options for WPA supplicant network selection (scan results sorting). The default is still left unchanged. Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no> Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
This commit is contained in:
parent
e2d267c92c
commit
873106faf1
|
@ -406,4 +406,8 @@ zephyr_library_sources_ifdef(CONFIG_WIFI_NM_WPA_SUPPLICANT_EAPOL
|
|||
zephyr_library_compile_definitions_ifdef(CONFIG_WIFI_NM_WPA_SUPPLICANT_EAPOL
|
||||
CONFIG_IEEE8021X_EAPOL
|
||||
)
|
||||
|
||||
zephyr_library_compile_definitions_ifdef(CONFIG_WIFI_NM_WPA_SUPPLICANT_NW_SEL_RELIABILITY
|
||||
CONFIG_NW_SEL_RELIABILITY
|
||||
)
|
||||
endif()
|
||||
|
|
|
@ -360,4 +360,27 @@ config RRM
|
|||
config WMM_AC
|
||||
bool
|
||||
|
||||
config NW_SEL_RELIABILITY
|
||||
bool
|
||||
default y
|
||||
depends on WIFI_NM_WPA_SUPPLICANT_NW_SEL_RELIABILITY
|
||||
|
||||
choice WIFI_NM_WPA_SUPPLICANT_NW_SEL
|
||||
prompt "WPA supplicant Network selection criterion"
|
||||
default WIFI_NM_WPA_SUPPLICANT_NW_SEL_THROUGHPUT
|
||||
help
|
||||
Select the network selection method for the supplicant.
|
||||
|
||||
config WIFI_NM_WPA_SUPPLICANT_NW_SEL_THROUGHPUT
|
||||
bool "Throughput based network selection"
|
||||
help
|
||||
Select the network based on throughput.
|
||||
|
||||
config WIFI_NM_WPA_SUPPLICANT_NW_SEL_RELIABILITY
|
||||
bool "Reliability based network selection"
|
||||
help
|
||||
Select the network based on reliability.
|
||||
|
||||
endchoice
|
||||
|
||||
endif # WIFI_NM_WPA_SUPPLICANT
|
||||
|
|
Loading…
Reference in a new issue