summaryrefslogtreecommitdiffstats
path: root/src/shared/wifi-util.h
blob: 0ce41372e24c69ee2bc406d2ea64e7be0769a7fb (plain)
1
2
3
4
5
6
7
8
9
10
11
/* SPDX-License-Identifier: LGPL-2.1-or-later */

#pragma once

#include <linux/nl80211.h>
#include <net/ethernet.h>

#include "sd-netlink.h"

int wifi_get_interface(sd_netlink *genl, int ifindex, enum nl80211_iftype *iftype, char **ssid);
int wifi_get_station(sd_netlink *genl, int ifindex, struct ether_addr *bssid);