Lines Matching refs:driver
19 #include "drivers/driver.h"
32 struct wpa_driver_ops *driver;
47 wpa_printf(MSG_DEBUG, "Cleaning up forgotten driver instance");
48 if (iface->driver->deinit)
49 iface->driver->deinit(iface->drv_priv);
61 if (iface->driver->init == NULL)
64 iface->drv_priv = iface->driver->init(iface, iface->ifname);
66 wpa_printf(MSG_DEBUG, "Failed to initialize driver wrapper");
70 wpa_printf(MSG_DEBUG, "Driver wrapper '%s' initialized for interface "
76 if (iface->driver->set_param &&
77 iface->driver->set_param(iface->drv_priv, NULL) < 0) {
78 wpa_printf(MSG_ERROR, "Driver interface rejected param");
87 if (iface->driver->deinit)
88 iface->driver->deinit(iface->drv_priv);
110 if (iface->driver->scan2)
111 iface->driver->scan2(iface->drv_priv, ¶ms);
123 res = iface->driver->get_scan_results2(iface->drv_priv);
167 if (iface->driver->get_scan_results2)
183 if (iface->drv_priv == NULL || iface->driver->associate == NULL)
216 res = iface->driver->associate(iface->drv_priv, ¶ms);
229 if (iface->driver->get_bssid == NULL ||
230 iface->driver->get_bssid(iface->drv_priv, bssid) < 0)
251 if (iface->driver->get_ssid == NULL)
254 res = iface->driver->get_ssid(iface->drv_priv, &ssid[sizeof(int)]);
274 if (iface->drv_priv == NULL || iface->driver->set_key == NULL)
284 res = iface->driver->set_key(iface->ifname, iface->drv_priv,
304 if (iface->driver->get_capa == NULL ||
305 iface->driver->get_capa(iface->drv_priv, &capa) < 0)
447 if (iface->drv_priv == NULL || iface->driver->set_country == NULL ||
451 iface->driver->set_country(iface->drv_priv, buf);
536 if (iface->drv_priv && iface->driver->deinit)
537 iface->driver->deinit(iface->drv_priv);
587 iface->driver = wpa_drivers[i];
591 if (iface->driver == NULL) {
592 wpa_printf(MSG_ERROR, "Unsupported driver '%s'",
830 wpa_printf(MSG_DEBUG, "Driver event received, but "
878 wpa_printf(MSG_DEBUG, "Unsupported driver event %d - TODO",
893 wpa_printf(MSG_DEBUG, "RX EAPOL from driver");
946 " wpa_priv [-Bdd] [-P<pid file>] <driver:ifname> "
947 "[driver:ifname ...]\n");
1003 wpa_printf(MSG_DEBUG, "Adding driver:interface %s", argv[i]);