summaryrefslogtreecommitdiff
path: root/src/shared/wifi-util.h
blob: c7553fafde0296d4988f9e9f738c15fc186fd5ae (plain)
1
2
3
4
5
6
7
8
9
10
/* SPDX-License-Identifier: LGPL-2.1+ */

#pragma once

#include <linux/nl80211.h>

#include "netlink-util.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);