diff options
author | Bob Copeland | 2018-10-25 21:48:53 +0200 |
---|---|---|
committer | Johannes Berg | 2018-11-09 11:38:29 +0100 |
commit | dbdaee7aa6e61f56aac61b71a7807e76f92cc895 (patch) | |
tree | cfa0018280f5a983d6b77a475349388fc125375f /include/linux/ieee80211.h | |
parent | mac80211: mesh: advertise gates in mesh formation (diff) | |
download | kernel-qcow2-linux-dbdaee7aa6e61f56aac61b71a7807e76f92cc895.tar.gz kernel-qcow2-linux-dbdaee7aa6e61f56aac61b71a7807e76f92cc895.tar.xz kernel-qcow2-linux-dbdaee7aa6e61f56aac61b71a7807e76f92cc895.zip |
{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 * |