/external/wpa_supplicant_8/wpa_supplicant/ |
D | driver_i.h | 30 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() 72 return wpa_s->driver->scan2(wpa_s->drv_priv, params); in wpa_drv_scan() 81 return wpa_s->driver->sched_scan(wpa_s->drv_priv, in wpa_drv_sched_scan() 89 return wpa_s->driver->stop_sched_scan(wpa_s->drv_priv); in wpa_drv_stop_sched_scan() 97 return wpa_s->driver->get_scan_results2(wpa_s->drv_priv); in wpa_drv_get_scan_results2() 104 return wpa_s->driver->get_bssid(wpa_s->drv_priv, bssid); in wpa_drv_get_bssid() [all …]
|
D | wpa_priv.c | 33 void *drv_priv; member 46 if (iface->drv_priv) { in wpa_priv_cmd_register() 49 iface->driver->deinit(iface->drv_priv); in wpa_priv_cmd_register() 50 iface->drv_priv = NULL; in wpa_priv_cmd_register() 64 iface->drv_priv = iface->driver->init(iface, iface->ifname); in wpa_priv_cmd_register() 65 if (iface->drv_priv == NULL) { in wpa_priv_cmd_register() 77 iface->driver->set_param(iface->drv_priv, NULL) < 0) { in wpa_priv_cmd_register() 86 if (iface->drv_priv) { in wpa_priv_cmd_unregister() 88 iface->driver->deinit(iface->drv_priv); in wpa_priv_cmd_unregister() 89 iface->drv_priv = NULL; in wpa_priv_cmd_unregister() [all …]
|
D | wpa_supplicant.c | 2546 if (wpa_drivers[i]->global_init && global->drv_priv[i] == NULL) { in select_driver() 2547 global->drv_priv[i] = wpa_drivers[i]->global_init(); in select_driver() 2548 if (global->drv_priv[i] == NULL) { in select_driver() 2556 wpa_s->global_drv_priv = global->drv_priv[i]; in select_driver() 3545 wpa_s->drv_priv = wpa_drv_init(wpa_s, wpa_s->ifname); in wpas_init_driver() 3546 if (wpa_s->drv_priv == NULL) { in wpas_init_driver() 3839 if (wpa_s->drv_priv) { in wpa_supplicant_deinit_iface() 3853 if (wpa_s->drv_priv) in wpa_supplicant_deinit_iface() 4144 global->drv_priv = os_zalloc(global->drv_count * sizeof(void *)); in wpa_supplicant_init() 4145 if (global->drv_priv == NULL) { in wpa_supplicant_init() [all …]
|
D | wpa_supplicant_i.h | 254 void **drv_priv; member 435 void *drv_priv; /* private data used by driver_ops */ member
|
D | ap.c | 636 hapd_iface->bss[0]->drv_priv = wpa_s->drv_priv; in wpa_supplicant_create_ap() 1076 if (hapd->drv_priv == NULL) in wpa_supplicant_ap_update_beacon()
|
D | ibss_rsn.c | 500 return wpa_s->driver->send_frame(wpa_s->drv_priv, (u8 *) &auth, in ibss_rsn_send_auth()
|
D | events.c | 2777 if (wpa_s->drv_priv == NULL)
|
D | ctrl_iface.c | 7177 tmp = drv->get_interfaces(global->drv_priv[i]); in wpa_supplicant_global_iface_list()
|
D | p2p_supplicant.c | 4051 if (wpa_s->driver && wpa_s->drv_priv) in wpas_p2p_deinit()
|
/external/wpa_supplicant_8/src/ap/ |
D | ap_drv_ops.h | 51 void **drv_priv, char *force_ifname, u8 *if_addr, 131 return hapd->driver->hapd_set_countermeasures(hapd->drv_priv, enabled); in hostapd_drv_set_countermeasures() 140 return hapd->driver->set_sta_vlan(hapd->drv_priv, addr, ifname, in hostapd_drv_set_sta_vlan() 149 return hapd->driver->get_inact_sec(hapd->drv_priv, addr); in hostapd_drv_get_inact_sec() 157 return hapd->driver->sta_remove(hapd->drv_priv, addr); in hostapd_drv_sta_remove() 167 return hapd->driver->hapd_send_eapol(hapd->drv_priv, addr, data, in hostapd_drv_hapd_send_eapol() 178 return hapd->driver->read_sta_data(hapd->drv_priv, data, addr); in hostapd_drv_read_sta_data() 186 return hapd->driver->sta_clear_stats(hapd->drv_priv, addr); in hostapd_drv_sta_clear_stats() 194 return hapd->driver->set_acl(hapd->drv_priv, params); in hostapd_drv_set_acl() 202 return hapd->driver->set_ap(hapd->drv_priv, params); in hostapd_drv_set_ap() [all …]
|
D | ap_drv_ops.c | 231 ret = hapd->driver->set_ap_wps_ie(hapd->drv_priv, beacon, proberesp, in hostapd_set_ap_wps_ie() 321 return hapd->driver->set_wds_sta(hapd->drv_priv, addr, aid, val, in hostapd_set_wds_sta() 331 return hapd->driver->add_sta_node(hapd->drv_priv, addr, auth_alg); in hostapd_add_sta_node() 340 return hapd->driver->sta_auth(hapd->drv_priv, hapd->own_addr, addr, in hostapd_sta_auth() 350 return hapd->driver->sta_assoc(hapd->drv_priv, hapd->own_addr, addr, in hostapd_sta_assoc() 383 return hapd->driver->sta_add(hapd->drv_priv, ¶ms); in hostapd_sta_add() 392 return hapd->driver->add_tspec(hapd->drv_priv, addr, tspec_ie, in hostapd_add_tspec() 401 return hapd->driver->set_privacy(hapd->drv_priv, enabled); in hostapd_set_privacy() 410 return hapd->driver->set_generic_elem(hapd->drv_priv, elem, elem_len); in hostapd_set_generic_elem() 418 return hapd->driver->hapd_get_ssid(hapd->drv_priv, buf, len); in hostapd_get_ssid() [all …]
|
D | hostapd.c | 293 hapd->drv_priv = NULL; in hostapd_free_hapd_data() 379 if (hapd->drv_priv && !hapd->iface->driver_ap_teardown) { in hostapd_clear_wep() 427 if (hostapd_drv_none(hapd) || hapd->drv_priv == NULL) in hostapd_flush_old_stations() 735 &hapd->drv_priv, force_ifname, if_addr, in hostapd_setup_bss() 890 hapd->driver->set_operstate(hapd->drv_priv, 1); in hostapd_setup_bss() 1068 iface->bss[i]->drv_priv = hapd->drv_priv; in setup_interface() 1607 void *drv_priv; in hostapd_interface_deinit_free() local 1616 drv_priv = iface->bss[0]->drv_priv; in hostapd_interface_deinit_free() 1619 __func__, driver, drv_priv); in hostapd_interface_deinit_free() 1620 if (driver && driver->hapd_deinit && drv_priv) { in hostapd_interface_deinit_free() [all …]
|
D | ctrl_iface_ap.c | 262 ret = hapd->driver->send_frame(hapd->drv_priv, (u8 *) mgmt, in p2p_manager_disconnect() 304 if (hapd->driver->send_frame(hapd->drv_priv, (u8 *) &mgmt, in hostapd_ctrl_iface_deauthenticate() 364 if (hapd->driver->send_frame(hapd->drv_priv, (u8 *) &mgmt, in hostapd_ctrl_iface_disassociate()
|
D | drv_callbacks.c | 752 if (rx_mgmt->drv_priv && in hostapd_mgmt_rx() 753 (iface->bss[i]->drv_priv != rx_mgmt->drv_priv)) in hostapd_mgmt_rx()
|
D | hostapd.h | 122 void *drv_priv; member
|
D | wpa_auth_glue.c | 425 return hapd->driver->send_ether(hapd->drv_priv, dst, in hostapd_wpa_auth_send_ether()
|
/external/wpa_supplicant_8/hostapd/ |
D | main.c | 35 void **drv_priv; member 173 if (global.drv_priv[i] == NULL && in hostapd_driver_init() 175 global.drv_priv[i] = wpa_drivers[i]->global_init(); 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() 206 hapd->drv_priv = hapd->driver->hapd_init(hapd, ¶ms); in hostapd_driver_init() 208 if (hapd->drv_priv == NULL) { in hostapd_driver_init() 216 hapd->driver->get_capa(hapd->drv_priv, &capa) == 0) { in hostapd_driver_init() 228 if (hapd->driver->set_wowlan(hapd->drv_priv, triggs)) in hostapd_driver_init() 353 global.drv_priv = os_calloc(global.drv_count, sizeof(void *)); in hostapd_global_init() [all …]
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver.h | 2137 void **drv_priv, char *force_ifname, u8 *if_addr, 3877 void *drv_priv; member
|
D | driver_test.c | 945 void *bss_ctx, void **drv_priv) in test_driver_bss_add() argument 969 if (drv_priv) in test_driver_bss_add() 970 *drv_priv = bss; in test_driver_bss_add() 1012 void *bss_ctx, void **drv_priv, in test_driver_if_add() argument 1035 drv_priv); in test_driver_if_add()
|
D | driver_nl80211.c | 1859 event.rx_mgmt.drv_priv = bss; in mlme_event_mgmt() 10314 void *bss_ctx, void **drv_priv, in wpa_driver_nl80211_if_add() argument 10436 if (drv_priv) in wpa_driver_nl80211_if_add() 10437 *drv_priv = new_bss; in wpa_driver_nl80211_if_add()
|
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
D | dbus_new_handlers.c | 3058 if (wpa_s->drv_priv != NULL && wpa_drv_set_country(wpa_s, country)) { in wpas_dbus_setter_country()
|