Home
last modified time | relevance | path

Searched refs:drv_priv (Results 1 – 25 of 28) sorted by relevance

12

/external/wpa_supplicant_8/wpa_supplicant/
Ddriver_i.h30 wpa_s->driver->deinit(wpa_s->drv_priv); in wpa_drv_deinit()
37 return wpa_s->driver->set_param(wpa_s->drv_priv, param); in wpa_drv_set_param()
45 return wpa_s->driver->set_countermeasures(wpa_s->drv_priv, in wpa_drv_set_countermeasures()
55 return wpa_s->driver->authenticate(wpa_s->drv_priv, params); in wpa_drv_authenticate()
63 return wpa_s->driver->associate(wpa_s->drv_priv, params); in wpa_drv_associate()
71 return wpa_s->driver->init_mesh(wpa_s->drv_priv); in wpa_drv_init_mesh()
79 return wpa_s->driver->join_mesh(wpa_s->drv_priv, params); in wpa_drv_join_mesh()
86 return wpa_s->driver->leave_mesh(wpa_s->drv_priv); in wpa_drv_leave_mesh()
95 return wpa_s->driver->probe_mesh_link(wpa_s->drv_priv, addr, in wpa_drv_mesh_link_probe()
108 return wpa_s->driver->scan2(wpa_s->drv_priv, params); in wpa_drv_scan()
[all …]
Dwpa_priv.c36 void *drv_priv; member
61 if (iface->drv_priv) { in wpa_priv_cmd_register()
64 iface->driver->deinit(iface->drv_priv); in wpa_priv_cmd_register()
65 iface->drv_priv = NULL; in wpa_priv_cmd_register()
94 iface->drv_priv = iface->driver->init2(iface, iface->ifname, in wpa_priv_cmd_register()
97 iface->drv_priv = iface->driver->init(iface, iface->ifname); in wpa_priv_cmd_register()
101 if (iface->drv_priv == NULL) { in wpa_priv_cmd_register()
114 iface->driver->set_param(iface->drv_priv, NULL) < 0) { in wpa_priv_cmd_register()
123 if (iface->drv_priv) { in wpa_priv_cmd_unregister()
125 iface->driver->deinit(iface->drv_priv); in wpa_priv_cmd_unregister()
[all …]
Dmain.c166 if (wpa_drivers[0]->global_init && !global->drv_priv[0]) { in wpa_supplicant_init_match()
167 global->drv_priv[0] = wpa_drivers[0]->global_init(global); in wpa_supplicant_init_match()
168 if (!global->drv_priv[0]) { in wpa_supplicant_init_match()
Dmesh.c327 bss->drv_priv = wpa_s->drv_priv; in wpa_supplicant_mesh_enable_iface_cb()
420 bss->drv_priv = wpa_s->drv_priv; in wpa_supplicant_mesh_init()
Dwpa_supplicant.c683 if (wpa_s->drv_priv) in wpa_supplicant_cleanup()
4708 if (wpa_drivers[i]->global_init && global->drv_priv[i] == NULL) { in select_driver()
4709 global->drv_priv[i] = wpa_drivers[i]->global_init(global); in select_driver()
4710 if (global->drv_priv[i] == NULL) { in select_driver()
4718 wpa_s->global_drv_priv = global->drv_priv[i]; in select_driver()
6247 wpa_s->drv_priv = wpa_drv_init(wpa_s, wpa_s->ifname); in wpas_init_driver()
6248 if (wpa_s->drv_priv == NULL) { in wpas_init_driver()
6717 if (wpa_s->drv_priv) { in wpa_supplicant_deinit_iface()
6752 if (wpa_s->drv_priv) in wpa_supplicant_deinit_iface()
7209 global->drv_priv = os_calloc(global->drv_count, sizeof(void *)); in wpa_supplicant_init()
[all …]
Dwpa_supplicant_i.h284 void **drv_priv; member
645 void *drv_priv; /* private data used by driver_ops */ member
Dap.c1013 hapd_iface->bss[0]->drv_priv = wpa_s->drv_priv; in wpa_supplicant_create_ap()
1490 if (hapd->drv_priv == NULL) in wpa_supplicant_ap_update_beacon()
Deapol_test.c1005 wpa_s->drv_priv = e; in wpa_init_conf()
Devents.c4190 if (wpa_s->drv_priv == NULL) in wpa_supplicant_update_channel_list()
5611 ifindex = wpa_s->driver->get_ifindex(wpa_s->drv_priv); in wpa_supplicant_event_global()
Dp2p_supplicant.c4854 if (wpa_s->driver && wpa_s->drv_priv) in wpas_p2p_deinit()
/external/wpa_supplicant_8/src/ap/
Dap_drv_ops.h56 void **drv_priv, char *force_ifname, u8 *if_addr,
116 !hapd->drv_priv) in hostapd_drv_send_action_cancel_wait()
118 hapd->driver->send_action_cancel_wait(hapd->drv_priv); in hostapd_drv_send_action_cancel_wait()
157 return hapd->driver->hapd_set_countermeasures(hapd->drv_priv, enabled); in hostapd_drv_set_countermeasures()
166 return hapd->driver->set_sta_vlan(hapd->drv_priv, addr, ifname, in hostapd_drv_set_sta_vlan()
175 return hapd->driver->get_inact_sec(hapd->drv_priv, addr); in hostapd_drv_get_inact_sec()
181 if (!hapd->driver || !hapd->driver->sta_remove || !hapd->drv_priv) in hostapd_drv_sta_remove()
183 return hapd->driver->sta_remove(hapd->drv_priv, addr); in hostapd_drv_sta_remove()
193 return hapd->driver->hapd_send_eapol(hapd->drv_priv, addr, data, in hostapd_drv_hapd_send_eapol()
204 return hapd->driver->read_sta_data(hapd->drv_priv, data, addr); in hostapd_drv_read_sta_data()
[all …]
Dap_drv_ops.c235 return hapd->driver->set_ap_wps_ie(hapd->drv_priv, NULL, NULL, NULL); in hostapd_reset_ap_wps_ie()
251 ret = hapd->driver->set_ap_wps_ie(hapd->drv_priv, beacon, proberesp, in hostapd_set_ap_wps_ie()
345 return hapd->driver->set_wds_sta(hapd->drv_priv, addr, aid, val, in hostapd_set_wds_sta()
355 return hapd->driver->add_sta_node(hapd->drv_priv, addr, auth_alg); in hostapd_add_sta_node()
399 return hapd->driver->sta_auth(hapd->drv_priv, &params); in hostapd_sta_auth()
408 return hapd->driver->sta_assoc(hapd->drv_priv, hapd->own_addr, addr, in hostapd_sta_assoc()
450 return hapd->driver->sta_add(hapd->drv_priv, &params); in hostapd_sta_add()
459 return hapd->driver->add_tspec(hapd->drv_priv, addr, tspec_ie, in hostapd_add_tspec()
468 return hapd->driver->set_privacy(hapd->drv_priv, enabled); in hostapd_set_privacy()
477 return hapd->driver->set_generic_elem(hapd->drv_priv, elem, elem_len); in hostapd_set_generic_elem()
[all …]
Dwpa_auth_kay.c31 return hapd->driver->macsec_init(hapd->drv_priv, params); in hapd_macsec_init()
41 return hapd->driver->macsec_deinit(hapd->drv_priv); in hapd_macsec_deinit()
51 return hapd->driver->macsec_get_capability(hapd->drv_priv, cap); in hapd_macsec_get_capability()
61 return hapd->driver->enable_protect_frames(hapd->drv_priv, enabled); in hapd_enable_protect_frames()
71 return hapd->driver->enable_encrypt(hapd->drv_priv, enabled); in hapd_enable_encrypt()
81 return hapd->driver->set_replay_protect(hapd->drv_priv, enabled, in hapd_set_replay_protect()
92 return hapd->driver->set_current_cipher_suite(hapd->drv_priv, cs); in hapd_set_current_cipher_suite()
102 return hapd->driver->enable_controlled_port(hapd->drv_priv, enabled); in hapd_enable_controlled_port()
112 return hapd->driver->get_receive_lowest_pn(hapd->drv_priv, sa); in hapd_get_receive_lowest_pn()
122 return hapd->driver->get_transmit_next_pn(hapd->drv_priv, sa); in hapd_get_transmit_next_pn()
[all …]
Dhostapd.c304 if (!ifname || !hapd->drv_priv) in hostapd_broadcast_key_clear_iface()
412 hapd->drv_priv = NULL; in hostapd_free_hapd_data()
551 if (hapd->drv_priv && !hapd->iface->driver_ap_teardown && hapd->conf) { in hostapd_clear_wep()
604 if (hostapd_drv_none(hapd) || hapd->drv_priv == NULL) in hostapd_flush_old_stations()
1159 &hapd->drv_priv, force_ifname, if_addr, in hostapd_setup_bss()
1399 hapd->driver->set_operstate(hapd->drv_priv, 1); in hostapd_setup_bss()
1582 iface->bss[i]->drv_priv = hapd->drv_priv; in setup_interface()
2646 void *drv_priv; in hostapd_interface_deinit_free() local
2655 drv_priv = iface->bss[0]->drv_priv; in hostapd_interface_deinit_free()
2658 __func__, driver, drv_priv); in hostapd_interface_deinit_free()
[all …]
Ddrv_callbacks.c1450 if (rx_mgmt->drv_priv && in hostapd_mgmt_rx()
1451 (iface->bss[i]->drv_priv != rx_mgmt->drv_priv)) in hostapd_mgmt_rx()
2087 hapd->drv_priv) { in wpa_supplicant_event_global()
2090 ifindex = hapd->driver->get_ifindex(hapd->drv_priv); in wpa_supplicant_event_global()
Dhostapd.h179 void *drv_priv; member
Dwpa_auth_glue.c1611 if (hapd->drv_priv && hostapd_set_privacy(hapd, 0)) { in hostapd_deinit_wpa()
1617 if (hapd->drv_priv && in hostapd_deinit_wpa()
Dwps_hostapd.c963 if (hapd->drv_priv) in hostapd_wps_clear_ies()
Dieee802_1x.c2522 if (hapd->driver && hapd->drv_priv && in ieee802_1x_deinit()
/external/wpa_supplicant_8/hostapd/
Dmain.c38 void **drv_priv; member
177 if (global.drv_priv[i] == NULL && in hostapd_driver_init()
179 global.drv_priv[i] = in hostapd_driver_init()
181 if (global.drv_priv[i] == NULL) { in hostapd_driver_init()
189 params.global_priv = global.drv_priv[i]; in hostapd_driver_init()
209 hapd->drv_priv = hapd->driver->hapd_init(hapd, &params); in hostapd_driver_init()
211 if (hapd->drv_priv == NULL) { in hostapd_driver_init()
219 hapd->driver->get_capa(hapd->drv_priv, &capa) == 0) { in hostapd_driver_init()
241 if (hapd->driver->set_wowlan(hapd->drv_priv, triggs)) in hostapd_driver_init()
374 global.drv_priv = os_calloc(global.drv_count, sizeof(void *)); in hostapd_global_init()
[all …]
/external/minigbm/
Damdgpu.c584 struct amdgpu_priv *drv_priv; in amdgpu_map_bo() local
589 drv_priv = bo->drv->priv; in amdgpu_map_bo()
602 drv_priv->sdma_cmdbuf_map) { in amdgpu_map_bo()
/external/wpa_supplicant_8/src/drivers/
Ddriver.h3339 void **drv_priv, char *force_ifname, u8 *if_addr,
5627 void *drv_priv; member
Ddriver_nl80211_event.c793 event.rx_mgmt.drv_priv = bss; in mlme_event_mgmt()
Ddriver_nl80211.c7924 void *bss_ctx, void **drv_priv, in wpa_driver_nl80211_if_add() argument
8048 if (drv_priv) in wpa_driver_nl80211_if_add()
8049 *drv_priv = new_bss; in wpa_driver_nl80211_if_add()
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_new_handlers.c3471 if (wpa_s->drv_priv != NULL && wpa_drv_set_country(wpa_s, country)) { in wpas_dbus_setter_country()

12