Skip to content

Commit f142a2d

Browse files
committed
modules: hostap: Support bgscan
wip Signed-off-by: Pieter De Gendt <[email protected]>
1 parent 5194b02 commit f142a2d

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

modules/hostap/CMakeLists.txt

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,16 @@ zephyr_library_compile_definitions_ifdef(CONFIG_WIFI_NM_WPA_SUPPLICANT_WNM
7878
CONFIG_WNM
7979
)
8080

81+
zephyr_library_compile_definitions_ifdef(CONFIG_WIFI_NM_WPA_SUPPLICANT_BGSCAN
82+
CONFIG_BGSCAN
83+
)
84+
zephyr_library_compile_definitions_ifdef(CONFIG_WIFI_NM_WPA_SUPPLICANT_BGSCAN_SIMPLE
85+
CONFIG_BGSCAN_SIMPLE
86+
)
87+
zephyr_library_compile_definitions_ifdef(CONFIG_WIFI_NM_WPA_SUPPLICANT_BGSCAN_LEARN
88+
CONFIG_BGSCAN_LEARN
89+
)
90+
8191
zephyr_library_include_directories(
8292
${CMAKE_CURRENT_SOURCE_DIR}/src
8393
${HOSTAP_BASE}/
@@ -156,6 +166,16 @@ zephyr_library_sources_ifdef(CONFIG_WIFI_NM_WPA_SUPPLICANT_WNM
156166
${WIFI_NM_WPA_SUPPLICANT_BASE}/wnm_sta.c
157167
)
158168

169+
zephyr_library_sources_ifdef(CONFIG_WIFI_NM_WPA_SUPPLICANT_BGSCAN
170+
${WIFI_NM_WPA_SUPPLICANT_BASE}/bgscan.c
171+
)
172+
zephyr_library_sources_ifdef(CONFIG_WIFI_NM_WPA_SUPPLICANT_BGSCAN_SIMPLE
173+
${WIFI_NM_WPA_SUPPLICANT_BASE}/bgscan_simple.c
174+
)
175+
zephyr_library_sources_ifdef(CONFIG_WIFI_NM_WPA_SUPPLICANT_BGSCAN_LEARN
176+
${WIFI_NM_WPA_SUPPLICANT_BASE}/bgscan_learn.c
177+
)
178+
159179
zephyr_library_sources_ifdef(CONFIG_WPA_CLI
160180
src/wpa_cli.c
161181
)

modules/hostap/Kconfig

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,22 @@ config WIFI_NM_WPA_SUPPLICANT_WNM
145145
bool "Wireless Network Management support"
146146
default y
147147

148+
config WIFI_NM_WPA_SUPPLICANT_BGSCAN
149+
bool "Background scan and roaming interface"
150+
default y
151+
depends on WIFI_NM_WPA_SUPPLICANT_WNM
152+
153+
if WIFI_NM_WPA_SUPPLICANT_BGSCAN
154+
155+
config WIFI_NM_WPA_SUPPLICANT_BGSCAN_SIMPLE
156+
bool "Background scan and roaming interface: simple"
157+
default y
158+
159+
config WIFI_NM_WPA_SUPPLICANT_BGSCAN_LEARN
160+
bool "Background scan and roaming interface: learn"
161+
162+
endif # WIFI_NM_WPA_SUPPLICANT_BGSCAN
163+
148164
config WIFI_NM_WPA_SUPPLICANT_RRM
149165
bool "Radio Resource Management support"
150166
default y

0 commit comments

Comments
 (0)