]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: mesh: advertise gates in mesh formation
authorBob Copeland <me@bobcopeland.com>
Thu, 25 Oct 2018 19:48:52 +0000 (15:48 -0400)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 9 Nov 2018 10:38:11 +0000 (11:38 +0100)
commit7089a61c6551953591fb27c79a92517159b52645
tree2c514eb9bdb2cdea5cf9506f120286784771e805
parent0fc0fc4d392462dc800bc3006ede05e6013654fa
mac80211: mesh: advertise gates in mesh formation

The Connected to Mesh Gate subfield (802.11-2016 9.4.2.98.7) in the Mesh
Formation Info field is currently unset.  This field may be useful in
determining which MBSSes to join or which mesh STAs to peer with.

If this mesh STA is a gate, by having turned on mesh gate announcements,
or if we have a path to one (e.g. by having received RANNs) then set this
bit to 1.

Signed-off-by: Bob Copeland <bobcopeland@fb.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mesh.c