}
static inline int
-hostapd_set_regulatory_domain(struct hostapd_data *hapd, unsigned int rd)
-{
- if (hapd->driver == NULL ||
- hapd->driver->set_regulatory_domain == NULL)
- return 0;
- return hapd->driver->set_regulatory_domain(hapd->drv_priv, rd);
-}
-
-static inline int
hostapd_set_country(struct hostapd_data *hapd, const char *country)
{
if (hapd->driver == NULL ||
hapd->drv_priv, ie, len);
}
+static inline const struct hostapd_neighbor_bss *
+hostapd_driver_get_neighbor_bss(struct hostapd_data *hapd, size_t *num)
+{
+ if (hapd->driver == NULL || hapd->driver->get_neighbor_bss == NULL)
+ return NULL;
+ return hapd->driver->get_neighbor_bss(hapd->drv_priv, num);
+}
+
#endif /* DRIVER_I_H */