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 /net/mac80211/mesh.h | |
parent | cc24163690997c685641d84e77ff6f1c592b06fe (diff) | |
download | lwn-540bbcb930ed2fc9d6a57e0babea00027a7ecc67.tar.gz lwn-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 'net/mac80211/mesh.h')
-rw-r--r-- | net/mac80211/mesh.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/mesh.h b/net/mac80211/mesh.h index cad6592c52a1..8b26858ab4d5 100644 --- a/net/mac80211/mesh.h +++ b/net/mac80211/mesh.h @@ -94,6 +94,7 @@ enum mesh_deferred_task_flags { * @last_preq_to_root: Timestamp of last PREQ sent to root * @is_root: the destination station of this path is a root node * @is_gate: the destination station of this path is a mesh gate + * @path_change_count: the number of path changes to destination * * * The dst address is unique in the mesh path table. Since the mesh_path is @@ -124,6 +125,7 @@ struct mesh_path { unsigned long last_preq_to_root; bool is_root; bool is_gate; + u32 path_change_count; }; /** |