Home
last modified time | relevance | path

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

12

/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211_capa.c61 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 …]
Ddriver_openbsd.c62 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()
Ddriver_ndis.c1686 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 …]
Ddriver_bsd.c70 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 …]
Ddriver_wired_common.c182 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()
Ddriver_wext.h30 struct wpa_driver_capa capa; member
75 int wpa_driver_wext_get_capa(void *priv, struct wpa_driver_capa *capa);
Ddriver_nl80211.c2051 drv->capa.flags &= in wpa_driver_nl80211_drv_init()
2186 ((drv->capa.flags & WPA_DRIVER_FLAGS_SAE) && in nl80211_mgmt_subscribe_non_ap()
2187 !(drv->capa.flags & WPA_DRIVER_FLAGS_SME))) { in nl80211_mgmt_subscribe_non_ap()
2255 if ((drv->capa.flags & WPA_DRIVER_FLAGS_TDLS_SUPPORT)) { in nl80211_mgmt_subscribe_non_ap()
2272 drv->capa.key_mgmt |= WPA_DRIVER_CAPA_KEY_MGMT_FT | in nl80211_mgmt_subscribe_non_ap()
2310 if ((drv->capa.rrm_flags & WPA_DRIVER_FLAGS_TX_POWER_INSERTION) && in nl80211_mgmt_subscribe_non_ap()
2952 if (!(drv->capa.flags & WPA_DRIVER_FLAGS_KEY_MGMT_OFFLOAD)) in issue_key_mgmt_set_key()
3044 (drv->capa.flags & WPA_DRIVER_FLAGS_KEY_MGMT_OFFLOAD)) { in wpa_driver_nl80211_set_key()
3053 (drv->capa.flags & WPA_DRIVER_FLAGS_4WAY_HANDSHAKE_8021X)) in wpa_driver_nl80211_set_key()
3317 if (!(drv->capa.flags & WPA_DRIVER_FLAGS_SME)) { in wpa_driver_nl80211_deauthenticate()
[all …]
Ddriver_roboswitch.c199 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()
Ddriver_wext.c1635 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 …]
Ddriver_privsep.c781 struct wpa_driver_capa *capa) in wpa_driver_privsep_get_capa() argument
785 size_t len = sizeof(*capa); in wpa_driver_privsep_get_capa()
787 res = wpa_priv_cmd(drv, PRIVSEP_CMD_GET_CAPA, NULL, 0, capa, &len); in wpa_driver_privsep_get_capa()
788 if (res < 0 || len != sizeof(*capa)) in wpa_driver_privsep_get_capa()
791 capa->extended_capa = NULL; in wpa_driver_privsep_get_capa()
792 capa->extended_capa_mask = NULL; in wpa_driver_privsep_get_capa()
793 capa->extended_capa_len = 0; in wpa_driver_privsep_get_capa()
Ddriver_nl80211_scan.c273 if (!(drv->capa.rrm_flags & in nl80211_scan_common()
440 drv->capa.max_sched_scan_plan_interval) { in nl80211_sched_scan_add_scan_plans()
452 drv->capa.max_sched_scan_plan_iterations) { in nl80211_sched_scan_add_scan_plans()
505 if (!drv->capa.sched_scan_supported) in wpa_driver_nl80211_sched_scan()
510 params->sched_scan_plans_num > drv->capa.max_sched_scan_plans) { in wpa_driver_nl80211_sched_scan()
521 if (drv->capa.max_sched_scan_plan_iterations) { in wpa_driver_nl80211_sched_scan()
531 (int) drv->num_filter_ssids <= drv->capa.max_match_sets) || in wpa_driver_nl80211_sched_scan()
651 if (!drv->capa.sched_scan_supported) in wpa_driver_nl80211_stop_sched_scan()
864 if (drv->capa.flags & WPA_DRIVER_FLAGS_SME) { in clear_state_mismatch()
Ddriver_wired_common.h28 int driver_wired_get_capa(void *priv, struct wpa_driver_capa *capa);
Ddriver_common.c188 const struct wpa_driver_capa *capa) in wpa_get_wowlan_triggers() argument
207 capa->wowlan_triggers.trigger, \ in wpa_get_wowlan_triggers()
Ddriver_ndis.h45 struct wpa_driver_capa capa; member
/external/iw/
Dscan.c728 __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 …]
Dutil.c640 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()
/external/python/cpython3/Lib/test/
Dtest_poplib.py348 capa = self.client.capa()
349 self.assertTrue('IMPLEMENTATION' in capa.keys())
359 capa = self.client.capa()
360 self.assertTrue('STLS' in capa.keys())
435 capa = self.client.capa()
436 self.assertFalse('STLS' in capa.keys())
468 capa = self.client.capa()
469 self.assertFalse(b'STLS' in capa.keys())
/external/wpa_supplicant_8/hostapd/
Dmain.c164 struct wpa_driver_capa capa; in hostapd_driver_init() local
222 hapd->driver->get_capa(hapd->drv_priv, &capa) == 0) { in hostapd_driver_init()
225 iface->drv_flags = capa.flags; in hostapd_driver_init()
226 iface->smps_modes = capa.smps_modes; in hostapd_driver_init()
227 iface->probe_resp_offloads = capa.probe_resp_offloads; in hostapd_driver_init()
231 iface->extended_capa = capa.extended_capa; in hostapd_driver_init()
232 iface->extended_capa_mask = capa.extended_capa_mask; in hostapd_driver_init()
233 iface->extended_capa_len = capa.extended_capa_len; in hostapd_driver_init()
234 iface->drv_max_acl_mac_addrs = capa.max_acl_mac_addrs; in hostapd_driver_init()
242 triggs = wpa_get_wowlan_triggers(conf->wowlan_triggers, &capa); in hostapd_driver_init()
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_new_handlers.c2606 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 …]
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/sched/sched_energy_diff/
Dformat18 field:int capa; offset:56; size:4; signed:1;
23 … REC->dcpu, REC->udelta, REC->nrgb, REC->nrga, REC->nrgd, REC->capb, REC->capa, REC->capd, REC->nr…
/external/wpa_supplicant_8/wpa_supplicant/
Dwpa_priv.c420 struct wpa_driver_capa capa; in wpa_priv_cmd_get_capa() local
426 iface->driver->get_capa(iface->drv_priv, &capa) < 0) in wpa_priv_cmd_get_capa()
430 capa.extended_capa = NULL; in wpa_priv_cmd_get_capa()
431 capa.extended_capa_mask = NULL; in wpa_priv_cmd_get_capa()
432 capa.extended_capa_len = 0; in wpa_priv_cmd_get_capa()
433 sendto(iface->fd, &capa, sizeof(capa), 0, (struct sockaddr *) from, in wpa_priv_cmd_get_capa()
Dwpa_supplicant.c5025 const struct wpa_driver_capa *capa) in wpas_set_wowlan_triggers() argument
5033 triggers = wpa_get_wowlan_triggers(wpa_s->conf->wowlan_triggers, capa); in wpas_set_wowlan_triggers()
5607 struct wpa_driver_capa capa; in wpa_supplicant_init_iface() local
5763 capa_res = wpa_drv_get_capa(wpa_s, &capa); in wpa_supplicant_init_iface()
5766 wpa_s->drv_flags = capa.flags; in wpa_supplicant_init_iface()
5767 wpa_s->drv_enc = capa.enc; in wpa_supplicant_init_iface()
5768 wpa_s->drv_smps_modes = capa.smps_modes; in wpa_supplicant_init_iface()
5769 wpa_s->drv_rrm_flags = capa.rrm_flags; in wpa_supplicant_init_iface()
5770 wpa_s->probe_resp_offloads = capa.probe_resp_offloads; in wpa_supplicant_init_iface()
5771 wpa_s->max_scan_ssids = capa.max_scan_ssids; in wpa_supplicant_init_iface()
[all …]
Dctrl_iface.c3789 unsigned int capa; member
3814 struct wpa_driver_capa *capa, in ctrl_iface_get_capability_pairwise() argument
3835 if (!ciphers[i].group_only && capa->enc & ciphers[i].capa) { in ctrl_iface_get_capability_pairwise()
3850 struct wpa_driver_capa *capa, in ctrl_iface_get_capability_group() argument
3871 if (capa->enc & ciphers[i].capa) { in ctrl_iface_get_capability_group()
3886 struct wpa_driver_capa *capa, in ctrl_iface_get_capability_group_mgmt() argument
3900 if (capa->enc & ciphers_group_mgmt[i].capa) { in ctrl_iface_get_capability_group_mgmt()
3915 struct wpa_driver_capa *capa, in ctrl_iface_get_capability_key_mgmt() argument
3940 if (capa->key_mgmt & (WPA_DRIVER_CAPA_KEY_MGMT_WPA | in ctrl_iface_get_capability_key_mgmt()
3948 if (capa->key_mgmt & (WPA_DRIVER_CAPA_KEY_MGMT_WPA_PSK | in ctrl_iface_get_capability_key_mgmt()
[all …]
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.2/
Dsta_iface.cpp1087 struct wpa_driver_capa capa; in getKeyMgmtCapabilitiesInternal() local
1091 if (wpa_drv_get_capa(wpa_s, &capa) < 0) { in getKeyMgmtCapabilitiesInternal()
1102 if (capa.key_mgmt & in getKeyMgmtCapabilitiesInternal()
1107 if (capa.key_mgmt & (WPA_DRIVER_CAPA_KEY_MGMT_WPA_PSK | in getKeyMgmtCapabilitiesInternal()
1112 if (capa.key_mgmt & WPA_DRIVER_CAPA_KEY_MGMT_SUITE_B_192) { in getKeyMgmtCapabilitiesInternal()
1117 if (capa.key_mgmt & WPA_DRIVER_CAPA_KEY_MGMT_OWE) { in getKeyMgmtCapabilitiesInternal()
1127 if (capa.key_mgmt & WPA_DRIVER_CAPA_KEY_MGMT_DPP) { in getKeyMgmtCapabilitiesInternal()
/external/python/cpython3/Lib/
Dpoplib.py361 def capa(self): member in POP3
399 caps = self.capa()

12