/hostap-3.6.0/src/drivers/ |
D | driver_nl80211_capa.c | 63 struct wpa_driver_capa *capa; member 118 info->capa->flags |= WPA_DRIVER_FLAGS_AP; in wiphy_info_supported_iftypes() 121 info->capa->flags |= WPA_DRIVER_FLAGS_MESH; in wiphy_info_supported_iftypes() 124 info->capa->flags |= WPA_DRIVER_FLAGS_IBSS; in wiphy_info_supported_iftypes() 127 info->capa->flags |= in wiphy_info_supported_iftypes() 170 info->capa->flags |= WPA_DRIVER_FLAGS_RADAR; in wiphy_info_iface_comb_process() 240 info->capa->sched_scan_supported = 1; in wiphy_info_supp_cmds() 365 info->drv->capa.key_mgmt_iftype[WPA_IF_IBSS] = key_mgmt; in get_iface_akm_suites_info() 368 info->drv->capa.key_mgmt_iftype[WPA_IF_STATION] = in get_iface_akm_suites_info() 372 info->drv->capa.key_mgmt_iftype[WPA_IF_AP_BSS] = in get_iface_akm_suites_info() [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_PSK | in wpa_driver_openbsd_get_capa()
|
D | driver_ndis.c | 1698 drv->capa.key_mgmt |= WPA_DRIVER_CAPA_KEY_MGMT_WPA; in wpa_driver_ndis_get_wpa_capability() 1705 drv->capa.key_mgmt |= WPA_DRIVER_CAPA_KEY_MGMT_WPA_PSK; in wpa_driver_ndis_get_wpa_capability() 1711 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_CCMP; in wpa_driver_ndis_get_wpa_capability() 1717 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_TKIP; in wpa_driver_ndis_get_wpa_capability() 1723 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_WEP40 | in wpa_driver_ndis_get_wpa_capability() 1729 drv->capa.auth |= WPA_DRIVER_AUTH_SHARED; in wpa_driver_ndis_get_wpa_capability() 1734 drv->capa.auth |= WPA_DRIVER_AUTH_OPEN; in wpa_driver_ndis_get_wpa_capability() 1742 if (drv->capa.key_mgmt & WPA_DRIVER_CAPA_KEY_MGMT_WPA && in wpa_driver_ndis_get_wpa_capability() 1743 drv->capa.enc & (WPA_DRIVER_CAPA_ENC_TKIP | in wpa_driver_ndis_get_wpa_capability() 1753 drv->capa.key_mgmt, drv->capa.enc, drv->capa.auth); in wpa_driver_ndis_get_wpa_capability() [all …]
|
D | driver_zephyr.c | 376 static void phy_info_ht_capa_cfg(struct hostapd_hw_modes *mode, u16 capa, in phy_info_ht_capa_cfg() argument 381 if (capa) in phy_info_ht_capa_cfg() 382 mode->ht_capab = (capa); in phy_info_ht_capa_cfg() 397 unsigned int capa, in phy_info_vht_capa_cfg() argument 400 if (capa) in phy_info_vht_capa_cfg() 401 mode->vht_capab = (capa); in phy_info_vht_capa_cfg() 1111 static int wpa_drv_zep_get_capa(void *priv, struct wpa_driver_capa *capa) in wpa_drv_zep_get_capa() argument 1118 if ((!priv) || (!capa)) { in wpa_drv_zep_get_capa() 1131 ret = dev_ops->get_capa(if_ctx->dev_priv, capa); in wpa_drv_zep_get_capa() 1280 struct wpa_driver_capa capa; in nl80211_get_ext_capab() local [all …]
|
D | driver_bsd.c | 68 struct wpa_driver_capa capa; /* driver capability */ member 1483 drv->capa.key_mgmt = WPA_DRIVER_CAPA_KEY_MGMT_WPA | in wpa_driver_bsd_capa() 1486 drv->capa.key_mgmt = WPA_DRIVER_CAPA_KEY_MGMT_WPA2 | in wpa_driver_bsd_capa() 1490 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_WEP40 | in wpa_driver_bsd_capa() 1493 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_TKIP; in wpa_driver_bsd_capa() 1495 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_CCMP; in wpa_driver_bsd_capa() 1498 drv->capa.flags |= WPA_DRIVER_FLAGS_AP; in wpa_driver_bsd_capa() 1510 drv->capa.key_mgmt = WPA_DRIVER_CAPA_KEY_MGMT_WPA | in wpa_driver_bsd_capa() 1514 drv->capa.enc = WPA_DRIVER_CAPA_ENC_WEP40 | in wpa_driver_bsd_capa() 1518 drv->capa.flags |= WPA_DRIVER_FLAGS_AP; in wpa_driver_bsd_capa() [all …]
|
D | driver_nl80211.c | 520 if ((drv->capa.flags2 & WPA_DRIVER_FLAGS2_CONTROL_PORT_RX) && in send_and_recv_msgs_owner() 552 if ((bss->drv->capa.flags2 & WPA_DRIVER_FLAGS2_CONTROL_PORT_RX) || in get_connect_handle() 2228 if (drv->capa.flags2 & WPA_DRIVER_FLAGS2_CONTROL_PORT_TX_STATUS) { in wpa_driver_nl80211_drv_init() 2247 drv->capa.flags &= in wpa_driver_nl80211_drv_init() 2372 } else if ((drv->capa.flags & WPA_DRIVER_FLAGS_SAE) && in nl80211_mgmt_subscribe_non_ap() 2373 !(drv->capa.flags & WPA_DRIVER_FLAGS_SME)) { in nl80211_mgmt_subscribe_non_ap() 2381 if ((drv->capa.flags & WPA_DRIVER_FLAGS_SME) && in nl80211_mgmt_subscribe_non_ap() 2446 if ((drv->capa.flags & WPA_DRIVER_FLAGS_TDLS_SUPPORT)) { in nl80211_mgmt_subscribe_non_ap() 2467 drv->capa.key_mgmt |= WPA_DRIVER_CAPA_KEY_MGMT_FT | in nl80211_mgmt_subscribe_non_ap() 2472 drv->capa.key_mgmt_iftype[i] = drv->capa.key_mgmt; in nl80211_mgmt_subscribe_non_ap() [all …]
|
D | driver_wired_common.c | 182 int driver_wired_get_capa(void *priv, struct wpa_driver_capa *capa) in driver_wired_get_capa() argument 184 os_memset(capa, 0, sizeof(*capa)); in driver_wired_get_capa() 185 capa->flags = WPA_DRIVER_FLAGS_WIRED; in driver_wired_get_capa()
|
D | driver_wext.h | 30 struct wpa_driver_capa capa; member 71 int wpa_driver_wext_get_capa(void *priv, struct wpa_driver_capa *capa);
|
D | driver_wext.c | 1002 drv->capa.key_mgmt_iftype[i] = drv->capa.key_mgmt; in wpa_driver_wext_finish_drv_init() 1640 drv->capa.key_mgmt |= WPA_DRIVER_CAPA_KEY_MGMT_WPA | in wpa_driver_wext_get_range() 1644 drv->capa.key_mgmt |= WPA_DRIVER_CAPA_KEY_MGMT_WPA2 | in wpa_driver_wext_get_range() 1647 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_WEP40 | in wpa_driver_wext_get_range() 1649 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_WEP128; in wpa_driver_wext_get_range() 1651 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_TKIP; in wpa_driver_wext_get_range() 1653 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_CCMP; in wpa_driver_wext_get_range() 1655 drv->capa.flags |= WPA_DRIVER_FLAGS_4WAY_HANDSHAKE_PSK | in wpa_driver_wext_get_range() 1657 drv->capa.auth = WPA_DRIVER_AUTH_OPEN | in wpa_driver_wext_get_range() 1660 drv->capa.max_scan_ssids = 1; in wpa_driver_wext_get_range() [all …]
|
D | driver_privsep.c | 787 struct wpa_driver_capa *capa) in wpa_driver_privsep_get_capa() argument 791 size_t len = sizeof(*capa); in wpa_driver_privsep_get_capa() 793 res = wpa_priv_cmd(drv, PRIVSEP_CMD_GET_CAPA, NULL, 0, capa, &len); in wpa_driver_privsep_get_capa() 794 if (res < 0 || len != sizeof(*capa)) in wpa_driver_privsep_get_capa() 797 capa->extended_capa = NULL; in wpa_driver_privsep_get_capa() 798 capa->extended_capa_mask = NULL; in wpa_driver_privsep_get_capa() 799 capa->extended_capa_len = 0; in wpa_driver_privsep_get_capa() 801 capa->flags &= ~WPA_DRIVER_FLAGS_CONTROL_PORT; in wpa_driver_privsep_get_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_scan.c | 276 if (!(drv->capa.rrm_flags & in nl80211_scan_common() 443 drv->capa.max_sched_scan_plan_interval) { in nl80211_sched_scan_add_scan_plans() 455 drv->capa.max_sched_scan_plan_iterations) { in nl80211_sched_scan_add_scan_plans() 508 if (!drv->capa.sched_scan_supported) in wpa_driver_nl80211_sched_scan() 513 params->sched_scan_plans_num > drv->capa.max_sched_scan_plans) { in wpa_driver_nl80211_sched_scan() 524 if (drv->capa.max_sched_scan_plan_iterations) { in wpa_driver_nl80211_sched_scan() 534 (int) drv->num_filter_ssids <= drv->capa.max_match_sets) || in wpa_driver_nl80211_sched_scan() 654 if (!drv->capa.sched_scan_supported) in wpa_driver_nl80211_stop_sched_scan() 867 if (drv->capa.flags & WPA_DRIVER_FLAGS_SME) { in clear_state_mismatch()
|
D | driver_wired_common.h | 28 int driver_wired_get_capa(void *priv, struct wpa_driver_capa *capa);
|
D | driver_ndis.h | 45 struct wpa_driver_capa capa; member
|
D | driver_common.c | 192 const struct wpa_driver_capa *capa) in wpa_get_wowlan_triggers() argument 211 capa->wowlan_triggers.trigger, \ in wpa_get_wowlan_triggers()
|
D | driver_zephyr.h | 218 struct wpa_driver_capa *capa);
|
D | driver_nl80211.h | 104 struct wpa_driver_capa capa; member
|
/hostap-3.6.0/tests/hwsim/ |
D | test_wpas_config.py | 134 def supported_param(capa, field): argument 136 if field in mesh_params and not capa['mesh']: 140 if field in sae_params and not capa['sae']: 145 def check_config(capa, config): argument 157 if supported_param(capa, field): 201 capa = {} 202 capa['mesh'] = "MESH" in wpas.get_capability("modes") 203 capa['sae'] = "SAE" in wpas.get_capability("auth_alg") 240 if supported_param(capa, field): 249 data1 = check_config(capa, config) [all …]
|
D | utils.py | 127 capa = dev.get_capability("fils") 128 if capa is None or "FILS" not in capa: 132 capa = dev.get_capability("fils") 133 if capa is None or "FILS-SK-PFS" not in capa:
|
/hostap-3.6.0/hostapd/ |
D | main.c | 159 struct wpa_driver_capa capa; in hostapd_driver_init() local 217 hapd->driver->get_capa(hapd->drv_priv, &capa) == 0) { in hostapd_driver_init() 220 iface->drv_flags = capa.flags; in hostapd_driver_init() 221 iface->drv_flags2 = capa.flags2; in hostapd_driver_init() 222 iface->probe_resp_offloads = capa.probe_resp_offloads; in hostapd_driver_init() 226 iface->extended_capa = capa.extended_capa; in hostapd_driver_init() 227 iface->extended_capa_mask = capa.extended_capa_mask; in hostapd_driver_init() 228 iface->extended_capa_len = capa.extended_capa_len; in hostapd_driver_init() 229 iface->drv_max_acl_mac_addrs = capa.max_acl_mac_addrs; in hostapd_driver_init() 237 triggs = wpa_get_wowlan_triggers(conf->wowlan_triggers, &capa); in hostapd_driver_init()
|
/hostap-3.6.0/wpa_supplicant/dbus/ |
D | dbus_new_handlers.c | 2972 struct wpa_driver_capa capa; in wpas_dbus_getter_capabilities() local 2983 res = wpa_drv_get_capa(wpa_s, &capa); in wpas_dbus_getter_capabilities() 3002 ((capa.enc & WPA_DRIVER_CAPA_ENC_CCMP_256) && in wpas_dbus_getter_capabilities() 3005 ((capa.enc & WPA_DRIVER_CAPA_ENC_GCMP_256) && in wpas_dbus_getter_capabilities() 3008 ((capa.enc & WPA_DRIVER_CAPA_ENC_CCMP) && in wpas_dbus_getter_capabilities() 3011 ((capa.enc & WPA_DRIVER_CAPA_ENC_GCMP) && in wpas_dbus_getter_capabilities() 3015 ((capa.enc & WPA_DRIVER_CAPA_ENC_TKIP) && in wpas_dbus_getter_capabilities() 3019 ((capa.key_mgmt & WPA_DRIVER_CAPA_KEY_MGMT_WPA_NONE) && in wpas_dbus_getter_capabilities() 3050 ((capa.enc & WPA_DRIVER_CAPA_ENC_CCMP_256) && in wpas_dbus_getter_capabilities() 3053 ((capa.enc & WPA_DRIVER_CAPA_ENC_GCMP_256) && in wpas_dbus_getter_capabilities() [all …]
|
/hostap-3.6.0/wpa_supplicant/ |
D | wpa_priv.c | 426 struct wpa_driver_capa capa; in wpa_priv_cmd_get_capa() local 432 iface->driver->get_capa(iface->drv_priv, &capa) < 0) in wpa_priv_cmd_get_capa() 436 capa.extended_capa = NULL; in wpa_priv_cmd_get_capa() 437 capa.extended_capa_mask = NULL; in wpa_priv_cmd_get_capa() 438 capa.extended_capa_len = 0; in wpa_priv_cmd_get_capa() 439 sendto(iface->fd, &capa, sizeof(capa), 0, (struct sockaddr *) from, in wpa_priv_cmd_get_capa()
|
D | wpa_supplicant.c | 5979 const struct wpa_driver_capa *capa) in wpas_set_wowlan_triggers() argument 5987 triggers = wpa_get_wowlan_triggers(wpa_s->conf->wowlan_triggers, capa); in wpas_set_wowlan_triggers() 6571 struct wpa_driver_capa capa; in wpa_supplicant_init_iface() local 6730 capa_res = wpa_drv_get_capa(wpa_s, &capa); in wpa_supplicant_init_iface() 6733 wpa_s->drv_flags = capa.flags; in wpa_supplicant_init_iface() 6734 wpa_s->drv_flags2 = capa.flags2; in wpa_supplicant_init_iface() 6735 wpa_s->drv_enc = capa.enc; in wpa_supplicant_init_iface() 6736 wpa_s->drv_rrm_flags = capa.rrm_flags; in wpa_supplicant_init_iface() 6737 wpa_s->probe_resp_offloads = capa.probe_resp_offloads; in wpa_supplicant_init_iface() 6738 wpa_s->max_scan_ssids = capa.max_scan_ssids; in wpa_supplicant_init_iface() [all …]
|
D | ctrl_iface.c | 3968 unsigned int capa; member 3997 struct wpa_driver_capa *capa, in ctrl_iface_get_capability_pairwise() argument 4022 if (!ciphers[i].group_only && capa->enc & ciphers[i].capa) { in ctrl_iface_get_capability_pairwise() 4037 struct wpa_driver_capa *capa, in ctrl_iface_get_capability_group() argument 4070 if (capa->enc & ciphers[i].capa) { in ctrl_iface_get_capability_group() 4085 struct wpa_driver_capa *capa, in ctrl_iface_get_capability_group_mgmt() argument 4099 if (capa->enc & ciphers_group_mgmt[i].capa) { in ctrl_iface_get_capability_group_mgmt() 4150 struct wpa_driver_capa *capa, in ctrl_iface_get_capability_key_mgmt() argument 4178 key_mgmt = capa->key_mgmt_iftype[iftype]; in ctrl_iface_get_capability_key_mgmt() 4180 key_mgmt = capa->key_mgmt; in ctrl_iface_get_capability_key_mgmt() [all …]
|
D | eapol_test.c | 981 static int driver_get_capa(void *priv, struct wpa_driver_capa *capa) in driver_get_capa() argument 983 os_memset(capa, 0, sizeof(*capa)); in driver_get_capa() 984 capa->flags = WPA_DRIVER_FLAGS_WIRED; in driver_get_capa()
|