/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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_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()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/ |
D | driver_nl80211_capa.c | 61 struct wpa_driver_capa *capa; member 113 info->capa->flags |= WPA_DRIVER_FLAGS_AP; in wiphy_info_supported_iftypes() 116 info->capa->flags |= WPA_DRIVER_FLAGS_MESH; in wiphy_info_supported_iftypes() 119 info->capa->flags |= WPA_DRIVER_FLAGS_IBSS; in wiphy_info_supported_iftypes() 122 info->capa->flags |= in wiphy_info_supported_iftypes() 165 info->capa->flags |= WPA_DRIVER_FLAGS_RADAR; in wiphy_info_iface_comb_process() 235 info->capa->sched_scan_supported = 1; in wiphy_info_supp_cmds() 270 info->capa->enc |= WPA_DRIVER_CAPA_ENC_CCMP_256; in wiphy_info_cipher_suites() 273 info->capa->enc |= WPA_DRIVER_CAPA_ENC_GCMP_256; in wiphy_info_cipher_suites() 276 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_PSK | in wpa_driver_openbsd_get_capa()
|
D | driver_ndis.c | 1686 drv->capa.key_mgmt |= WPA_DRIVER_CAPA_KEY_MGMT_WPA; in wpa_driver_ndis_get_wpa_capability() 1693 drv->capa.key_mgmt |= WPA_DRIVER_CAPA_KEY_MGMT_WPA_PSK; in wpa_driver_ndis_get_wpa_capability() 1699 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_CCMP; in wpa_driver_ndis_get_wpa_capability() 1705 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_TKIP; in wpa_driver_ndis_get_wpa_capability() 1711 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_WEP40 | in wpa_driver_ndis_get_wpa_capability() 1717 drv->capa.auth |= WPA_DRIVER_AUTH_SHARED; in wpa_driver_ndis_get_wpa_capability() 1722 drv->capa.auth |= WPA_DRIVER_AUTH_OPEN; in wpa_driver_ndis_get_wpa_capability() 1730 if (drv->capa.key_mgmt & WPA_DRIVER_CAPA_KEY_MGMT_WPA && in wpa_driver_ndis_get_wpa_capability() 1731 drv->capa.enc & (WPA_DRIVER_CAPA_ENC_TKIP | in wpa_driver_ndis_get_wpa_capability() 1741 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 1487 drv->capa.key_mgmt = WPA_DRIVER_CAPA_KEY_MGMT_WPA | in wpa_driver_bsd_capa() 1490 drv->capa.key_mgmt = WPA_DRIVER_CAPA_KEY_MGMT_WPA2 | in wpa_driver_bsd_capa() 1494 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_WEP40 | in wpa_driver_bsd_capa() 1497 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_TKIP; in wpa_driver_bsd_capa() 1499 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_CCMP; in wpa_driver_bsd_capa() 1502 drv->capa.flags |= WPA_DRIVER_FLAGS_AP; in wpa_driver_bsd_capa() 1514 drv->capa.key_mgmt = WPA_DRIVER_CAPA_KEY_MGMT_WPA | in wpa_driver_bsd_capa() 1518 drv->capa.enc = WPA_DRIVER_CAPA_ENC_WEP40 | in wpa_driver_bsd_capa() 1522 drv->capa.flags |= WPA_DRIVER_FLAGS_AP; in wpa_driver_bsd_capa() [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_nl80211.c | 2050 drv->capa.flags &= in wpa_driver_nl80211_drv_init() 2185 ((drv->capa.flags & WPA_DRIVER_FLAGS_SAE) && in nl80211_mgmt_subscribe_non_ap() 2186 !(drv->capa.flags & WPA_DRIVER_FLAGS_SME))) { in nl80211_mgmt_subscribe_non_ap() 2254 if ((drv->capa.flags & WPA_DRIVER_FLAGS_TDLS_SUPPORT)) { in nl80211_mgmt_subscribe_non_ap() 2271 drv->capa.key_mgmt |= WPA_DRIVER_CAPA_KEY_MGMT_FT | in nl80211_mgmt_subscribe_non_ap() 2309 if ((drv->capa.rrm_flags & WPA_DRIVER_FLAGS_TX_POWER_INSERTION) && in nl80211_mgmt_subscribe_non_ap() 2948 if (!(drv->capa.flags & WPA_DRIVER_FLAGS_KEY_MGMT_OFFLOAD)) in issue_key_mgmt_set_key() 3040 (drv->capa.flags & WPA_DRIVER_FLAGS_KEY_MGMT_OFFLOAD)) { in wpa_driver_nl80211_set_key() 3049 (drv->capa.flags & WPA_DRIVER_FLAGS_4WAY_HANDSHAKE_8021X)) in wpa_driver_nl80211_set_key() 3313 if (!(drv->capa.flags & WPA_DRIVER_FLAGS_SME)) { in wpa_driver_nl80211_deauthenticate() [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_wext.c | 1635 drv->capa.key_mgmt |= WPA_DRIVER_CAPA_KEY_MGMT_WPA | in wpa_driver_wext_get_range() 1639 drv->capa.key_mgmt |= WPA_DRIVER_CAPA_KEY_MGMT_WPA2 | in wpa_driver_wext_get_range() 1642 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_WEP40 | in wpa_driver_wext_get_range() 1644 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_WEP128; in wpa_driver_wext_get_range() 1646 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_TKIP; in wpa_driver_wext_get_range() 1648 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_CCMP; in wpa_driver_wext_get_range() 1650 drv->capa.flags |= WPA_DRIVER_FLAGS_4WAY_HANDSHAKE_PSK | in wpa_driver_wext_get_range() 1652 drv->capa.auth = WPA_DRIVER_AUTH_OPEN | in wpa_driver_wext_get_range() 1655 drv->capa.max_scan_ssids = 1; in wpa_driver_wext_get_range() 1659 drv->capa.key_mgmt, drv->capa.enc, in wpa_driver_wext_get_range() [all …]
|
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()
|
/third_party/python/Lib/test/ |
D | test_poplib.py | 359 capa = self.client.capa() 360 self.assertTrue('IMPLEMENTATION' in capa.keys()) 370 capa = self.client.capa() 371 self.assertTrue('STLS' in capa.keys()) 447 capa = self.client.capa() 448 self.assertFalse('STLS' in capa.keys()) 481 capa = self.client.capa() 482 self.assertFalse(b'STLS' in capa.keys())
|
/third_party/FreeBSD/sys/dev/usb/controller/ |
D | xhci_pci.c | 206 cparams = XREAD4(sc, capa, XHCI_HCSPARAMS0); in xhci_pci_take_controller() 213 eec = XREAD4(sc, capa, eecp); in xhci_pci_take_controller() 217 bios_sem = XREAD1(sc, capa, eecp + in xhci_pci_take_controller() 223 XWRITE1(sc, capa, eecp + in xhci_pci_take_controller() 227 bios_sem = XREAD1(sc, capa, eecp + in xhci_pci_take_controller()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/hostapd/ |
D | ap_main.c | 162 struct wpa_driver_capa capa; in hostapd_driver_init() local 220 hapd->driver->get_capa(hapd->drv_priv, &capa) == 0) { in hostapd_driver_init() 223 iface->drv_flags = capa.flags; in hostapd_driver_init() 224 iface->smps_modes = capa.smps_modes; in hostapd_driver_init() 225 iface->probe_resp_offloads = capa.probe_resp_offloads; in hostapd_driver_init() 229 iface->extended_capa = capa.extended_capa; in hostapd_driver_init() 230 iface->extended_capa_mask = capa.extended_capa_mask; in hostapd_driver_init() 231 iface->extended_capa_len = capa.extended_capa_len; in hostapd_driver_init() 232 iface->drv_max_acl_mac_addrs = capa.max_acl_mac_addrs; in hostapd_driver_init() 240 triggs = wpa_get_wowlan_triggers(conf->wowlan_triggers, &capa); in hostapd_driver_init()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/ |
D | ap_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()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/dbus/ |
D | dbus_new_handlers.c | 2606 struct wpa_driver_capa capa; in wpas_dbus_getter_capabilities() local 2617 res = wpa_drv_get_capa(wpa_s, &capa); in wpas_dbus_getter_capabilities() 2632 ((capa.enc & WPA_DRIVER_CAPA_ENC_CCMP_256) && in wpas_dbus_getter_capabilities() 2635 ((capa.enc & WPA_DRIVER_CAPA_ENC_GCMP_256) && in wpas_dbus_getter_capabilities() 2638 ((capa.enc & WPA_DRIVER_CAPA_ENC_CCMP) && in wpas_dbus_getter_capabilities() 2641 ((capa.enc & WPA_DRIVER_CAPA_ENC_GCMP) && in wpas_dbus_getter_capabilities() 2644 ((capa.enc & WPA_DRIVER_CAPA_ENC_TKIP) && in wpas_dbus_getter_capabilities() 2647 ((capa.key_mgmt & WPA_DRIVER_CAPA_KEY_MGMT_WPA_NONE) && in wpas_dbus_getter_capabilities() 2672 ((capa.enc & WPA_DRIVER_CAPA_ENC_CCMP_256) && in wpas_dbus_getter_capabilities() 2675 ((capa.enc & WPA_DRIVER_CAPA_ENC_GCMP_256) && in wpas_dbus_getter_capabilities() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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 …]
|