Lines Matching refs:drv_priv
35 void **drv_priv; member
173 if (global.drv_priv[i] == NULL && in hostapd_driver_init()
175 global.drv_priv[i] = wpa_drivers[i]->global_init(); in hostapd_driver_init()
176 if (global.drv_priv[i] == NULL) { in hostapd_driver_init()
184 params.global_priv = global.drv_priv[i]; in hostapd_driver_init()
206 hapd->drv_priv = hapd->driver->hapd_init(hapd, ¶ms); in hostapd_driver_init()
208 if (hapd->drv_priv == NULL) { in hostapd_driver_init()
216 hapd->driver->get_capa(hapd->drv_priv, &capa) == 0) { in hostapd_driver_init()
228 if (hapd->driver->set_wowlan(hapd->drv_priv, triggs)) in hostapd_driver_init()
353 global.drv_priv = os_calloc(global.drv_count, sizeof(void *)); in hostapd_global_init()
354 if (global.drv_priv == NULL) in hostapd_global_init()
365 for (i = 0; wpa_drivers[i] && global.drv_priv; i++) { in hostapd_global_deinit()
366 if (!global.drv_priv[i]) in hostapd_global_deinit()
368 wpa_drivers[i]->global_deinit(global.drv_priv[i]); in hostapd_global_deinit()
370 os_free(global.drv_priv); in hostapd_global_deinit()
371 global.drv_priv = NULL; in hostapd_global_deinit()