Lines Matching refs:driver
22 #include "drivers/driver.h"
153 * hostapd_driver_init - Preparate driver interface
164 if (hapd->driver == NULL || hapd->driver->hapd_init == NULL) {
165 wpa_printf(MSG_ERROR, "No hostapd driver wrapper available");
169 /* Initialize the driver interface */
175 if (wpa_drivers[i] != hapd->driver)
184 "driver '%s'",
210 hapd->drv_priv = hapd->driver->hapd_init(hapd, ¶ms);
213 wpa_printf(MSG_ERROR, "%s driver initialization failed.",
214 hapd->driver->name);
215 hapd->driver = NULL;
219 if (hapd->driver->get_capa &&
220 hapd->driver->get_capa(hapd->drv_priv, &capa) == 0) {
236 * available from the driver.
241 if (triggs && hapd->driver->set_wowlan) {
242 if (hapd->driver->set_wowlan(hapd->drv_priv, triggs))
257 * interfaces. No actual driver operations are started.