diff --git a/src/station.c b/src/station.c index 5e1d2468..ccf93934 100644 --- a/src/station.c +++ b/src/station.c @@ -3021,6 +3021,16 @@ void station_network_foreach(struct station *station, l_hashmap_foreach(station->networks, network_foreach, &data); } +struct l_queue *station_get_bss_list(struct station *station) +{ + return station->bss_list; +} + +struct scan_bss *station_get_connected_bss(struct station *station) +{ + return station->connected_bss; +} + static struct station *station_create(struct netdev *netdev) { struct station *station; diff --git a/src/station.h b/src/station.h index 469b5400..4155081b 100644 --- a/src/station.h +++ b/src/station.h @@ -85,3 +85,5 @@ void station_foreach(station_foreach_func_t func, void *user_data); void station_network_foreach(struct station *station, station_network_foreach_func_t func, void *user_data); +struct l_queue *station_get_bss_list(struct station *station); +struct scan_bss *station_get_connected_bss(struct station *station);