diff options
author | Hai Shalom <haishalom@google.com> | 2018-12-27 15:44:22 -0800 |
---|---|---|
committer | Hai Shalom <haishalom@google.com> | 2018-12-27 15:44:22 -0800 |
commit | d7c11dd4b6fb9e6bc72bdd5e4026c49519207990 (patch) | |
tree | 3486b807b5bda360e5614ec680fa2b00751864f4 /wpa_supplicant | |
parent | 5953285744c25fe342356bc1b88e0a246181e372 (diff) | |
download | wpa_supplicant_8-d7c11dd4b6fb9e6bc72bdd5e4026c49519207990.tar.gz |
[DPP] Add DPP key management capability API
Add DPP key management capability API.
Bug: 112197021
Test: atest SupplicantStaIfaceHalTest
Change-Id: Id1889364a532d2f09b5a0d044c62799662d9ec5a
Diffstat (limited to 'wpa_supplicant')
-rw-r--r-- | wpa_supplicant/hidl/1.2/sta_iface.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/wpa_supplicant/hidl/1.2/sta_iface.cpp b/wpa_supplicant/hidl/1.2/sta_iface.cpp index 974b0c9d..ae5fcbed 100644 --- a/wpa_supplicant/hidl/1.2/sta_iface.cpp +++ b/wpa_supplicant/hidl/1.2/sta_iface.cpp @@ -1123,7 +1123,11 @@ StaIface::getKeyMgmtCapabilitiesInternal() mask |= ISupplicantStaNetwork::KeyMgmtMask::SAE; } #endif /* CONFIG_SAE */ - +#ifdef CONFIG_DPP + if (capa.key_mgmt & WPA_DRIVER_CAPA_KEY_MGMT_DPP) { + mask |= ISupplicantStaNetwork::KeyMgmtMask::DPP; + } +#endif return {{SupplicantStatusCode::SUCCESS, ""}, mask}; } |