File tree Expand file tree Collapse file tree 3 files changed +15
-2
lines changed Expand file tree Collapse file tree 3 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -186,7 +186,6 @@ zephyr_library_sources(
186
186
${HOSTAP_SRC_BASE} /ap/comeback_token.c
187
187
${HOSTAP_SRC_BASE} /ap/ieee802_11_ht.c
188
188
${HOSTAP_SRC_BASE} /ap/ieee802_11_shared.c
189
- ${HOSTAP_SRC_BASE} /ap/ieee802_11_vht.c
190
189
${HOSTAP_SRC_BASE} /ap/ieee802_1x.c
191
190
${HOSTAP_SRC_BASE} /ap/neighbor_db.c
192
191
${HOSTAP_SRC_BASE} /ap/p2p_hostapd.c
@@ -213,6 +212,10 @@ zephyr_library_sources(
213
212
${HOSTAP_SRC_BASE} /utils/ip_addr.c
214
213
)
215
214
215
+ zephyr_library_sources_ifdef(CONFIG_WIFI_NM_WPA_SUPPLICANT_11AC
216
+ ${HOSTAP_SRC_BASE} /ap/ieee802_11_vht.c
217
+ )
218
+
216
219
if (CONFIG_WIFI_NM_WPA_SUPPLICANT_MBO)
217
220
zephyr_library_sources(${HOSTAP_SRC_BASE} /ap/mbo_ap.c)
218
221
endif()
@@ -227,11 +230,14 @@ zephyr_library_compile_definitions(
227
230
CONFIG_NO_VLAN
228
231
CONFIG_NO_ACCOUNTING
229
232
NEED_AP_MLME
230
- CONFIG_IEEE80211AC
231
233
EAP_SERVER
232
234
EAP_SERVER_IDENTITY
233
235
)
234
236
237
+ zephyr_library_compile_definitions_ifdef(CONFIG_WIFI_NM_WPA_SUPPLICANT_11AC
238
+ CONFIG_IEEE80211AC
239
+ )
240
+
235
241
zephyr_library_compile_definitions_ifdef(CONFIG_WIFI_NM_WPA_SUPPLICANT_11AX
236
242
CONFIG_IEEE80211AX
237
243
)
Original file line number Diff line number Diff line change @@ -358,6 +358,11 @@ config WIFI_NM_WPA_SUPPLICANT_DPP
358
358
select MBEDTLS_X509_CSR_WRITE_C
359
359
select MBEDTLS_X509_CSR_PARSE_C
360
360
361
+ config WIFI_NM_WPA_SUPPLICANT_11AC
362
+ bool "IEEE 802.11ac VHT support"
363
+ depends on WIFI_NM_WPA_SUPPLICANT_AP || WIFI_NM_HOSTAPD_AP
364
+ default y
365
+
361
366
config WIFI_NM_WPA_SUPPLICANT_11AX
362
367
bool "IEEE 802.11ax HE support"
363
368
depends on WIFI_NM_WPA_SUPPLICANT_AP || WIFI_NM_HOSTAPD_AP
Original file line number Diff line number Diff line change @@ -375,9 +375,11 @@ struct hostapd_config *hostapd_config_read2(const char *fname)
375
375
bss -> okc = 1 ;
376
376
conf -> no_pri_sec_switch = 1 ;
377
377
conf -> ht_op_mode_fixed = 1 ;
378
+ #if CONFIG_WIFI_NM_WPA_SUPPLICANT_11AC
378
379
conf -> ieee80211ac = 1 ;
379
380
conf -> vht_oper_chwidth = CHANWIDTH_USE_HT ;
380
381
conf -> vht_capab |= VHT_CAP_MAX_A_MPDU_LENGTH_EXPONENT_MAX ;
382
+ #endif
381
383
#ifdef CONFIG_WIFI_NM_WPA_SUPPLICANT_11AX
382
384
conf -> ieee80211ax = 1 ;
383
385
conf -> he_oper_chwidth = CHANWIDTH_USE_HT ;
You can’t perform that action at this time.
0 commit comments