Lines Matching refs:drv_priv
293 hapd->drv_priv = NULL; in hostapd_free_hapd_data()
379 if (hapd->drv_priv && !hapd->iface->driver_ap_teardown) { in hostapd_clear_wep()
427 if (hostapd_drv_none(hapd) || hapd->drv_priv == NULL) in hostapd_flush_old_stations()
735 &hapd->drv_priv, force_ifname, if_addr, in hostapd_setup_bss()
890 hapd->driver->set_operstate(hapd->drv_priv, 1); in hostapd_setup_bss()
1068 iface->bss[i]->drv_priv = hapd->drv_priv; in setup_interface()
1607 void *drv_priv; in hostapd_interface_deinit_free() local
1616 drv_priv = iface->bss[0]->drv_priv; in hostapd_interface_deinit_free()
1619 __func__, driver, drv_priv); in hostapd_interface_deinit_free()
1620 if (driver && driver->hapd_deinit && drv_priv) { in hostapd_interface_deinit_free()
1621 driver->hapd_deinit(drv_priv); in hostapd_interface_deinit_free()
1622 iface->bss[0]->drv_priv = NULL; in hostapd_interface_deinit_free()
1629 void *drv_priv, in hostapd_deinit_driver() argument
1635 __func__, driver, drv_priv); in hostapd_deinit_driver()
1636 if (driver && driver->hapd_deinit && drv_priv) { in hostapd_deinit_driver()
1637 driver->hapd_deinit(drv_priv); in hostapd_deinit_driver()
1641 hapd_iface->bss[j]->drv_priv); in hostapd_deinit_driver()
1642 if (hapd_iface->bss[j]->drv_priv == drv_priv) in hostapd_deinit_driver()
1643 hapd_iface->bss[j]->drv_priv = NULL; in hostapd_deinit_driver()
1653 if (hapd_iface->bss[0]->drv_priv != NULL) { in hostapd_enable_iface()
1676 hapd_iface->bss[0]->drv_priv, in hostapd_enable_iface()
1709 void *drv_priv; in hostapd_disable_iface() local
1714 if (hapd_iface->bss[0]->drv_priv == NULL) { in hostapd_disable_iface()
1722 drv_priv = hapd_iface->bss[0]->drv_priv; in hostapd_disable_iface()
1735 hostapd_deinit_driver(driver, drv_priv, hapd_iface); in hostapd_disable_iface()
1894 hapd->drv_priv = hapd_iface->bss[0]->drv_priv; in hostapd_add_iface()