Searched refs:drv_priv (Results 1 - 25 of 42) sorted by relevance

12

/external/wpa_supplicant_8/wpa_supplicant/
H A Ddriver_i.h30 wpa_s->driver->deinit(wpa_s->drv_priv);
37 return wpa_s->driver->set_param(wpa_s->drv_priv, param);
45 return wpa_s->driver->set_countermeasures(wpa_s->drv_priv,
55 return wpa_s->driver->authenticate(wpa_s->drv_priv, params);
63 return wpa_s->driver->associate(wpa_s->drv_priv, params);
71 return wpa_s->driver->init_mesh(wpa_s->drv_priv);
79 return wpa_s->driver->join_mesh(wpa_s->drv_priv, params);
86 return wpa_s->driver->leave_mesh(wpa_s->drv_priv);
98 return wpa_s->driver->scan2(wpa_s->drv_priv, params);
107 return wpa_s->driver->sched_scan(wpa_s->drv_priv,
[all...]
H A Dwpa_priv.c33 void *drv_priv; member in struct:wpa_priv_interface
46 if (iface->drv_priv) {
49 iface->driver->deinit(iface->drv_priv);
50 iface->drv_priv = NULL;
64 iface->drv_priv = iface->driver->init(iface, iface->ifname);
65 if (iface->drv_priv == NULL) {
77 iface->driver->set_param(iface->drv_priv, NULL) < 0) {
86 if (iface->drv_priv) {
88 iface->driver->deinit(iface->drv_priv);
89 iface->drv_priv
[all...]
H A Dmesh.c155 bss->drv_priv = wpa_s->drv_priv;
H A Dwpa_supplicant_i.h256 void **drv_priv; member in struct:wpa_global
474 void *drv_priv; /* private data used by driver_ops */ member in struct:wpa_supplicant
H A Dwpa_supplicant.c2968 if (wpa_drivers[i]->global_init && global->drv_priv[i] == NULL) {
2969 global->drv_priv[i] = wpa_drivers[i]->global_init();
2970 if (global->drv_priv[i] == NULL) {
2978 wpa_s->global_drv_priv = global->drv_priv[i];
3990 wpa_s->drv_priv = wpa_drv_init(wpa_s, wpa_s->ifname);
3991 if (wpa_s->drv_priv == NULL) {
4335 if (wpa_s->drv_priv) {
4349 if (wpa_s->drv_priv)
4693 global->drv_priv = os_calloc(global->drv_count, sizeof(void *));
4694 if (global->drv_priv
[all...]
H A Dap.c678 hapd_iface->bss[0]->drv_priv = wpa_s->drv_priv;
1141 if (hapd->drv_priv == NULL)
/external/wpa_supplicant_8/hostapd/src/ap/
H A Dap_drv_ops.h52 void **drv_priv, char *force_ifname, u8 *if_addr,
129 return hapd->driver->hapd_set_countermeasures(hapd->drv_priv, enabled);
138 return hapd->driver->set_sta_vlan(hapd->drv_priv, addr, ifname,
147 return hapd->driver->get_inact_sec(hapd->drv_priv, addr);
155 return hapd->driver->sta_remove(hapd->drv_priv, addr);
165 return hapd->driver->hapd_send_eapol(hapd->drv_priv, addr, data,
176 return hapd->driver->read_sta_data(hapd->drv_priv, data, addr);
184 return hapd->driver->sta_clear_stats(hapd->drv_priv, addr);
192 return hapd->driver->set_acl(hapd->drv_priv, params);
200 return hapd->driver->set_ap(hapd->drv_priv, param
[all...]
H A Dap_drv_ops.c225 return hapd->driver->set_ap_wps_ie(hapd->drv_priv, NULL, NULL, NULL);
241 ret = hapd->driver->set_ap_wps_ie(hapd->drv_priv, beacon, proberesp,
337 return hapd->driver->set_wds_sta(hapd->drv_priv, addr, aid, val,
347 return hapd->driver->add_sta_node(hapd->drv_priv, addr, auth_alg);
356 return hapd->driver->sta_auth(hapd->drv_priv, hapd->own_addr, addr,
366 return hapd->driver->sta_assoc(hapd->drv_priv, hapd->own_addr, addr,
399 return hapd->driver->sta_add(hapd->drv_priv, &params);
408 return hapd->driver->add_tspec(hapd->drv_priv, addr, tspec_ie,
417 return hapd->driver->set_privacy(hapd->drv_priv, enabled);
426 return hapd->driver->set_generic_elem(hapd->drv_priv, ele
446 hostapd_if_add(struct hostapd_data *hapd, enum wpa_driver_if_type type, const char *ifname, const u8 *addr, void *bss_ctx, void **drv_priv, char *force_ifname, u8 *if_addr, const char *bridge, int use_existing) argument
[all...]
H A Dhostapd.c307 * and hapd->drv_priv is not valid anymore.
309 hapd->drv_priv = NULL;
400 if (hapd->drv_priv && !hapd->iface->driver_ap_teardown) {
448 if (hostapd_drv_none(hapd) || hapd->drv_priv == NULL)
911 &hapd->drv_priv, force_ifname, if_addr,
1098 hapd->driver->set_operstate(hapd->drv_priv, 1);
1281 iface->bss[i]->drv_priv = hapd->drv_priv;
1865 void *drv_priv; local
1874 drv_priv
1886 hostapd_deinit_driver(const struct wpa_driver_ops *driver, void *drv_priv, struct hostapd_iface *hapd_iface) argument
1967 void *drv_priv; local
[all...]
H A Dctrl_iface_ap.c279 ret = hapd->driver->send_frame(hapd->drv_priv, (u8 *) mgmt,
321 if (hapd->driver->send_frame(hapd->drv_priv, (u8 *) &mgmt,
381 if (hapd->driver->send_frame(hapd->drv_priv, (u8 *) &mgmt,
H A Dhostapd.h132 void *drv_priv; member in struct:hostapd_data
H A Ddrv_callbacks.c846 if (rx_mgmt->drv_priv &&
847 (iface->bss[i]->drv_priv != rx_mgmt->drv_priv))
/external/wpa_supplicant_8/src/ap/
H A Dap_drv_ops.h52 void **drv_priv, char *force_ifname, u8 *if_addr,
129 return hapd->driver->hapd_set_countermeasures(hapd->drv_priv, enabled);
138 return hapd->driver->set_sta_vlan(hapd->drv_priv, addr, ifname,
147 return hapd->driver->get_inact_sec(hapd->drv_priv, addr);
155 return hapd->driver->sta_remove(hapd->drv_priv, addr);
165 return hapd->driver->hapd_send_eapol(hapd->drv_priv, addr, data,
176 return hapd->driver->read_sta_data(hapd->drv_priv, data, addr);
184 return hapd->driver->sta_clear_stats(hapd->drv_priv, addr);
192 return hapd->driver->set_acl(hapd->drv_priv, params);
200 return hapd->driver->set_ap(hapd->drv_priv, param
[all...]
H A Dap_drv_ops.c225 return hapd->driver->set_ap_wps_ie(hapd->drv_priv, NULL, NULL, NULL);
241 ret = hapd->driver->set_ap_wps_ie(hapd->drv_priv, beacon, proberesp,
337 return hapd->driver->set_wds_sta(hapd->drv_priv, addr, aid, val,
347 return hapd->driver->add_sta_node(hapd->drv_priv, addr, auth_alg);
356 return hapd->driver->sta_auth(hapd->drv_priv, hapd->own_addr, addr,
366 return hapd->driver->sta_assoc(hapd->drv_priv, hapd->own_addr, addr,
399 return hapd->driver->sta_add(hapd->drv_priv, &params);
408 return hapd->driver->add_tspec(hapd->drv_priv, addr, tspec_ie,
417 return hapd->driver->set_privacy(hapd->drv_priv, enabled);
426 return hapd->driver->set_generic_elem(hapd->drv_priv, ele
446 hostapd_if_add(struct hostapd_data *hapd, enum wpa_driver_if_type type, const char *ifname, const u8 *addr, void *bss_ctx, void **drv_priv, char *force_ifname, u8 *if_addr, const char *bridge, int use_existing) argument
[all...]
H A Dhostapd.c307 * and hapd->drv_priv is not valid anymore.
309 hapd->drv_priv = NULL;
400 if (hapd->drv_priv && !hapd->iface->driver_ap_teardown) {
448 if (hostapd_drv_none(hapd) || hapd->drv_priv == NULL)
911 &hapd->drv_priv, force_ifname, if_addr,
1098 hapd->driver->set_operstate(hapd->drv_priv, 1);
1281 iface->bss[i]->drv_priv = hapd->drv_priv;
1865 void *drv_priv; local
1874 drv_priv
1886 hostapd_deinit_driver(const struct wpa_driver_ops *driver, void *drv_priv, struct hostapd_iface *hapd_iface) argument
1967 void *drv_priv; local
[all...]
H A Dctrl_iface_ap.c279 ret = hapd->driver->send_frame(hapd->drv_priv, (u8 *) mgmt,
321 if (hapd->driver->send_frame(hapd->drv_priv, (u8 *) &mgmt,
381 if (hapd->driver->send_frame(hapd->drv_priv, (u8 *) &mgmt,
H A Dhostapd.h132 void *drv_priv; member in struct:hostapd_data
H A Ddrv_callbacks.c846 if (rx_mgmt->drv_priv &&
847 (iface->bss[i]->drv_priv != rx_mgmt->drv_priv))
/external/wpa_supplicant_8/wpa_supplicant/src/ap/
H A Dap_drv_ops.h52 void **drv_priv, char *force_ifname, u8 *if_addr,
129 return hapd->driver->hapd_set_countermeasures(hapd->drv_priv, enabled);
138 return hapd->driver->set_sta_vlan(hapd->drv_priv, addr, ifname,
147 return hapd->driver->get_inact_sec(hapd->drv_priv, addr);
155 return hapd->driver->sta_remove(hapd->drv_priv, addr);
165 return hapd->driver->hapd_send_eapol(hapd->drv_priv, addr, data,
176 return hapd->driver->read_sta_data(hapd->drv_priv, data, addr);
184 return hapd->driver->sta_clear_stats(hapd->drv_priv, addr);
192 return hapd->driver->set_acl(hapd->drv_priv, params);
200 return hapd->driver->set_ap(hapd->drv_priv, param
[all...]
H A Dap_drv_ops.c225 return hapd->driver->set_ap_wps_ie(hapd->drv_priv, NULL, NULL, NULL);
241 ret = hapd->driver->set_ap_wps_ie(hapd->drv_priv, beacon, proberesp,
337 return hapd->driver->set_wds_sta(hapd->drv_priv, addr, aid, val,
347 return hapd->driver->add_sta_node(hapd->drv_priv, addr, auth_alg);
356 return hapd->driver->sta_auth(hapd->drv_priv, hapd->own_addr, addr,
366 return hapd->driver->sta_assoc(hapd->drv_priv, hapd->own_addr, addr,
399 return hapd->driver->sta_add(hapd->drv_priv, &params);
408 return hapd->driver->add_tspec(hapd->drv_priv, addr, tspec_ie,
417 return hapd->driver->set_privacy(hapd->drv_priv, enabled);
426 return hapd->driver->set_generic_elem(hapd->drv_priv, ele
446 hostapd_if_add(struct hostapd_data *hapd, enum wpa_driver_if_type type, const char *ifname, const u8 *addr, void *bss_ctx, void **drv_priv, char *force_ifname, u8 *if_addr, const char *bridge, int use_existing) argument
[all...]
H A Dhostapd.c307 * and hapd->drv_priv is not valid anymore.
309 hapd->drv_priv = NULL;
400 if (hapd->drv_priv && !hapd->iface->driver_ap_teardown) {
448 if (hostapd_drv_none(hapd) || hapd->drv_priv == NULL)
911 &hapd->drv_priv, force_ifname, if_addr,
1098 hapd->driver->set_operstate(hapd->drv_priv, 1);
1281 iface->bss[i]->drv_priv = hapd->drv_priv;
1865 void *drv_priv; local
1874 drv_priv
1886 hostapd_deinit_driver(const struct wpa_driver_ops *driver, void *drv_priv, struct hostapd_iface *hapd_iface) argument
1967 void *drv_priv; local
[all...]
H A Dctrl_iface_ap.c279 ret = hapd->driver->send_frame(hapd->drv_priv, (u8 *) mgmt,
321 if (hapd->driver->send_frame(hapd->drv_priv, (u8 *) &mgmt,
381 if (hapd->driver->send_frame(hapd->drv_priv, (u8 *) &mgmt,
H A Dhostapd.h132 void *drv_priv; member in struct:hostapd_data
H A Ddrv_callbacks.c846 if (rx_mgmt->drv_priv &&
847 (iface->bss[i]->drv_priv != rx_mgmt->drv_priv))
/external/wpa_supplicant_8/hostapd/
H A Dmain.c33 void **drv_priv; member in struct:hapd_global
171 if (global.drv_priv[i] == NULL &&
173 global.drv_priv[i] = wpa_drivers[i]->global_init();
174 if (global.drv_priv[i] == NULL) {
182 params.global_priv = global.drv_priv[i];
202 hapd->drv_priv = hapd->driver->hapd_init(hapd, &params);
204 if (hapd->drv_priv == NULL) {
212 hapd->driver->get_capa(hapd->drv_priv, &capa) == 0) {
225 if (hapd->driver->set_wowlan(hapd->drv_priv, triggs))
350 global.drv_priv
[all...]

Completed in 196 milliseconds

12