Home
last modified time | relevance | path

Searched refs:capa (Results 1 – 25 of 27) sorted by relevance

12

/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211_capa.c61 struct wpa_driver_capa *capa; member
114 info->capa->flags |= WPA_DRIVER_FLAGS_AP; in wiphy_info_supported_iftypes()
117 info->capa->flags |= WPA_DRIVER_FLAGS_MESH; in wiphy_info_supported_iftypes()
120 info->capa->flags |= WPA_DRIVER_FLAGS_IBSS; in wiphy_info_supported_iftypes()
123 info->capa->flags |= in wiphy_info_supported_iftypes()
169 info->capa->flags |= WPA_DRIVER_FLAGS_RADAR; in wiphy_info_iface_comb_process()
239 info->capa->sched_scan_supported = 1; in wiphy_info_supp_cmds()
274 info->capa->enc |= WPA_DRIVER_CAPA_ENC_CCMP_256; in wiphy_info_cipher_suites()
277 info->capa->enc |= WPA_DRIVER_CAPA_ENC_GCMP_256; in wiphy_info_cipher_suites()
280 info->capa->enc |= WPA_DRIVER_CAPA_ENC_CCMP; in wiphy_info_cipher_suites()
[all …]
Ddriver_openbsd.c62 wpa_driver_openbsd_get_capa(void *priv, struct wpa_driver_capa *capa) in wpa_driver_openbsd_get_capa() argument
64 os_memset(capa, 0, sizeof(*capa)); in wpa_driver_openbsd_get_capa()
65 capa->flags = WPA_DRIVER_FLAGS_4WAY_HANDSHAKE; in wpa_driver_openbsd_get_capa()
Ddriver_ndis.c1690 drv->capa.key_mgmt |= WPA_DRIVER_CAPA_KEY_MGMT_WPA; in wpa_driver_ndis_get_wpa_capability()
1697 drv->capa.key_mgmt |= WPA_DRIVER_CAPA_KEY_MGMT_WPA_PSK; in wpa_driver_ndis_get_wpa_capability()
1703 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_CCMP; in wpa_driver_ndis_get_wpa_capability()
1709 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_TKIP; in wpa_driver_ndis_get_wpa_capability()
1715 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_WEP40 | in wpa_driver_ndis_get_wpa_capability()
1721 drv->capa.auth |= WPA_DRIVER_AUTH_SHARED; in wpa_driver_ndis_get_wpa_capability()
1726 drv->capa.auth |= WPA_DRIVER_AUTH_OPEN; in wpa_driver_ndis_get_wpa_capability()
1734 if (drv->capa.key_mgmt & WPA_DRIVER_CAPA_KEY_MGMT_WPA && in wpa_driver_ndis_get_wpa_capability()
1735 drv->capa.enc & (WPA_DRIVER_CAPA_ENC_TKIP | in wpa_driver_ndis_get_wpa_capability()
1745 drv->capa.key_mgmt, drv->capa.enc, drv->capa.auth); in wpa_driver_ndis_get_wpa_capability()
[all …]
Ddriver_bsd.c59 struct wpa_driver_capa capa; /* driver capability */ member
1423 drv->capa.key_mgmt = WPA_DRIVER_CAPA_KEY_MGMT_WPA | in wpa_driver_bsd_capa()
1426 drv->capa.key_mgmt = WPA_DRIVER_CAPA_KEY_MGMT_WPA2 | in wpa_driver_bsd_capa()
1430 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_WEP40 | in wpa_driver_bsd_capa()
1433 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_TKIP; in wpa_driver_bsd_capa()
1435 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_CCMP; in wpa_driver_bsd_capa()
1438 drv->capa.flags |= WPA_DRIVER_FLAGS_AP; in wpa_driver_bsd_capa()
1450 drv->capa.key_mgmt = WPA_DRIVER_CAPA_KEY_MGMT_WPA | in wpa_driver_bsd_capa()
1454 drv->capa.enc = WPA_DRIVER_CAPA_ENC_WEP40 | in wpa_driver_bsd_capa()
1458 drv->capa.flags |= WPA_DRIVER_FLAGS_AP; in wpa_driver_bsd_capa()
[all …]
Ddriver_wext.h30 struct wpa_driver_capa capa; member
75 int wpa_driver_wext_get_capa(void *priv, struct wpa_driver_capa *capa);
Ddriver_roboswitch.c199 struct wpa_driver_capa *capa) in wpa_driver_roboswitch_get_capa() argument
201 os_memset(capa, 0, sizeof(*capa)); in wpa_driver_roboswitch_get_capa()
202 capa->flags = WPA_DRIVER_FLAGS_WIRED; in wpa_driver_roboswitch_get_capa()
Ddriver_wext.c1643 drv->capa.key_mgmt |= WPA_DRIVER_CAPA_KEY_MGMT_WPA | in wpa_driver_wext_get_range()
1647 drv->capa.key_mgmt |= WPA_DRIVER_CAPA_KEY_MGMT_WPA2 | in wpa_driver_wext_get_range()
1650 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_WEP40 | in wpa_driver_wext_get_range()
1652 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_WEP128; in wpa_driver_wext_get_range()
1654 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_TKIP; in wpa_driver_wext_get_range()
1656 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_CCMP; in wpa_driver_wext_get_range()
1658 drv->capa.flags |= WPA_DRIVER_FLAGS_4WAY_HANDSHAKE; in wpa_driver_wext_get_range()
1659 drv->capa.auth = WPA_DRIVER_AUTH_OPEN | in wpa_driver_wext_get_range()
1662 drv->capa.max_scan_ssids = 1; in wpa_driver_wext_get_range()
1666 drv->capa.key_mgmt, drv->capa.enc, in wpa_driver_wext_get_range()
[all …]
Ddriver_common.c162 const struct wpa_driver_capa *capa) in wpa_get_wowlan_triggers() argument
181 capa->wowlan_triggers.trigger, \ in wpa_get_wowlan_triggers()
Ddriver_nl80211.c1703 drv->capa.flags &= in wpa_driver_nl80211_drv_init()
1874 if ((drv->capa.flags & WPA_DRIVER_FLAGS_TDLS_SUPPORT)) { in nl80211_mgmt_subscribe_non_ap()
1886 drv->capa.key_mgmt |= WPA_DRIVER_CAPA_KEY_MGMT_FT | in nl80211_mgmt_subscribe_non_ap()
1915 if ((drv->capa.rrm_flags & WPA_DRIVER_FLAGS_TX_POWER_INSERTION) && in nl80211_mgmt_subscribe_non_ap()
2472 if (!(drv->capa.flags & WPA_DRIVER_FLAGS_KEY_MGMT_OFFLOAD)) in issue_key_mgmt_set_key()
2524 (drv->capa.flags & WPA_DRIVER_FLAGS_KEY_MGMT_OFFLOAD)) { in wpa_driver_nl80211_set_key()
2785 if (!(drv->capa.flags & WPA_DRIVER_FLAGS_SME)) in wpa_driver_nl80211_deauthenticate()
3260 if (!(drv->capa.max_acl_mac_addrs)) in wpa_driver_nl80211_set_acl()
3263 if (params->num_mac_acl > drv->capa.max_acl_mac_addrs) in wpa_driver_nl80211_set_acl()
3480 if (drv->capa.flags & WPA_DRIVER_FLAGS_INACTIVITY_TIMER) { in wpa_driver_nl80211_set_ap()
[all …]
Ddriver_ndis.h45 struct wpa_driver_capa capa; member
Ddriver_wired.c416 static int wpa_driver_wired_get_capa(void *priv, struct wpa_driver_capa *capa) in wpa_driver_wired_get_capa() argument
418 os_memset(capa, 0, sizeof(*capa)); in wpa_driver_wired_get_capa()
419 capa->flags = WPA_DRIVER_FLAGS_WIRED; in wpa_driver_wired_get_capa()
Ddriver_privsep.c697 struct wpa_driver_capa *capa) in wpa_driver_privsep_get_capa() argument
701 size_t len = sizeof(*capa); in wpa_driver_privsep_get_capa()
703 res = wpa_priv_cmd(drv, PRIVSEP_CMD_GET_CAPA, NULL, 0, capa, &len); in wpa_driver_privsep_get_capa()
704 if (res < 0 || len != sizeof(*capa)) in wpa_driver_privsep_get_capa()
Ddriver_nl80211_scan.c324 if (!drv->capa.sched_scan_supported) in wpa_driver_nl80211_sched_scan()
334 (int) drv->num_filter_ssids <= drv->capa.max_match_sets) || in wpa_driver_nl80211_sched_scan()
417 if (!drv->capa.sched_scan_supported) in wpa_driver_nl80211_stop_sched_scan()
660 if (drv->capa.flags & WPA_DRIVER_FLAGS_SME) { in clear_state_mismatch()
Ddriver_macsec_qca.c119 static int macsec_qca_get_capa(void *priv, struct wpa_driver_capa *capa) in macsec_qca_get_capa() argument
121 os_memset(capa, 0, sizeof(*capa)); in macsec_qca_get_capa()
122 capa->flags = WPA_DRIVER_FLAGS_WIRED; in macsec_qca_get_capa()
Ddriver_nl80211_event.c147 if (!(drv->capa.flags & WPA_DRIVER_FLAGS_SME) && in mlme_event_auth()
210 if (!(drv->capa.flags & WPA_DRIVER_FLAGS_SME) && in mlme_event_assoc()
277 if (drv->capa.flags & WPA_DRIVER_FLAGS_SME) { in mlme_event_connect()
381 if (drv->capa.flags & WPA_DRIVER_FLAGS_SME) { in mlme_event_disconnect()
633 if ((drv->capa.flags & WPA_DRIVER_FLAGS_SME) && in mlme_event_deauth_disassoc()
1839 (drv->capa.flags & WPA_DRIVER_FLAGS_KEY_MGMT_OFFLOAD)) { in do_process_drv_event()
Ddriver_nl80211.h94 struct wpa_driver_capa capa; member
Ddriver.h1851 int (*get_capa)(void *priv, struct wpa_driver_capa *capa);
4646 const struct wpa_driver_capa *capa);
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_old_handlers.c481 struct wpa_driver_capa capa; in wpas_dbus_iface_capabilities() local
519 res = wpa_drv_get_capa(wpa_s, &capa); in wpas_dbus_iface_capabilities()
536 ((capa.enc & WPA_DRIVER_CAPA_ENC_CCMP) && in wpas_dbus_iface_capabilities()
539 ((capa.enc & WPA_DRIVER_CAPA_ENC_TKIP) && in wpas_dbus_iface_capabilities()
542 ((capa.key_mgmt & WPA_DRIVER_CAPA_KEY_MGMT_WPA_NONE) && in wpas_dbus_iface_capabilities()
571 if (((capa.enc & WPA_DRIVER_CAPA_ENC_CCMP) && in wpas_dbus_iface_capabilities()
574 ((capa.enc & WPA_DRIVER_CAPA_ENC_TKIP) && in wpas_dbus_iface_capabilities()
577 ((capa.enc & WPA_DRIVER_CAPA_ENC_WEP104) && in wpas_dbus_iface_capabilities()
580 ((capa.enc & WPA_DRIVER_CAPA_ENC_WEP40) && in wpas_dbus_iface_capabilities()
611 ((capa.key_mgmt & (WPA_DRIVER_CAPA_KEY_MGMT_WPA | in wpas_dbus_iface_capabilities()
[all …]
Ddbus_new_handlers.c2343 struct wpa_driver_capa capa; in wpas_dbus_getter_capabilities() local
2354 res = wpa_drv_get_capa(wpa_s, &capa); in wpas_dbus_getter_capabilities()
2369 ((capa.enc & WPA_DRIVER_CAPA_ENC_CCMP_256) && in wpas_dbus_getter_capabilities()
2372 ((capa.enc & WPA_DRIVER_CAPA_ENC_GCMP_256) && in wpas_dbus_getter_capabilities()
2375 ((capa.enc & WPA_DRIVER_CAPA_ENC_CCMP) && in wpas_dbus_getter_capabilities()
2378 ((capa.enc & WPA_DRIVER_CAPA_ENC_GCMP) && in wpas_dbus_getter_capabilities()
2381 ((capa.enc & WPA_DRIVER_CAPA_ENC_TKIP) && in wpas_dbus_getter_capabilities()
2384 ((capa.key_mgmt & WPA_DRIVER_CAPA_KEY_MGMT_WPA_NONE) && in wpas_dbus_getter_capabilities()
2409 ((capa.enc & WPA_DRIVER_CAPA_ENC_CCMP_256) && in wpas_dbus_getter_capabilities()
2412 ((capa.enc & WPA_DRIVER_CAPA_ENC_GCMP_256) && in wpas_dbus_getter_capabilities()
[all …]
/external/wpa_supplicant_8/hostapd/
Dmain.c155 struct wpa_driver_capa capa; in hostapd_driver_init() local
212 hapd->driver->get_capa(hapd->drv_priv, &capa) == 0) { in hostapd_driver_init()
215 iface->drv_flags = capa.flags; in hostapd_driver_init()
216 iface->smps_modes = capa.smps_modes; in hostapd_driver_init()
217 iface->probe_resp_offloads = capa.probe_resp_offloads; in hostapd_driver_init()
218 iface->extended_capa = capa.extended_capa; in hostapd_driver_init()
219 iface->extended_capa_mask = capa.extended_capa_mask; in hostapd_driver_init()
220 iface->extended_capa_len = capa.extended_capa_len; in hostapd_driver_init()
221 iface->drv_max_acl_mac_addrs = capa.max_acl_mac_addrs; in hostapd_driver_init()
223 triggs = wpa_get_wowlan_triggers(conf->wowlan_triggers, &capa); in hostapd_driver_init()
/external/wpa_supplicant_8/wpa_supplicant/
Dwpa_supplicant.c3704 const struct wpa_driver_capa *capa) in wpas_set_wowlan_triggers() argument
3712 triggers = wpa_get_wowlan_triggers(wpa_s->conf->wowlan_triggers, capa); in wpas_set_wowlan_triggers()
4032 struct wpa_driver_capa capa; in wpa_supplicant_init_iface() local
4180 capa_res = wpa_drv_get_capa(wpa_s, &capa); in wpa_supplicant_init_iface()
4183 wpa_s->drv_flags = capa.flags; in wpa_supplicant_init_iface()
4184 wpa_s->drv_enc = capa.enc; in wpa_supplicant_init_iface()
4185 wpa_s->drv_smps_modes = capa.smps_modes; in wpa_supplicant_init_iface()
4186 wpa_s->drv_rrm_flags = capa.rrm_flags; in wpa_supplicant_init_iface()
4187 wpa_s->probe_resp_offloads = capa.probe_resp_offloads; in wpa_supplicant_init_iface()
4188 wpa_s->max_scan_ssids = capa.max_scan_ssids; in wpa_supplicant_init_iface()
[all …]
Dctrl_iface.c3403 unsigned int capa; member
3428 struct wpa_driver_capa *capa, in ctrl_iface_get_capability_pairwise() argument
3449 if (!ciphers[i].group_only && capa->enc & ciphers[i].capa) { in ctrl_iface_get_capability_pairwise()
3464 struct wpa_driver_capa *capa, in ctrl_iface_get_capability_group() argument
3485 if (capa->enc & ciphers[i].capa) { in ctrl_iface_get_capability_group()
3500 struct wpa_driver_capa *capa, in ctrl_iface_get_capability_group_mgmt() argument
3514 if (capa->enc & ciphers_group_mgmt[i].capa) { in ctrl_iface_get_capability_group_mgmt()
3529 struct wpa_driver_capa *capa, in ctrl_iface_get_capability_key_mgmt() argument
3554 if (capa->key_mgmt & (WPA_DRIVER_CAPA_KEY_MGMT_WPA | in ctrl_iface_get_capability_key_mgmt()
3562 if (capa->key_mgmt & (WPA_DRIVER_CAPA_KEY_MGMT_WPA_PSK | in ctrl_iface_get_capability_key_mgmt()
[all …]
Dwpa_priv.c301 struct wpa_driver_capa capa; in wpa_priv_cmd_get_capa() local
307 iface->driver->get_capa(iface->drv_priv, &capa) < 0) in wpa_priv_cmd_get_capa()
310 sendto(iface->fd, &capa, sizeof(capa), 0, (struct sockaddr *) from, in wpa_priv_cmd_get_capa()
Ddriver_i.h212 struct wpa_driver_capa *capa) in wpa_drv_get_capa() argument
215 return wpa_s->driver->get_capa(wpa_s->drv_priv, capa); in wpa_drv_get_capa()
Dwps_supplicant.c186 struct wpa_driver_capa capa; in wpas_wps_security_workaround() local
200 if (wpa_drv_get_capa(wpa_s, &capa)) in wpas_wps_security_workaround()
241 (capa.key_mgmt & WPA_DRIVER_CAPA_KEY_MGMT_WPA2_PSK)) { in wpas_wps_security_workaround()
252 (capa.enc & WPA_DRIVER_CAPA_ENC_CCMP)) { in wpas_wps_security_workaround()

12