/external/wpa_supplicant_8/src/drivers/ |
D | driver_nl80211_capa.c | 61 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 …]
|
D | driver_openbsd.c | 62 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()
|
D | driver_ndis.c | 1678 drv->capa.key_mgmt |= WPA_DRIVER_CAPA_KEY_MGMT_WPA; in wpa_driver_ndis_get_wpa_capability() 1685 drv->capa.key_mgmt |= WPA_DRIVER_CAPA_KEY_MGMT_WPA_PSK; in wpa_driver_ndis_get_wpa_capability() 1691 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_CCMP; in wpa_driver_ndis_get_wpa_capability() 1697 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_TKIP; in wpa_driver_ndis_get_wpa_capability() 1703 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_WEP40 | in wpa_driver_ndis_get_wpa_capability() 1709 drv->capa.auth |= WPA_DRIVER_AUTH_SHARED; in wpa_driver_ndis_get_wpa_capability() 1714 drv->capa.auth |= WPA_DRIVER_AUTH_OPEN; in wpa_driver_ndis_get_wpa_capability() 1722 if (drv->capa.key_mgmt & WPA_DRIVER_CAPA_KEY_MGMT_WPA && in wpa_driver_ndis_get_wpa_capability() 1723 drv->capa.enc & (WPA_DRIVER_CAPA_ENC_TKIP | in wpa_driver_ndis_get_wpa_capability() 1733 drv->capa.key_mgmt, drv->capa.enc, drv->capa.auth); in wpa_driver_ndis_get_wpa_capability() [all …]
|
D | driver_bsd.c | 70 struct wpa_driver_capa capa; /* driver capability */ member 1482 drv->capa.key_mgmt = WPA_DRIVER_CAPA_KEY_MGMT_WPA | in wpa_driver_bsd_capa() 1485 drv->capa.key_mgmt = WPA_DRIVER_CAPA_KEY_MGMT_WPA2 | in wpa_driver_bsd_capa() 1489 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_WEP40 | in wpa_driver_bsd_capa() 1492 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_TKIP; in wpa_driver_bsd_capa() 1494 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_CCMP; in wpa_driver_bsd_capa() 1497 drv->capa.flags |= WPA_DRIVER_FLAGS_AP; in wpa_driver_bsd_capa() 1509 drv->capa.key_mgmt = WPA_DRIVER_CAPA_KEY_MGMT_WPA | in wpa_driver_bsd_capa() 1513 drv->capa.enc = WPA_DRIVER_CAPA_ENC_WEP40 | in wpa_driver_bsd_capa() 1517 drv->capa.flags |= WPA_DRIVER_FLAGS_AP; in wpa_driver_bsd_capa() [all …]
|
D | driver_wext.h | 30 struct wpa_driver_capa capa; member 75 int wpa_driver_wext_get_capa(void *priv, struct wpa_driver_capa *capa);
|
D | driver_roboswitch.c | 199 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()
|
D | driver_nl80211.c | 1776 drv->capa.flags &= in wpa_driver_nl80211_drv_init() 1947 if ((drv->capa.flags & WPA_DRIVER_FLAGS_TDLS_SUPPORT)) { in nl80211_mgmt_subscribe_non_ap() 1964 drv->capa.key_mgmt |= WPA_DRIVER_CAPA_KEY_MGMT_FT | in nl80211_mgmt_subscribe_non_ap() 1993 if ((drv->capa.rrm_flags & WPA_DRIVER_FLAGS_TX_POWER_INSERTION) && in nl80211_mgmt_subscribe_non_ap() 2610 if (!(drv->capa.flags & WPA_DRIVER_FLAGS_KEY_MGMT_OFFLOAD)) in issue_key_mgmt_set_key() 2664 (drv->capa.flags & WPA_DRIVER_FLAGS_KEY_MGMT_OFFLOAD)) { in wpa_driver_nl80211_set_key() 2926 if (!(drv->capa.flags & WPA_DRIVER_FLAGS_SME)) in wpa_driver_nl80211_deauthenticate() 3408 if (!(drv->capa.max_acl_mac_addrs)) in wpa_driver_nl80211_set_acl() 3411 if (params->num_mac_acl > drv->capa.max_acl_mac_addrs) in wpa_driver_nl80211_set_acl() 3633 if (drv->capa.flags & WPA_DRIVER_FLAGS_INACTIVITY_TIMER) { in wpa_driver_nl80211_set_ap() [all …]
|
D | driver_privsep.c | 779 struct wpa_driver_capa *capa) in wpa_driver_privsep_get_capa() argument 783 size_t len = sizeof(*capa); in wpa_driver_privsep_get_capa() 785 res = wpa_priv_cmd(drv, PRIVSEP_CMD_GET_CAPA, NULL, 0, capa, &len); in wpa_driver_privsep_get_capa() 786 if (res < 0 || len != sizeof(*capa)) in wpa_driver_privsep_get_capa() 789 capa->extended_capa = NULL; in wpa_driver_privsep_get_capa() 790 capa->extended_capa_mask = NULL; in wpa_driver_privsep_get_capa() 791 capa->extended_capa_len = 0; in wpa_driver_privsep_get_capa()
|
D | driver_common.c | 162 const struct wpa_driver_capa *capa) in wpa_get_wowlan_triggers() argument 181 capa->wowlan_triggers.trigger, \ in wpa_get_wowlan_triggers()
|
D | driver_nl80211_scan.c | 349 drv->capa.max_sched_scan_plan_interval) { in nl80211_sched_scan_add_scan_plans() 361 drv->capa.max_sched_scan_plan_iterations) { in nl80211_sched_scan_add_scan_plans() 414 if (!drv->capa.sched_scan_supported) in wpa_driver_nl80211_sched_scan() 419 params->sched_scan_plans_num > drv->capa.max_sched_scan_plans) { in wpa_driver_nl80211_sched_scan() 430 if (drv->capa.max_sched_scan_plan_iterations) { in wpa_driver_nl80211_sched_scan() 440 (int) drv->num_filter_ssids <= drv->capa.max_match_sets) || in wpa_driver_nl80211_sched_scan() 522 if (!drv->capa.sched_scan_supported) in wpa_driver_nl80211_stop_sched_scan() 748 if (drv->capa.flags & WPA_DRIVER_FLAGS_SME) { in clear_state_mismatch()
|
D | driver_wext.c | 1643 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 …]
|
D | driver_ndis.h | 45 struct wpa_driver_capa capa; member
|
D | driver_wired.c | 417 static int wpa_driver_wired_get_capa(void *priv, struct wpa_driver_capa *capa) in wpa_driver_wired_get_capa() argument 419 os_memset(capa, 0, sizeof(*capa)); in wpa_driver_wired_get_capa() 420 capa->flags = WPA_DRIVER_FLAGS_WIRED; in wpa_driver_wired_get_capa()
|
D | driver_macsec_qca.c | 119 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()
|
D | driver_nl80211_event.c | 147 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() 278 if (drv->capa.flags & WPA_DRIVER_FLAGS_SME) { in mlme_event_connect() 395 if (drv->capa.flags & WPA_DRIVER_FLAGS_SME) { in mlme_event_disconnect() 648 if ((drv->capa.flags & WPA_DRIVER_FLAGS_SME) && in mlme_event_deauth_disassoc() 675 if (!(drv->capa.flags & WPA_DRIVER_FLAGS_SME) && in mlme_event_deauth_disassoc() 2034 (drv->capa.flags & WPA_DRIVER_FLAGS_KEY_MGMT_OFFLOAD)) { in do_process_drv_event()
|
/external/iw/ |
D | scan.c | 728 __u16 count, capa; in _print_rsn_ie() local 799 capa = data[0] | (data[1] << 8); in _print_rsn_ie() 802 if (capa & 0x0001) in _print_rsn_ie() 804 if (capa & 0x0002) in _print_rsn_ie() 806 switch ((capa & 0x000c) >> 2) { in _print_rsn_ie() 820 switch ((capa & 0x0030) >> 4) { in _print_rsn_ie() 834 if (capa & 0x0040) in _print_rsn_ie() 836 if (capa & 0x0080) in _print_rsn_ie() 838 if (capa & 0x0200) in _print_rsn_ie() 840 if (capa & 0x0400) in _print_rsn_ie() [all …]
|
D | util.c | 640 void print_vht_info(__u32 capa, const __u8 *mcs) in print_vht_info() argument 645 printf("\t\tVHT Capabilities (0x%.8x):\n", capa); in print_vht_info() 649 if (capa & BIT(_bit)) \ in print_vht_info() 654 switch (capa & 3) { in print_vht_info() 661 switch ((capa >> 2) & 3) { in print_vht_info()
|
D | iw.h | 146 void print_vht_info(__u32 capa, const __u8 *mcs);
|
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
D | dbus_old_handlers.c | 481 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 …]
|
D | dbus_new_handlers.c | 2399 struct wpa_driver_capa capa; in wpas_dbus_getter_capabilities() local 2410 res = wpa_drv_get_capa(wpa_s, &capa); in wpas_dbus_getter_capabilities() 2425 ((capa.enc & WPA_DRIVER_CAPA_ENC_CCMP_256) && in wpas_dbus_getter_capabilities() 2428 ((capa.enc & WPA_DRIVER_CAPA_ENC_GCMP_256) && in wpas_dbus_getter_capabilities() 2431 ((capa.enc & WPA_DRIVER_CAPA_ENC_CCMP) && in wpas_dbus_getter_capabilities() 2434 ((capa.enc & WPA_DRIVER_CAPA_ENC_GCMP) && in wpas_dbus_getter_capabilities() 2437 ((capa.enc & WPA_DRIVER_CAPA_ENC_TKIP) && in wpas_dbus_getter_capabilities() 2440 ((capa.key_mgmt & WPA_DRIVER_CAPA_KEY_MGMT_WPA_NONE) && in wpas_dbus_getter_capabilities() 2465 ((capa.enc & WPA_DRIVER_CAPA_ENC_CCMP_256) && in wpas_dbus_getter_capabilities() 2468 ((capa.enc & WPA_DRIVER_CAPA_ENC_GCMP_256) && in wpas_dbus_getter_capabilities() [all …]
|
/external/wpa_supplicant_8/hostapd/ |
D | main.c | 156 struct wpa_driver_capa capa; in hostapd_driver_init() local 214 hapd->driver->get_capa(hapd->drv_priv, &capa) == 0) { in hostapd_driver_init() 217 iface->drv_flags = capa.flags; in hostapd_driver_init() 218 iface->smps_modes = capa.smps_modes; in hostapd_driver_init() 219 iface->probe_resp_offloads = capa.probe_resp_offloads; in hostapd_driver_init() 220 iface->extended_capa = capa.extended_capa; in hostapd_driver_init() 221 iface->extended_capa_mask = capa.extended_capa_mask; in hostapd_driver_init() 222 iface->extended_capa_len = capa.extended_capa_len; in hostapd_driver_init() 223 iface->drv_max_acl_mac_addrs = capa.max_acl_mac_addrs; in hostapd_driver_init() 225 triggs = wpa_get_wowlan_triggers(conf->wowlan_triggers, &capa); in hostapd_driver_init()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | wpa_priv.c | 383 struct wpa_driver_capa capa; in wpa_priv_cmd_get_capa() local 389 iface->driver->get_capa(iface->drv_priv, &capa) < 0) in wpa_priv_cmd_get_capa() 393 capa.extended_capa = NULL; in wpa_priv_cmd_get_capa() 394 capa.extended_capa_mask = NULL; in wpa_priv_cmd_get_capa() 395 capa.extended_capa_len = 0; in wpa_priv_cmd_get_capa() 396 sendto(iface->fd, &capa, sizeof(capa), 0, (struct sockaddr *) from, in wpa_priv_cmd_get_capa()
|
D | wpa_supplicant.c | 4020 const struct wpa_driver_capa *capa) in wpas_set_wowlan_triggers() argument 4028 triggers = wpa_get_wowlan_triggers(wpa_s->conf->wowlan_triggers, capa); in wpas_set_wowlan_triggers() 4528 struct wpa_driver_capa capa; in wpa_supplicant_init_iface() local 4676 capa_res = wpa_drv_get_capa(wpa_s, &capa); in wpa_supplicant_init_iface() 4679 wpa_s->drv_flags = capa.flags; in wpa_supplicant_init_iface() 4680 wpa_s->drv_enc = capa.enc; in wpa_supplicant_init_iface() 4681 wpa_s->drv_smps_modes = capa.smps_modes; in wpa_supplicant_init_iface() 4682 wpa_s->drv_rrm_flags = capa.rrm_flags; in wpa_supplicant_init_iface() 4683 wpa_s->probe_resp_offloads = capa.probe_resp_offloads; in wpa_supplicant_init_iface() 4684 wpa_s->max_scan_ssids = capa.max_scan_ssids; in wpa_supplicant_init_iface() [all …]
|
D | ctrl_iface.c | 3463 unsigned int capa; member 3488 struct wpa_driver_capa *capa, in ctrl_iface_get_capability_pairwise() argument 3509 if (!ciphers[i].group_only && capa->enc & ciphers[i].capa) { in ctrl_iface_get_capability_pairwise() 3524 struct wpa_driver_capa *capa, in ctrl_iface_get_capability_group() argument 3545 if (capa->enc & ciphers[i].capa) { in ctrl_iface_get_capability_group() 3560 struct wpa_driver_capa *capa, in ctrl_iface_get_capability_group_mgmt() argument 3574 if (capa->enc & ciphers_group_mgmt[i].capa) { in ctrl_iface_get_capability_group_mgmt() 3589 struct wpa_driver_capa *capa, in ctrl_iface_get_capability_key_mgmt() argument 3614 if (capa->key_mgmt & (WPA_DRIVER_CAPA_KEY_MGMT_WPA | in ctrl_iface_get_capability_key_mgmt() 3622 if (capa->key_mgmt & (WPA_DRIVER_CAPA_KEY_MGMT_WPA_PSK | in ctrl_iface_get_capability_key_mgmt() [all …]
|
D | eapol_test.c | 986 static int driver_get_capa(void *priv, struct wpa_driver_capa *capa) in driver_get_capa() argument 988 os_memset(capa, 0, sizeof(*capa)); in driver_get_capa() 989 capa->flags = WPA_DRIVER_FLAGS_WIRED; in driver_get_capa()
|