Debian Codegraph @

src/network/netdev/wlan.h

raw
1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
2 #pragma once
3
4 #include <linux/nl80211.h>
5
6 #include "shared-forward.h"
7 #include "netdev.h"
8
9 typedef struct WLan {
10 NetDev meta;
11
12 char *wiphy_name;
13 uint32_t wiphy_index;
14 enum nl80211_iftype iftype;
15 int wds; /* tristate */
16 } WLan;
17
18 DEFINE_NETDEV_CAST(WLAN, WLan);
19 extern const NetDevVTable wlan_vtable;
20
21 CONFIG_PARSER_PROTOTYPE(config_parse_wiphy);
22 CONFIG_PARSER_PROTOTYPE(config_parse_wlan_iftype);