/external/wpa_supplicant_6/wpa_supplicant/ |
D | ctrl_iface_dbus_handlers.c | 524 struct wpa_driver_capa capa; in wpas_dbus_iface_capabilities() local 562 res = wpa_drv_get_capa(wpa_s, &capa); in wpas_dbus_iface_capabilities() 580 if (capa.enc & WPA_DRIVER_CAPA_ENC_CCMP) { in wpas_dbus_iface_capabilities() 586 if (capa.enc & WPA_DRIVER_CAPA_ENC_TKIP) { in wpas_dbus_iface_capabilities() 592 if (capa.key_mgmt & WPA_DRIVER_CAPA_KEY_MGMT_WPA_NONE) { in wpas_dbus_iface_capabilities() 623 if (capa.enc & WPA_DRIVER_CAPA_ENC_CCMP) { in wpas_dbus_iface_capabilities() 629 if (capa.enc & WPA_DRIVER_CAPA_ENC_TKIP) { in wpas_dbus_iface_capabilities() 635 if (capa.enc & WPA_DRIVER_CAPA_ENC_WEP104) { in wpas_dbus_iface_capabilities() 641 if (capa.enc & WPA_DRIVER_CAPA_ENC_WEP40) { in wpas_dbus_iface_capabilities() 681 if (capa.key_mgmt & (WPA_DRIVER_CAPA_KEY_MGMT_WPA | in wpas_dbus_iface_capabilities() [all …]
|
D | ctrl_iface.c | 1196 struct wpa_driver_capa *capa, in ctrl_iface_get_capability_pairwise() argument 1215 if (capa->enc & WPA_DRIVER_CAPA_ENC_CCMP) { in ctrl_iface_get_capability_pairwise() 1223 if (capa->enc & WPA_DRIVER_CAPA_ENC_TKIP) { in ctrl_iface_get_capability_pairwise() 1231 if (capa->key_mgmt & WPA_DRIVER_CAPA_KEY_MGMT_WPA_NONE) { in ctrl_iface_get_capability_pairwise() 1244 struct wpa_driver_capa *capa, in ctrl_iface_get_capability_group() argument 1263 if (capa->enc & WPA_DRIVER_CAPA_ENC_CCMP) { in ctrl_iface_get_capability_group() 1271 if (capa->enc & WPA_DRIVER_CAPA_ENC_TKIP) { in ctrl_iface_get_capability_group() 1279 if (capa->enc & WPA_DRIVER_CAPA_ENC_WEP104) { in ctrl_iface_get_capability_group() 1288 if (capa->enc & WPA_DRIVER_CAPA_ENC_WEP40) { in ctrl_iface_get_capability_group() 1301 struct wpa_driver_capa *capa, in ctrl_iface_get_capability_key_mgmt() argument [all …]
|
D | wpa_supplicant.c | 935 struct wpa_driver_capa capa; in wpa_supplicant_associate() local 1197 if (wep_keys_set && wpa_drv_get_capa(wpa_s, &capa) == 0 && in wpa_supplicant_associate() 1198 capa.flags & WPA_DRIVER_FLAGS_SET_KEYS_AFTER_ASSOC) { in wpa_supplicant_associate() 1686 struct wpa_driver_capa capa; in wpa_supplicant_driver_init() local 1687 if (wpa_drv_get_capa(wpa_s, &capa) < 0 || in wpa_supplicant_driver_init() 1688 !(capa.flags & (WPA_DRIVER_CAPA_KEY_MGMT_WPA | in wpa_supplicant_driver_init() 1828 struct wpa_driver_capa capa; in wpa_supplicant_init_iface2() local 1923 if (wpa_drv_get_capa(wpa_s, &capa) == 0) { in wpa_supplicant_init_iface2() 1924 if (capa.flags & WPA_DRIVER_FLAGS_USER_SPACE_MLME) { in wpa_supplicant_init_iface2() 1929 if (capa.flags & WPA_DRIVER_FLAGS_4WAY_HANDSHAKE) in wpa_supplicant_init_iface2()
|
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
D | dbus_old_handlers.c | 502 struct wpa_driver_capa capa; in wpas_dbus_iface_capabilities() local 540 res = wpa_drv_get_capa(wpa_s, &capa); in wpas_dbus_iface_capabilities() 558 if (capa.enc & WPA_DRIVER_CAPA_ENC_CCMP) { in wpas_dbus_iface_capabilities() 564 if (capa.enc & WPA_DRIVER_CAPA_ENC_TKIP) { in wpas_dbus_iface_capabilities() 570 if (capa.key_mgmt & WPA_DRIVER_CAPA_KEY_MGMT_WPA_NONE) { in wpas_dbus_iface_capabilities() 601 if (capa.enc & WPA_DRIVER_CAPA_ENC_CCMP) { in wpas_dbus_iface_capabilities() 607 if (capa.enc & WPA_DRIVER_CAPA_ENC_TKIP) { in wpas_dbus_iface_capabilities() 613 if (capa.enc & WPA_DRIVER_CAPA_ENC_WEP104) { in wpas_dbus_iface_capabilities() 619 if (capa.enc & WPA_DRIVER_CAPA_ENC_WEP40) { in wpas_dbus_iface_capabilities() 659 if (capa.key_mgmt & (WPA_DRIVER_CAPA_KEY_MGMT_WPA | in wpas_dbus_iface_capabilities() [all …]
|
D | dbus_new_handlers.c | 1752 struct wpa_driver_capa capa; in wpas_dbus_getter_capabilities() local 1765 res = wpa_drv_get_capa(wpa_s, &capa); in wpas_dbus_getter_capabilities() 1781 if (capa.enc & WPA_DRIVER_CAPA_ENC_CCMP) { in wpas_dbus_getter_capabilities() 1787 if (capa.enc & WPA_DRIVER_CAPA_ENC_TKIP) { in wpas_dbus_getter_capabilities() 1793 if (capa.key_mgmt & WPA_DRIVER_CAPA_KEY_MGMT_WPA_NONE) { in wpas_dbus_getter_capabilities() 1822 if (capa.enc & WPA_DRIVER_CAPA_ENC_CCMP) { in wpas_dbus_getter_capabilities() 1828 if (capa.enc & WPA_DRIVER_CAPA_ENC_TKIP) { in wpas_dbus_getter_capabilities() 1834 if (capa.enc & WPA_DRIVER_CAPA_ENC_WEP104) { in wpas_dbus_getter_capabilities() 1840 if (capa.enc & WPA_DRIVER_CAPA_ENC_WEP40) { in wpas_dbus_getter_capabilities() 1881 if (capa.key_mgmt & (WPA_DRIVER_CAPA_KEY_MGMT_WPA | in wpas_dbus_getter_capabilities() [all …]
|
/external/wpa_supplicant_8/src/drivers/ |
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 | 65 struct wpa_driver_capa capa; /* driver capability */ member 1404 drv->capa.key_mgmt = WPA_DRIVER_CAPA_KEY_MGMT_WPA | in wpa_driver_bsd_capa() 1407 drv->capa.key_mgmt = WPA_DRIVER_CAPA_KEY_MGMT_WPA2 | in wpa_driver_bsd_capa() 1411 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_WEP40 | in wpa_driver_bsd_capa() 1414 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_TKIP; in wpa_driver_bsd_capa() 1416 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_CCMP; in wpa_driver_bsd_capa() 1419 drv->capa.flags |= WPA_DRIVER_FLAGS_AP; in wpa_driver_bsd_capa() 1431 drv->capa.key_mgmt = WPA_DRIVER_CAPA_KEY_MGMT_WPA | in wpa_driver_bsd_capa() 1435 drv->capa.enc = WPA_DRIVER_CAPA_ENC_WEP40 | in wpa_driver_bsd_capa() 1439 drv->capa.flags |= WPA_DRIVER_FLAGS_AP; in wpa_driver_bsd_capa() [all …]
|
D | driver_wext.h | 30 struct wpa_driver_capa capa; member 82 int wpa_driver_wext_get_capa(void *priv, struct wpa_driver_capa *capa);
|
D | driver_roboswitch.c | 203 struct wpa_driver_capa *capa) in wpa_driver_roboswitch_get_capa() argument 205 os_memset(capa, 0, sizeof(*capa)); in wpa_driver_roboswitch_get_capa() 206 capa->flags = WPA_DRIVER_FLAGS_WIRED; in wpa_driver_roboswitch_get_capa()
|
D | driver_wext.c | 1011 if (drv->capa.max_scan_ssids > 1) { in wpa_driver_wext_scan() 1560 drv->capa.key_mgmt |= WPA_DRIVER_CAPA_KEY_MGMT_WPA | in wpa_driver_wext_get_range() 1564 drv->capa.key_mgmt |= WPA_DRIVER_CAPA_KEY_MGMT_WPA2 | in wpa_driver_wext_get_range() 1567 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_WEP40 | in wpa_driver_wext_get_range() 1570 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_TKIP; in wpa_driver_wext_get_range() 1572 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_CCMP; in wpa_driver_wext_get_range() 1574 drv->capa.flags |= WPA_DRIVER_FLAGS_4WAY_HANDSHAKE; in wpa_driver_wext_get_range() 1575 drv->capa.auth = WPA_DRIVER_AUTH_OPEN | in wpa_driver_wext_get_range() 1579 drv->capa.max_scan_ssids = WEXT_CSCAN_AMOUNT; in wpa_driver_wext_get_range() 1581 drv->capa.max_scan_ssids = 1; in wpa_driver_wext_get_range() [all …]
|
D | driver_nl80211.c | 215 struct wpa_driver_capa capa; member 1117 if (drv->capa.flags & WPA_DRIVER_FLAGS_SME) { in mlme_event_connect() 1166 if (drv->capa.flags & WPA_DRIVER_FLAGS_SME) { in mlme_event_disconnect() 2284 struct wpa_driver_capa *capa; member 2319 struct wpa_driver_capa *capa = info->capa; in wiphy_info_handler() local 2336 capa->max_scan_ssids = in wiphy_info_handler() 2340 capa->max_sched_scan_ssids = in wiphy_info_handler() 2344 capa->max_match_sets = in wiphy_info_handler() 2354 capa->flags |= WPA_DRIVER_FLAGS_AP; in wiphy_info_handler() 2440 capa->sched_scan_supported = 1; in wiphy_info_handler() [all …]
|
D | driver_wired.c | 407 static int wpa_driver_wired_get_capa(void *priv, struct wpa_driver_capa *capa) in wpa_driver_wired_get_capa() argument 409 os_memset(capa, 0, sizeof(*capa)); in wpa_driver_wired_get_capa() 410 capa->flags = WPA_DRIVER_FLAGS_WIRED; in wpa_driver_wired_get_capa()
|
D | driver_ndis.h | 45 struct wpa_driver_capa capa; member
|
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/ |
D | driver_ndis.c | 1597 drv->capa.key_mgmt |= WPA_DRIVER_CAPA_KEY_MGMT_WPA; in wpa_driver_ndis_get_wpa_capability() 1604 drv->capa.key_mgmt |= WPA_DRIVER_CAPA_KEY_MGMT_WPA_PSK; in wpa_driver_ndis_get_wpa_capability() 1610 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_CCMP; in wpa_driver_ndis_get_wpa_capability() 1616 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_TKIP; in wpa_driver_ndis_get_wpa_capability() 1622 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_WEP40 | in wpa_driver_ndis_get_wpa_capability() 1628 drv->capa.auth |= WPA_DRIVER_AUTH_SHARED; in wpa_driver_ndis_get_wpa_capability() 1633 drv->capa.auth |= WPA_DRIVER_AUTH_OPEN; in wpa_driver_ndis_get_wpa_capability() 1641 if (drv->capa.key_mgmt & WPA_DRIVER_CAPA_KEY_MGMT_WPA && in wpa_driver_ndis_get_wpa_capability() 1642 drv->capa.enc & (WPA_DRIVER_CAPA_ENC_TKIP | in wpa_driver_ndis_get_wpa_capability() 1652 drv->capa.key_mgmt, drv->capa.enc, drv->capa.auth); in wpa_driver_ndis_get_wpa_capability() [all …]
|
D | driver_osx.m | 315 static int wpa_driver_osx_get_capa(void *priv, struct wpa_driver_capa *capa) 317 os_memset(capa, 0, sizeof(*capa)); 319 capa->key_mgmt = WPA_DRIVER_CAPA_KEY_MGMT_WPA | 323 capa->enc = WPA_DRIVER_CAPA_ENC_WEP40 | WPA_DRIVER_CAPA_ENC_WEP104 | 325 capa->auth = WPA_DRIVER_AUTH_OPEN | WPA_DRIVER_AUTH_SHARED | 327 capa->flags = WPA_DRIVER_FLAGS_4WAY_HANDSHAKE;
|
D | driver_ps3.c | 158 static int wpa_driver_ps3_get_capa(void *priv, struct wpa_driver_capa *capa) in wpa_driver_ps3_get_capa() argument 163 ret = wpa_driver_wext_get_capa(priv, capa); in wpa_driver_ps3_get_capa() 170 capa->flags |= WPA_DRIVER_FLAGS_4WAY_HANDSHAKE; in wpa_driver_ps3_get_capa()
|
D | driver_iphone.m | 335 static int wpa_driver_iphone_get_capa(void *priv, struct wpa_driver_capa *capa) 337 os_memset(capa, 0, sizeof(*capa)); 339 capa->key_mgmt = WPA_DRIVER_CAPA_KEY_MGMT_WPA | 343 capa->enc = WPA_DRIVER_CAPA_ENC_WEP40 | WPA_DRIVER_CAPA_ENC_WEP104 | 345 capa->auth = WPA_DRIVER_AUTH_OPEN | WPA_DRIVER_AUTH_SHARED | 347 capa->flags = WPA_DRIVER_FLAGS_4WAY_HANDSHAKE;
|
D | driver_wext.h | 33 struct wpa_driver_capa capa; member 84 int wpa_driver_wext_get_capa(void *priv, struct wpa_driver_capa *capa);
|
D | driver_ndiswrapper.c | 291 static int wpa_ndiswrapper_get_capa(void *priv, struct wpa_driver_capa *capa) in wpa_ndiswrapper_get_capa() argument 299 priv_req.u.data.pointer = (void *) capa; in wpa_ndiswrapper_get_capa() 300 priv_req.u.data.length = sizeof(*capa); in wpa_ndiswrapper_get_capa()
|
D | driver_ndis.h | 51 struct wpa_driver_capa capa; member
|
D | driver_wext.c | 1761 drv->capa.key_mgmt |= WPA_DRIVER_CAPA_KEY_MGMT_WPA | 1765 drv->capa.key_mgmt |= WPA_DRIVER_CAPA_KEY_MGMT_WPA2 | 1768 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_WEP40 | 1771 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_TKIP; 1773 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_CCMP; 1775 drv->capa.flags |= WPA_DRIVER_FLAGS_4WAY_HANDSHAKE; 1776 drv->capa.auth = WPA_DRIVER_AUTH_OPEN | 1782 drv->capa.key_mgmt, drv->capa.enc, drv->capa.flags); 1812 if (!(drv->capa.flags & WPA_DRIVER_FLAGS_4WAY_HANDSHAKE)) 2475 int wpa_driver_wext_get_capa(void *priv, struct wpa_driver_capa *capa) argument [all …]
|
D | driver_nl80211.c | 61 struct wpa_driver_capa capa; member 1569 if (drv->capa.flags & WPA_DRIVER_FLAGS_USER_SPACE_MLME) in wpa_driver_nl80211_deinit() 1838 drv->capa.key_mgmt |= WPA_DRIVER_CAPA_KEY_MGMT_WPA | in wpa_driver_nl80211_get_range() 1842 drv->capa.key_mgmt |= WPA_DRIVER_CAPA_KEY_MGMT_WPA2 | in wpa_driver_nl80211_get_range() 1845 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_WEP40 | in wpa_driver_nl80211_get_range() 1848 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_TKIP; in wpa_driver_nl80211_get_range() 1850 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_CCMP; in wpa_driver_nl80211_get_range() 1851 drv->capa.auth = WPA_DRIVER_AUTH_OPEN | in wpa_driver_nl80211_get_range() 1855 drv->capa.key_mgmt, drv->capa.enc); in wpa_driver_nl80211_get_range() 2361 struct wpa_driver_capa *capa) in wpa_driver_nl80211_get_capa() argument [all …]
|
D | driver_test.c | 909 static int wpa_driver_test_get_capa(void *priv, struct wpa_driver_capa *capa) in wpa_driver_test_get_capa() argument 912 os_memset(capa, 0, sizeof(*capa)); in wpa_driver_test_get_capa() 913 capa->key_mgmt = WPA_DRIVER_CAPA_KEY_MGMT_WPA | in wpa_driver_test_get_capa() 920 capa->enc = WPA_DRIVER_CAPA_ENC_WEP40 | in wpa_driver_test_get_capa() 924 capa->auth = WPA_DRIVER_AUTH_OPEN | in wpa_driver_test_get_capa() 928 capa->flags |= WPA_DRIVER_FLAGS_USER_SPACE_MLME; in wpa_driver_test_get_capa()
|
/external/wpa_supplicant_8/hostapd/ |
D | main.c | 241 struct wpa_driver_capa capa; in hostapd_driver_init() local 300 hapd->driver->get_capa(hapd->drv_priv, &capa) == 0) { in hostapd_driver_init() 301 iface->drv_flags = capa.flags; in hostapd_driver_init() 302 iface->probe_resp_offloads = capa.probe_resp_offloads; in hostapd_driver_init()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | ctrl_iface.c | 1862 struct wpa_driver_capa *capa, in ctrl_iface_get_capability_pairwise() argument 1881 if (capa->enc & WPA_DRIVER_CAPA_ENC_CCMP) { in ctrl_iface_get_capability_pairwise() 1889 if (capa->enc & WPA_DRIVER_CAPA_ENC_TKIP) { in ctrl_iface_get_capability_pairwise() 1897 if (capa->key_mgmt & WPA_DRIVER_CAPA_KEY_MGMT_WPA_NONE) { in ctrl_iface_get_capability_pairwise() 1910 struct wpa_driver_capa *capa, in ctrl_iface_get_capability_group() argument 1929 if (capa->enc & WPA_DRIVER_CAPA_ENC_CCMP) { in ctrl_iface_get_capability_group() 1937 if (capa->enc & WPA_DRIVER_CAPA_ENC_TKIP) { in ctrl_iface_get_capability_group() 1945 if (capa->enc & WPA_DRIVER_CAPA_ENC_WEP104) { in ctrl_iface_get_capability_group() 1954 if (capa->enc & WPA_DRIVER_CAPA_ENC_WEP40) { in ctrl_iface_get_capability_group() 1967 struct wpa_driver_capa *capa, in ctrl_iface_get_capability_key_mgmt() argument [all …]
|