Skip to content

Commit cc79299

Browse files
committed
drivers: wifi: nrf_wifi: Set P2P capability
In P2P mode, inform supplicant that the driver is P2P capable. Signed-off-by: Ravi Dondaputi <[email protected]>
1 parent 16939a0 commit cc79299

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/wifi/nrf_wifi/src/wpa_supp_if.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1798,6 +1798,9 @@ int nrf_wifi_supp_get_capa(void *if_priv, struct wpa_driver_capa *capa)
17981798
if (IS_ENABLED(CONFIG_NRF70_AP_MODE)) {
17991799
capa->flags |= WPA_DRIVER_FLAGS_AP;
18001800
}
1801+
if (IS_ENABLED(CONFIG_NRF70_P2P_MODE)) {
1802+
capa->flags |= WPA_DRIVER_FLAGS_P2P_CAPABLE;
1803+
}
18011804

18021805
capa->enc |= WPA_DRIVER_CAPA_ENC_WEP40 |
18031806
WPA_DRIVER_CAPA_ENC_WEP104 |

0 commit comments

Comments
 (0)