aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/net
diff options
context:
space:
mode:
authorMarkus Theil <[email protected]>2020-06-11 16:02:38 +0200
committerJohannes Berg <[email protected]>2020-07-31 09:24:24 +0200
commit1303a51c24100b3b1915d6f9072fe5ae5bb4c5f6 (patch)
tree0b6511bc25d2151164b1260ff8bff442a9cbb6ab /include/net
parentcfg80211/mac80211: add connected to auth server to meshconf (diff)
downloadwireguard-linux-1303a51c24100b3b1915d6f9072fe5ae5bb4c5f6.tar.xz
wireguard-linux-1303a51c24100b3b1915d6f9072fe5ae5bb4c5f6.zip
cfg80211/mac80211: add connected to auth server to station info
This patch adds the necessary bits to later query the auth server flag for every peer from iw. Signed-off-by: Markus Theil <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/cfg80211.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index 8d5071f84ffe..39fe21edd2c5 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -1598,6 +1598,7 @@ struct cfg80211_tid_stats {
* an FCS error. This counter should be incremented only when TA of the
* received packet with an FCS error matches the peer MAC address.
* @airtime_link_metric: mesh airtime link metric.
+ * @connected_to_as: true if mesh STA has a path to authentication server
*/
struct station_info {
u64 filled;
@@ -1655,6 +1656,8 @@ struct station_info {
u32 fcs_err_count;
u32 airtime_link_metric;
+
+ u8 connected_to_as;
};
#if IS_ENABLED(CONFIG_CFG80211)
OSZAR »