Make driver capabilities for AKM suites available within wpa_supplicant
In addition, add some of the previously missed AKM suites from the default capabilities. Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
This commit is contained in:
parent
5488e120d3
commit
d0b55eb360
3 changed files with 4 additions and 0 deletions
|
@ -1476,6 +1476,7 @@ int wpa_driver_nl80211_capa(struct wpa_driver_nl80211_data *drv)
|
|||
WPA_DRIVER_CAPA_KEY_MGMT_WPA_PSK |
|
||||
WPA_DRIVER_CAPA_KEY_MGMT_WPA2 |
|
||||
WPA_DRIVER_CAPA_KEY_MGMT_WPA2_PSK |
|
||||
WPA_DRIVER_CAPA_KEY_MGMT_PSK_SHA256 |
|
||||
WPA_DRIVER_CAPA_KEY_MGMT_SUITE_B |
|
||||
WPA_DRIVER_CAPA_KEY_MGMT_OWE |
|
||||
WPA_DRIVER_CAPA_KEY_MGMT_DPP;
|
||||
|
@ -1491,6 +1492,7 @@ int wpa_driver_nl80211_capa(struct wpa_driver_nl80211_data *drv)
|
|||
WPA_DRIVER_CAPA_KEY_MGMT_FILS_SHA384 |
|
||||
WPA_DRIVER_CAPA_KEY_MGMT_FT_FILS_SHA256 |
|
||||
WPA_DRIVER_CAPA_KEY_MGMT_FT_FILS_SHA384 |
|
||||
WPA_DRIVER_CAPA_KEY_MGMT_SAE_EXT_KEY |
|
||||
WPA_DRIVER_CAPA_KEY_MGMT_SAE;
|
||||
else if (drv->capa.flags & WPA_DRIVER_FLAGS_FILS_SK_OFFLOAD)
|
||||
drv->capa.key_mgmt |=
|
||||
|
|
|
@ -7363,6 +7363,7 @@ static int wpa_supplicant_init_iface(struct wpa_supplicant *wpa_s,
|
|||
wpa_s->drv_flags = capa.flags;
|
||||
wpa_s->drv_flags2 = capa.flags2;
|
||||
wpa_s->drv_enc = capa.enc;
|
||||
wpa_s->drv_key_mgmt = capa.key_mgmt;
|
||||
wpa_s->drv_rrm_flags = capa.rrm_flags;
|
||||
wpa_s->drv_max_acl_mac_addrs = capa.max_acl_mac_addrs;
|
||||
wpa_s->probe_resp_offloads = capa.probe_resp_offloads;
|
||||
|
|
|
@ -920,6 +920,7 @@ struct wpa_supplicant {
|
|||
u64 drv_flags;
|
||||
u64 drv_flags2;
|
||||
unsigned int drv_enc;
|
||||
unsigned int drv_key_mgmt;
|
||||
unsigned int drv_rrm_flags;
|
||||
unsigned int drv_max_acl_mac_addrs;
|
||||
|
||||
|
|
Loading…
Reference in a new issue