Skip to content

Commit 6e68865

Browse files
kapbhnordicjm
authored andcommitted
[nrf fromtree] drivers: nrf_wifi: Disable VHT capabilities for softAP mode
Disable VHT (Wi-Fi 5) capabilities when building with softAP support to ensure consistent Wi-Fi 4 only behavior across all channels and frequency bands. Signed-off-by: Kapil Bhatt <[email protected]> (cherry picked from commit e7d5d7e)
1 parent 7b70000 commit 6e68865

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/wifi/nrf_wifi/src/wpa_supp_if.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1578,13 +1578,15 @@ enum nrf_wifi_status nrf_wifi_parse_sband(
15781578
band->ht_cap.wpa_supp_ampdu_factor = event->ht_cap.nrf_wifi_ampdu_factor;
15791579
band->ht_cap.wpa_supp_ampdu_density = event->ht_cap.nrf_wifi_ampdu_density;
15801580

1581+
#ifndef CONFIG_WIFI_NM_WPA_SUPPLICANT_AP
15811582
band->vht_cap.wpa_supp_vht_supported = event->vht_cap.nrf_wifi_vht_supported;
15821583
band->vht_cap.wpa_supp_cap = event->vht_cap.nrf_wifi_cap;
15831584

15841585
band->vht_cap.vht_mcs.rx_mcs_map = event->vht_cap.vht_mcs.rx_mcs_map;
15851586
band->vht_cap.vht_mcs.rx_highest = event->vht_cap.vht_mcs.rx_highest;
15861587
band->vht_cap.vht_mcs.tx_mcs_map = event->vht_cap.vht_mcs.tx_mcs_map;
15871588
band->vht_cap.vht_mcs.tx_highest = event->vht_cap.vht_mcs.tx_highest;
1589+
#endif /* !CONFIG_WIFI_NM_WPA_SUPPLICANT_AP */
15881590

15891591
band->band = event->band;
15901592

0 commit comments

Comments
 (0)