Lines Matching defs:drv_priv
35 void *drv_priv;
53 if (iface->drv_priv) {
56 iface->driver->deinit(iface->drv_priv);
57 iface->drv_priv = NULL;
84 iface->drv_priv = iface->driver->init2(iface, iface->ifname,
87 iface->drv_priv = iface->driver->init(iface, iface->ifname);
91 if (iface->drv_priv == NULL) {
103 iface->driver->set_param(iface->drv_priv, NULL) < 0) {
112 if (iface->drv_priv) {
114 iface->driver->deinit(iface->drv_priv);
115 iface->drv_priv = NULL;
130 if (iface->drv_priv == NULL)
141 iface->driver->scan2(iface->drv_priv, ¶ms);
153 res = iface->driver->get_scan_results2(iface->drv_priv);
194 if (iface->drv_priv == NULL)
212 if (iface->drv_priv == NULL || iface->driver->authenticate == NULL)
252 res = iface->driver->authenticate(iface->drv_priv, ¶ms);
265 if (iface->drv_priv == NULL || iface->driver->associate == NULL)
300 res = iface->driver->associate(iface->drv_priv, ¶ms);
310 if (iface->drv_priv == NULL)
314 iface->driver->get_bssid(iface->drv_priv, bssid) < 0)
332 if (iface->drv_priv == NULL)
338 res = iface->driver->get_ssid(iface->drv_priv, &ssid[sizeof(int)]);
358 if (iface->drv_priv == NULL || iface->driver->set_key == NULL)
368 res = iface->driver->set_key(iface->ifname, iface->drv_priv,
385 if (iface->drv_priv == NULL)
389 iface->driver->get_capa(iface->drv_priv, &capa) < 0)
536 if (iface->drv_priv == NULL || iface->driver->set_country == NULL ||
540 iface->driver->set_country(iface->drv_priv, buf);
628 if (iface->drv_priv && iface->driver->deinit)
629 iface->driver->deinit(iface->drv_priv);
1030 ifindex = iface->driver->get_ifindex(iface->drv_priv);