Home
last modified time | relevance | path

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

12

/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211_capa.c61 struct wpa_driver_capa *capa; member
116 info->capa->flags |= WPA_DRIVER_FLAGS_AP; in wiphy_info_supported_iftypes()
119 info->capa->flags |= WPA_DRIVER_FLAGS_MESH; in wiphy_info_supported_iftypes()
122 info->capa->flags |= WPA_DRIVER_FLAGS_IBSS; in wiphy_info_supported_iftypes()
125 info->capa->flags |= in wiphy_info_supported_iftypes()
168 info->capa->flags |= WPA_DRIVER_FLAGS_RADAR; in wiphy_info_iface_comb_process()
238 info->capa->sched_scan_supported = 1; in wiphy_info_supp_cmds()
363 info->drv->capa.key_mgmt_iftype[WPA_IF_IBSS] = key_mgmt; in get_iface_akm_suites_info()
366 info->drv->capa.key_mgmt_iftype[WPA_IF_STATION] = in get_iface_akm_suites_info()
370 info->drv->capa.key_mgmt_iftype[WPA_IF_AP_BSS] = in get_iface_akm_suites_info()
[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.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.c66 struct wpa_driver_capa capa; /* driver capability */ member
1373 drv->capa.key_mgmt = WPA_DRIVER_CAPA_KEY_MGMT_WPA | in wpa_driver_bsd_capa()
1376 drv->capa.key_mgmt = WPA_DRIVER_CAPA_KEY_MGMT_WPA2 | in wpa_driver_bsd_capa()
1380 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_WEP40 | in wpa_driver_bsd_capa()
1383 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_TKIP; in wpa_driver_bsd_capa()
1385 drv->capa.enc |= WPA_DRIVER_CAPA_ENC_CCMP; in wpa_driver_bsd_capa()
1388 drv->capa.flags |= WPA_DRIVER_FLAGS_AP; in wpa_driver_bsd_capa()
1400 drv->capa.key_mgmt = WPA_DRIVER_CAPA_KEY_MGMT_WPA | in wpa_driver_bsd_capa()
1404 drv->capa.enc = WPA_DRIVER_CAPA_ENC_WEP40 | in wpa_driver_bsd_capa()
1408 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
71 int wpa_driver_wext_get_capa(void *priv, struct wpa_driver_capa *capa);
Ddriver_nl80211.c463 if ((drv->capa.flags2 & WPA_DRIVER_FLAGS2_CONTROL_PORT_RX) && in send_and_recv_msgs_owner()
478 if ((bss->drv->capa.flags2 & WPA_DRIVER_FLAGS2_CONTROL_PORT_RX) || in get_connect_handle()
2127 drv->capa.flags &= in wpa_driver_nl80211_drv_init()
2249 } else if ((drv->capa.flags & WPA_DRIVER_FLAGS_SAE) && in nl80211_mgmt_subscribe_non_ap()
2250 !(drv->capa.flags & WPA_DRIVER_FLAGS_SME)) { in nl80211_mgmt_subscribe_non_ap()
2315 if ((drv->capa.flags & WPA_DRIVER_FLAGS_TDLS_SUPPORT)) { in nl80211_mgmt_subscribe_non_ap()
2336 drv->capa.key_mgmt |= WPA_DRIVER_CAPA_KEY_MGMT_FT | in nl80211_mgmt_subscribe_non_ap()
2341 drv->capa.key_mgmt_iftype[i] = drv->capa.key_mgmt; in nl80211_mgmt_subscribe_non_ap()
2379 if ((drv->capa.rrm_flags & WPA_DRIVER_FLAGS_TX_POWER_INSERTION) && in nl80211_mgmt_subscribe_non_ap()
3044 if (!(drv->capa.flags & WPA_DRIVER_FLAGS_KEY_MGMT_OFFLOAD)) in issue_key_mgmt_set_key()
[all …]
Ddriver_wext.c1002 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 …]
Ddriver_privsep.c787 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()
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_nl80211_scan.c275 if (!(drv->capa.rrm_flags & in nl80211_scan_common()
442 drv->capa.max_sched_scan_plan_interval) { in nl80211_sched_scan_add_scan_plans()
454 drv->capa.max_sched_scan_plan_iterations) { in nl80211_sched_scan_add_scan_plans()
507 if (!drv->capa.sched_scan_supported) in wpa_driver_nl80211_sched_scan()
512 params->sched_scan_plans_num > drv->capa.max_sched_scan_plans) { in wpa_driver_nl80211_sched_scan()
523 if (drv->capa.max_sched_scan_plan_iterations) { in wpa_driver_nl80211_sched_scan()
533 (int) drv->num_filter_ssids <= drv->capa.max_match_sets) || in wpa_driver_nl80211_sched_scan()
653 if (!drv->capa.sched_scan_supported) in wpa_driver_nl80211_stop_sched_scan()
866 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_ndis.h45 struct wpa_driver_capa capa; member
Ddriver_common.c191 const struct wpa_driver_capa *capa) in wpa_get_wowlan_triggers() argument
210 capa->wowlan_triggers.trigger, \ in wpa_get_wowlan_triggers()
/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/wpa_supplicant_8/wpa_supplicant/hidl/1.3/
Dsta_iface.cpp166 struct wpa_supplicant *wpa_s, struct wpa_driver_capa *capa) { in convertWpaKeyMgmtCapabilitiesToHidl() argument
176 if (capa->key_mgmt & in convertWpaKeyMgmtCapabilitiesToHidl()
181 if (capa->key_mgmt & (WPA_DRIVER_CAPA_KEY_MGMT_WPA_PSK | in convertWpaKeyMgmtCapabilitiesToHidl()
186 if (capa->key_mgmt & WPA_DRIVER_CAPA_KEY_MGMT_SUITE_B_192) { in convertWpaKeyMgmtCapabilitiesToHidl()
191 if (capa->key_mgmt & WPA_DRIVER_CAPA_KEY_MGMT_OWE) { in convertWpaKeyMgmtCapabilitiesToHidl()
201 if (capa->key_mgmt & WPA_DRIVER_CAPA_KEY_MGMT_DPP) { in convertWpaKeyMgmtCapabilitiesToHidl()
210 if (capa->key_mgmt & WPA_DRIVER_CAPA_KEY_MGMT_FILS_SHA256) { in convertWpaKeyMgmtCapabilitiesToHidl()
213 if (capa->key_mgmt & WPA_DRIVER_CAPA_KEY_MGMT_FILS_SHA384) { in convertWpaKeyMgmtCapabilitiesToHidl()
1428 struct ConnectionCapabilities capa; in getConnectionCapabilitiesInternal() local
1432 capa.technology = WifiTechnology::HE; in getConnectionCapabilitiesInternal()
[all …]
/external/python/cpython3/Lib/test/
Dtest_poplib.py350 capa = self.client.capa()
351 self.assertTrue('IMPLEMENTATION' in capa.keys())
361 capa = self.client.capa()
362 self.assertTrue('STLS' in capa.keys())
437 capa = self.client.capa()
438 self.assertFalse('STLS' in capa.keys())
470 capa = self.client.capa()
471 self.assertFalse(b'STLS' in capa.keys())
/external/wpa_supplicant_8/hostapd/
Dmain.c161 struct wpa_driver_capa capa; in hostapd_driver_init() local
219 hapd->driver->get_capa(hapd->drv_priv, &capa) == 0) { in hostapd_driver_init()
222 iface->drv_flags = capa.flags; in hostapd_driver_init()
223 iface->drv_flags2 = capa.flags2; in hostapd_driver_init()
224 iface->probe_resp_offloads = capa.probe_resp_offloads; in hostapd_driver_init()
228 iface->extended_capa = capa.extended_capa; in hostapd_driver_init()
229 iface->extended_capa_mask = capa.extended_capa_mask; in hostapd_driver_init()
230 iface->extended_capa_len = capa.extended_capa_len; in hostapd_driver_init()
231 iface->drv_max_acl_mac_addrs = capa.max_acl_mac_addrs; in hostapd_driver_init()
239 triggs = wpa_get_wowlan_triggers(conf->wowlan_triggers, &capa); in hostapd_driver_init()
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_new_handlers.c2620 struct wpa_driver_capa capa; in wpas_dbus_getter_capabilities() local
2631 res = wpa_drv_get_capa(wpa_s, &capa); in wpas_dbus_getter_capabilities()
2650 ((capa.enc & WPA_DRIVER_CAPA_ENC_CCMP_256) && in wpas_dbus_getter_capabilities()
2653 ((capa.enc & WPA_DRIVER_CAPA_ENC_GCMP_256) && in wpas_dbus_getter_capabilities()
2656 ((capa.enc & WPA_DRIVER_CAPA_ENC_CCMP) && in wpas_dbus_getter_capabilities()
2659 ((capa.enc & WPA_DRIVER_CAPA_ENC_GCMP) && in wpas_dbus_getter_capabilities()
2663 ((capa.enc & WPA_DRIVER_CAPA_ENC_TKIP) && in wpas_dbus_getter_capabilities()
2667 ((capa.key_mgmt & WPA_DRIVER_CAPA_KEY_MGMT_WPA_NONE) && in wpas_dbus_getter_capabilities()
2698 ((capa.enc & WPA_DRIVER_CAPA_ENC_CCMP_256) && in wpas_dbus_getter_capabilities()
2701 ((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.c426 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()
Dwpa_supplicant.c5529 const struct wpa_driver_capa *capa) in wpas_set_wowlan_triggers() argument
5537 triggers = wpa_get_wowlan_triggers(wpa_s->conf->wowlan_triggers, capa); in wpas_set_wowlan_triggers()
6111 struct wpa_driver_capa capa; in wpa_supplicant_init_iface() local
6267 capa_res = wpa_drv_get_capa(wpa_s, &capa); in wpa_supplicant_init_iface()
6270 wpa_s->drv_flags = capa.flags; in wpa_supplicant_init_iface()
6271 wpa_s->drv_flags2 = capa.flags2; in wpa_supplicant_init_iface()
6272 wpa_s->drv_enc = capa.enc; in wpa_supplicant_init_iface()
6273 wpa_s->drv_rrm_flags = capa.rrm_flags; in wpa_supplicant_init_iface()
6274 wpa_s->probe_resp_offloads = capa.probe_resp_offloads; in wpa_supplicant_init_iface()
6275 wpa_s->max_scan_ssids = capa.max_scan_ssids; in wpa_supplicant_init_iface()
[all …]
/external/python/cpython3/Lib/
Dpoplib.py364 def capa(self): member in POP3
402 caps = self.capa()
/external/u-boot/arch/arm/include/asm/
Domap_mmc.h60 unsigned int capa; /* 0x140 */ member

12