Home
last modified time | relevance | path

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

123

/third_party/wpa_supplicant/wpa_supplicant-2.9/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.c280 bss->drv_priv = wpa_s->drv_priv; in wpa_supplicant_mesh_init()
Dwpa_supplicant.c631 if (wpa_s->drv_priv) in wpa_supplicant_cleanup()
4123 if (wpa_drivers[i]->global_init && global->drv_priv[i] == NULL) { in select_driver()
4124 global->drv_priv[i] = wpa_drivers[i]->global_init(global); in select_driver()
4125 if (global->drv_priv[i] == NULL) { in select_driver()
4133 wpa_s->global_drv_priv = global->drv_priv[i]; in select_driver()
5573 wpa_s->drv_priv = wpa_drv_init(wpa_s, wpa_s->ifname);
5574 if (wpa_s->drv_priv == NULL) {
5847 if (WifiWpaGetDrvFlags(wpa_s->drv_priv, &drv_flags) == SUCC) {
6042 if (wpa_s->drv_priv) {
6067 if (wpa_s->drv_priv)
[all …]
Dwpa_supplicant_i.h270 void **drv_priv; member
548 void *drv_priv; /* private data used by driver_ops */ member
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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.c328 bss->drv_priv = wpa_s->drv_priv; in wpa_supplicant_mesh_enable_iface_cb()
421 bss->drv_priv = wpa_s->drv_priv; in wpa_supplicant_mesh_init()
Dwpa_supplicant.c693 if (wpa_s->drv_priv) in wpa_supplicant_cleanup()
4937 if (wpa_drivers[i]->global_init && global->drv_priv[i] == NULL) { in select_driver()
4938 global->drv_priv[i] = wpa_drivers[i]->global_init(global); in select_driver()
4939 if (global->drv_priv[i] == NULL) { in select_driver()
4947 wpa_s->global_drv_priv = global->drv_priv[i]; in select_driver()
6497 wpa_s->drv_priv = wpa_drv_init(wpa_s, wpa_s->ifname);
6498 if (wpa_s->drv_priv == NULL) {
6780 if (WifiWpaGetDrvFlags(wpa_s->drv_priv, &drv_flags) == SUCC) {
6975 if (wpa_s->drv_priv) {
7010 if (wpa_s->drv_priv)
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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.c305 if (!ifname || !hapd->drv_priv) in hostapd_broadcast_key_clear_iface()
414 hapd->drv_priv = NULL; in hostapd_free_hapd_data()
555 if (hapd->drv_priv && !hapd->iface->driver_ap_teardown && hapd->conf) { in hostapd_clear_wep()
608 if (hostapd_drv_none(hapd) || hapd->drv_priv == NULL) in hostapd_flush_old_stations()
1163 &hapd->drv_priv, force_ifname, if_addr, in hostapd_setup_bss()
1404 hapd->driver->set_operstate(hapd->drv_priv, 1); in hostapd_setup_bss()
1587 iface->bss[i]->drv_priv = hapd->drv_priv; in setup_interface()
2674 void *drv_priv; in hostapd_interface_deinit_free() local
2683 drv_priv = iface->bss[0]->drv_priv; in hostapd_interface_deinit_free()
2686 __func__, driver, drv_priv); in hostapd_interface_deinit_free()
[all …]
Ddrv_callbacks.c1465 if (rx_mgmt->drv_priv && in hostapd_mgmt_rx()
1466 (iface->bss[i]->drv_priv != rx_mgmt->drv_priv)) in hostapd_mgmt_rx()
2102 hapd->drv_priv) { in wpa_supplicant_event_global_hapd()
2105 ifindex = hapd->driver->get_ifindex(hapd->drv_priv); in wpa_supplicant_event_global_hapd()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dap_drv_ops.h55 void **drv_priv, char *force_ifname, u8 *if_addr,
114 !hapd->drv_priv) in hostapd_drv_send_action_cancel_wait()
116 hapd->driver->send_action_cancel_wait(hapd->drv_priv); in hostapd_drv_send_action_cancel_wait()
154 return hapd->driver->hapd_set_countermeasures(hapd->drv_priv, enabled); in hostapd_drv_set_countermeasures()
163 return hapd->driver->set_sta_vlan(hapd->drv_priv, addr, ifname, in hostapd_drv_set_sta_vlan()
172 return hapd->driver->get_inact_sec(hapd->drv_priv, addr); in hostapd_drv_get_inact_sec()
178 if (!hapd->driver || !hapd->driver->sta_remove || !hapd->drv_priv) in hostapd_drv_sta_remove()
180 return hapd->driver->sta_remove(hapd->drv_priv, addr); in hostapd_drv_sta_remove()
190 return hapd->driver->hapd_send_eapol(hapd->drv_priv, addr, data, in hostapd_drv_hapd_send_eapol()
201 return hapd->driver->read_sta_data(hapd->drv_priv, data, addr); in hostapd_drv_read_sta_data()
[all …]
Dap_drv_ops.c230 return hapd->driver->set_ap_wps_ie(hapd->drv_priv, NULL, NULL, NULL); in hostapd_reset_ap_wps_ie()
246 ret = hapd->driver->set_ap_wps_ie(hapd->drv_priv, beacon, proberesp, in hostapd_set_ap_wps_ie()
342 return hapd->driver->set_wds_sta(hapd->drv_priv, addr, aid, val, in hostapd_set_wds_sta()
352 return hapd->driver->add_sta_node(hapd->drv_priv, addr, auth_alg); in hostapd_add_sta_node()
396 return hapd->driver->sta_auth(hapd->drv_priv, &params); in hostapd_sta_auth()
405 return hapd->driver->sta_assoc(hapd->drv_priv, hapd->own_addr, addr, in hostapd_sta_assoc()
445 return hapd->driver->sta_add(hapd->drv_priv, &params); in hostapd_sta_add()
454 return hapd->driver->add_tspec(hapd->drv_priv, addr, tspec_ie, in hostapd_add_tspec()
463 return hapd->driver->set_privacy(hapd->drv_priv, enabled); in hostapd_set_privacy()
472 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.c292 if (!ifname || !hapd->drv_priv) in hostapd_broadcast_key_clear_iface()
401 hapd->drv_priv = NULL; in hostapd_free_hapd_data()
534 if (hapd->drv_priv && !hapd->iface->driver_ap_teardown && hapd->conf) { in hostapd_clear_wep()
582 if (hostapd_drv_none(hapd) || hapd->drv_priv == NULL) in hostapd_flush_old_stations()
1135 &hapd->drv_priv, force_ifname, if_addr, in hostapd_setup_bss()
1359 hapd->driver->set_operstate(hapd->drv_priv, 1); in hostapd_setup_bss()
1542 iface->bss[i]->drv_priv = hapd->drv_priv; in setup_interface()
2529 void *drv_priv; in hostapd_interface_deinit_free() local
2538 drv_priv = iface->bss[0]->drv_priv; in hostapd_interface_deinit_free()
2541 __func__, driver, drv_priv); in hostapd_interface_deinit_free()
[all …]
Dctrl_iface_ap.c435 if (!hapd->drv_priv || !hapd->driver->send_frame) in p2p_manager_disconnect()
471 ret = hapd->driver->send_frame(hapd->drv_priv, (u8 *) mgmt, in p2p_manager_disconnect()
502 if (!hapd->drv_priv || !hapd->driver->send_frame) in hostapd_ctrl_iface_deauthenticate()
513 if (hapd->driver->send_frame(hapd->drv_priv, (u8 *) &mgmt, in hostapd_ctrl_iface_deauthenticate()
565 if (!hapd->drv_priv || !hapd->driver->send_frame) in hostapd_ctrl_iface_disassociate()
576 if (hapd->driver->send_frame(hapd->drv_priv, (u8 *) &mgmt, in hostapd_ctrl_iface_disassociate()
Ddrv_callbacks.c1310 if (rx_mgmt->drv_priv && in hostapd_mgmt_rx()
1311 (iface->bss[i]->drv_priv != rx_mgmt->drv_priv)) in hostapd_mgmt_rx()
1929 hapd->drv_priv) { in wpa_supplicant_event_global_hapd()
1932 ifindex = hapd->driver->get_ifindex(hapd->drv_priv); in wpa_supplicant_event_global_hapd()
Dwpa_auth_glue.c624 return hapd->driver->send_ether(hapd->drv_priv, dst, in hostapd_wpa_auth_send_ether()
1379 if (hapd->drv_priv && hostapd_set_privacy(hapd, 0)) { in hostapd_deinit_wpa()
1385 if (hapd->drv_priv && in hostapd_deinit_wpa()
/third_party/wpa_supplicant/wpa_supplicant-2.9/hostapd/
Dap_main.c36 void **drv_priv; member
178 if (global.drv_priv[i] == NULL && in hostapd_driver_init()
180 global.drv_priv[i] = in hostapd_driver_init()
182 if (global.drv_priv[i] == NULL) { in hostapd_driver_init()
190 params.global_priv = global.drv_priv[i]; in hostapd_driver_init()
210 hapd->drv_priv = hapd->driver->hapd_init(hapd, &params); in hostapd_driver_init()
212 if (hapd->drv_priv == NULL) { in hostapd_driver_init()
220 hapd->driver->get_capa(hapd->drv_priv, &capa) == 0) { in hostapd_driver_init()
242 if (hapd->driver->set_wowlan(hapd->drv_priv, triggs)) in hostapd_driver_init()
375 global.drv_priv = os_calloc(global.drv_count, sizeof(void *)); in hostapd_global_init()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/
Dap_main.c36 void **drv_priv; member
175 if (global.drv_priv[i] == NULL && in hostapd_driver_init()
177 global.drv_priv[i] = in hostapd_driver_init()
179 if (global.drv_priv[i] == NULL) { in hostapd_driver_init()
187 params.global_priv = global.drv_priv[i]; in hostapd_driver_init()
207 hapd->drv_priv = hapd->driver->hapd_init(hapd, &params); in hostapd_driver_init()
209 if (hapd->drv_priv == NULL) { in hostapd_driver_init()
217 hapd->driver->get_capa(hapd->drv_priv, &capa) == 0) { in hostapd_driver_init()
239 if (hapd->driver->set_wowlan(hapd->drv_priv, triggs)) in hostapd_driver_init()
372 global.drv_priv = os_calloc(global.drv_count, sizeof(void *)); in hostapd_global_init()
[all …]

123