diff options
author | Bob Copeland <me@bobcopeland.com> | 2018-10-25 22:48:53 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2018-11-09 13:38:29 +0300 |
commit | dbdaee7aa6e61f56aac61b71a7807e76f92cc895 (patch) | |
tree | cfa0018280f5a983d6b77a475349388fc125375f /include/linux/ieee80211.h | |
parent | 4a6ecd35f95b0e29b3470ca16772a1cc89607c97 (diff) | |
download | linux-dbdaee7aa6e61f56aac61b71a7807e76f92cc895.tar.xz |
{nl,mac}80211: report gate connectivity in station info
Capture the current state of gate connectivity from the mesh
formation field in mesh config whenever we receive a beacon,
and report that via GET_STATION. This allows applications
doing mesh peering in userspace to make peering decisions
based on peers' current upstream connectivity.
Signed-off-by: Bob Copeland <bobcopeland@fb.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/linux/ieee80211.h')
-rw-r--r-- | include/linux/ieee80211.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h index 0ef67f837ae1..407d6fd66fa9 100644 --- a/include/linux/ieee80211.h +++ b/include/linux/ieee80211.h @@ -812,6 +812,8 @@ enum mesh_config_capab_flags { IEEE80211_MESHCONF_CAPAB_POWER_SAVE_LEVEL = 0x40, }; +#define IEEE80211_MESHCONF_FORM_CONNECTED_TO_GATE 0x1 + /** * mesh channel switch parameters element's flag indicator * |