Home
last modified time | relevance | path

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

12

/external/wpa_supplicant_6/wpa_supplicant/
Dctrl_iface_dbus_handlers.c524 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 …]
Dctrl_iface.c1196 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 …]
Dwpa_supplicant.c935 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/
Ddbus_old_handlers.c502 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 …]
Ddbus_new_handlers.c1752 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/
Ddriver_ndis.c1698 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 …]
Ddriver_bsd.c65 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 …]
Ddriver_wext.h30 struct wpa_driver_capa capa; member
82 int wpa_driver_wext_get_capa(void *priv, struct wpa_driver_capa *capa);
Ddriver_roboswitch.c203 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()
Ddriver_wext.c1011 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 …]
Ddriver_nl80211.c215 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 …]
Ddriver_wired.c407 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()
Ddriver_ndis.h45 struct wpa_driver_capa capa; member
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/
Ddriver_ndis.c1597 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 …]
Ddriver_osx.m315 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;
Ddriver_ps3.c158 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()
Ddriver_iphone.m335 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;
Ddriver_wext.h33 struct wpa_driver_capa capa; member
84 int wpa_driver_wext_get_capa(void *priv, struct wpa_driver_capa *capa);
Ddriver_ndiswrapper.c291 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()
Ddriver_ndis.h51 struct wpa_driver_capa capa; member
Ddriver_wext.c1761 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 …]
Ddriver_nl80211.c61 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 …]
Ddriver_test.c909 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/
Dmain.c241 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/
Dctrl_iface.c1862 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 …]

12