diff options
author | Julan Hsu <julanhsu@google.com> | 2019-01-15 15:28:43 -0800 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2019-01-19 09:55:20 +0100 |
commit | 540bbcb930ed2fc9d6a57e0babea00027a7ecc67 (patch) | |
tree | 066259e3b21d5210501a7e918385e8aba47956e6 /include/net/cfg80211.h | |
parent | cc24163690997c685641d84e77ff6f1c592b06fe (diff) | |
download | linux-stable-540bbcb930ed2fc9d6a57e0babea00027a7ecc67.tar.gz linux-stable-540bbcb930ed2fc9d6a57e0babea00027a7ecc67.tar.bz2 linux-stable-540bbcb930ed2fc9d6a57e0babea00027a7ecc67.zip |
nl80211/mac80211: mesh: add mesh path change count to mpath info
Expose path change count to destination in mpath info
Signed-off-by: Julan Hsu <julanhsu@google.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r-- | include/net/cfg80211.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 37816786d3e1..9c1d7979c200 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h @@ -1439,7 +1439,8 @@ enum mpath_info_flags { MPATH_INFO_DISCOVERY_TIMEOUT = BIT(4), MPATH_INFO_DISCOVERY_RETRIES = BIT(5), MPATH_INFO_FLAGS = BIT(6), - MPATH_INFO_HOP_COUNT = BIT(7) + MPATH_INFO_HOP_COUNT = BIT(7), + MPATH_INFO_PATH_CHANGE = BIT(8), }; /** @@ -1460,6 +1461,7 @@ enum mpath_info_flags { * changes, i.e. when a station is added or removed, so that * userspace can tell whether it got a consistent snapshot. * @hop_count: hops to destination + * @path_change_count: total number of path changes to destination */ struct mpath_info { u32 filled; @@ -1471,6 +1473,7 @@ struct mpath_info { u8 discovery_retries; u8 flags; u8 hop_count; + u32 path_change_count; int generation; }; |