Home
last modified time | relevance | path

Searched refs:drv_priv (Results 1 – 25 of 26) 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()
98 return wpa_s->driver->scan2(wpa_s->drv_priv, params); in wpa_drv_scan()
106 return wpa_s->driver->sched_scan(wpa_s->drv_priv, params); in wpa_drv_sched_scan()
[all …]
Dwpa_priv.c35 void *drv_priv; member
53 if (iface->drv_priv) { in wpa_priv_cmd_register()
56 iface->driver->deinit(iface->drv_priv); in wpa_priv_cmd_register()
57 iface->drv_priv = NULL; in wpa_priv_cmd_register()
84 iface->drv_priv = iface->driver->init2(iface, iface->ifname, in wpa_priv_cmd_register()
87 iface->drv_priv = iface->driver->init(iface, iface->ifname); in wpa_priv_cmd_register()
91 if (iface->drv_priv == NULL) { in wpa_priv_cmd_register()
103 iface->driver->set_param(iface->drv_priv, NULL) < 0) { in wpa_priv_cmd_register()
112 if (iface->drv_priv) { in wpa_priv_cmd_unregister()
114 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.c155 bss->drv_priv = wpa_s->drv_priv; in wpa_supplicant_mesh_init()
Dwpa_supplicant.c3157 if (wpa_drivers[i]->global_init && global->drv_priv[i] == NULL) { in select_driver()
3158 global->drv_priv[i] = wpa_drivers[i]->global_init(global); in select_driver()
3159 if (global->drv_priv[i] == NULL) { in select_driver()
3167 wpa_s->global_drv_priv = global->drv_priv[i]; in select_driver()
4486 wpa_s->drv_priv = wpa_drv_init(wpa_s, wpa_s->ifname); in wpas_init_driver()
4487 if (wpa_s->drv_priv == NULL) { in wpas_init_driver()
4869 if (wpa_s->drv_priv) { in wpa_supplicant_deinit_iface()
4894 if (wpa_s->drv_priv) in wpa_supplicant_deinit_iface()
5347 global->drv_priv = os_calloc(global->drv_count, sizeof(void *)); in wpa_supplicant_init()
5348 if (global->drv_priv == NULL) { in wpa_supplicant_init()
[all …]
Dwpa_supplicant_i.h269 void **drv_priv; member
519 void *drv_priv; /* private data used by driver_ops */ member
Dap.c752 hapd_iface->bss[0]->drv_priv = wpa_s->drv_priv; in wpa_supplicant_create_ap()
1219 if (hapd->drv_priv == NULL) in wpa_supplicant_ap_update_beacon()
Dibss_rsn.c500 return wpa_s->driver->send_frame(wpa_s->drv_priv, (u8 *) &auth, in ibss_rsn_send_auth()
Deapol_test.c1010 wpa_s->drv_priv = e; in wpa_init_conf()
Devents.c3173 if (wpa_s->drv_priv == NULL)
4049 ifindex = wpa_s->driver->get_ifindex(wpa_s->drv_priv);
Dp2p_supplicant.c4464 if (wpa_s->driver && wpa_s->drv_priv) in wpas_p2p_deinit()
/external/wpa_supplicant_8/src/ap/
Dap_drv_ops.h52 void **drv_priv, char *force_ifname, u8 *if_addr,
132 return hapd->driver->hapd_set_countermeasures(hapd->drv_priv, enabled); in hostapd_drv_set_countermeasures()
141 return hapd->driver->set_sta_vlan(hapd->drv_priv, addr, ifname, in hostapd_drv_set_sta_vlan()
150 return hapd->driver->get_inact_sec(hapd->drv_priv, addr); in hostapd_drv_get_inact_sec()
158 return hapd->driver->sta_remove(hapd->drv_priv, addr); in hostapd_drv_sta_remove()
168 return hapd->driver->hapd_send_eapol(hapd->drv_priv, addr, data, in hostapd_drv_hapd_send_eapol()
179 return hapd->driver->read_sta_data(hapd->drv_priv, data, addr); in hostapd_drv_read_sta_data()
187 return hapd->driver->sta_clear_stats(hapd->drv_priv, addr); in hostapd_drv_sta_clear_stats()
195 return hapd->driver->set_acl(hapd->drv_priv, params); in hostapd_drv_set_acl()
203 return hapd->driver->set_ap(hapd->drv_priv, params); in hostapd_drv_set_ap()
[all …]
Dap_drv_ops.c213 return hapd->driver->set_ap_wps_ie(hapd->drv_priv, NULL, NULL, NULL); in hostapd_reset_ap_wps_ie()
229 ret = hapd->driver->set_ap_wps_ie(hapd->drv_priv, beacon, proberesp, in hostapd_set_ap_wps_ie()
325 return hapd->driver->set_wds_sta(hapd->drv_priv, addr, aid, val, in hostapd_set_wds_sta()
335 return hapd->driver->add_sta_node(hapd->drv_priv, addr, auth_alg); in hostapd_add_sta_node()
344 return hapd->driver->sta_auth(hapd->drv_priv, hapd->own_addr, addr, in hostapd_sta_auth()
354 return hapd->driver->sta_assoc(hapd->drv_priv, hapd->own_addr, addr, in hostapd_sta_assoc()
388 return hapd->driver->sta_add(hapd->drv_priv, &params); in hostapd_sta_add()
397 return hapd->driver->add_tspec(hapd->drv_priv, addr, tspec_ie, in hostapd_add_tspec()
406 return hapd->driver->set_privacy(hapd->drv_priv, enabled); in hostapd_set_privacy()
415 return hapd->driver->set_generic_elem(hapd->drv_priv, elem, elem_len); in hostapd_set_generic_elem()
[all …]
Dhostapd.c312 hapd->drv_priv = NULL; in hostapd_free_hapd_data()
420 if (hapd->drv_priv && !hapd->iface->driver_ap_teardown) { in hostapd_clear_wep()
468 if (hostapd_drv_none(hapd) || hapd->drv_priv == NULL) in hostapd_flush_old_stations()
937 &hapd->drv_priv, force_ifname, if_addr, in hostapd_setup_bss()
1132 hapd->driver->set_operstate(hapd->drv_priv, 1); in hostapd_setup_bss()
1315 iface->bss[i]->drv_priv = hapd->drv_priv; in setup_interface()
2132 void *drv_priv; in hostapd_interface_deinit_free() local
2141 drv_priv = iface->bss[0]->drv_priv; in hostapd_interface_deinit_free()
2144 __func__, driver, drv_priv); in hostapd_interface_deinit_free()
2145 if (driver && driver->hapd_deinit && drv_priv) { in hostapd_interface_deinit_free()
[all …]
Dctrl_iface_ap.c297 ret = hapd->driver->send_frame(hapd->drv_priv, (u8 *) mgmt, in p2p_manager_disconnect()
339 if (hapd->driver->send_frame(hapd->drv_priv, (u8 *) &mgmt, in hostapd_ctrl_iface_deauthenticate()
399 if (hapd->driver->send_frame(hapd->drv_priv, (u8 *) &mgmt, in hostapd_ctrl_iface_disassociate()
Ddrv_callbacks.c897 if (rx_mgmt->drv_priv && in hostapd_mgmt_rx()
898 (iface->bss[i]->drv_priv != rx_mgmt->drv_priv)) in hostapd_mgmt_rx()
1368 hapd->drv_priv) { in wpa_supplicant_event_global()
1371 ifindex = hapd->driver->get_ifindex(hapd->drv_priv); in wpa_supplicant_event_global()
Dwpa_auth_glue.c486 return hapd->driver->send_ether(hapd->drv_priv, dst, in hostapd_wpa_auth_send_ether()
690 if (hapd->drv_priv && hostapd_set_privacy(hapd, 0)) { in hostapd_deinit_wpa()
696 if (hapd->drv_priv && in hostapd_deinit_wpa()
Dhostapd.h132 void *drv_priv; member
Dwps_hostapd.c877 if (hapd->drv_priv) in hostapd_wps_clear_ies()
Dieee802_1x.c2275 if (hapd->driver && hapd->drv_priv && in ieee802_1x_deinit()
/external/wpa_supplicant_8/hostapd/
Dmain.c34 void **drv_priv; member
172 if (global.drv_priv[i] == NULL && in hostapd_driver_init()
174 global.drv_priv[i] = in hostapd_driver_init()
176 if (global.drv_priv[i] == NULL) { in hostapd_driver_init()
184 params.global_priv = global.drv_priv[i]; in hostapd_driver_init()
204 hapd->drv_priv = hapd->driver->hapd_init(hapd, &params); in hostapd_driver_init()
206 if (hapd->drv_priv == NULL) { in hostapd_driver_init()
214 hapd->driver->get_capa(hapd->drv_priv, &capa) == 0) { in hostapd_driver_init()
227 if (hapd->driver->set_wowlan(hapd->drv_priv, triggs)) in hostapd_driver_init()
352 global.drv_priv = os_calloc(global.drv_count, sizeof(void *)); in hostapd_global_init()
[all …]
/external/wpa_supplicant_8/src/drivers/
Ddriver.h2499 void **drv_priv, char *force_ifname, u8 *if_addr,
4451 void *drv_priv; member
Ddriver_nl80211_event.c586 event.rx_mgmt.drv_priv = bss; in mlme_event_mgmt()
Ddriver_nl80211.c6157 void *bss_ctx, void **drv_priv, in wpa_driver_nl80211_if_add() argument
6279 if (drv_priv) in wpa_driver_nl80211_if_add()
6280 *drv_priv = new_bss; in wpa_driver_nl80211_if_add()
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_new_handlers.c3033 if (wpa_s->drv_priv != NULL && wpa_drv_set_country(wpa_s, country)) { in wpas_dbus_setter_country()

12