]> git.baikalelectronics.ru Git - kernel.git/commit
{nl,mac}80211: report gate connectivity in station info
authorBob Copeland <me@bobcopeland.com>
Thu, 25 Oct 2018 19:48:53 +0000 (15:48 -0400)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 9 Nov 2018 10:38:29 +0000 (11:38 +0100)
commit88ac01779ad1e92cc5fe008b153a21cb5f526b0c
treecfa0018280f5a983d6b77a475349388fc125375f
parent7089a61c6551953591fb27c79a92517159b52645
{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>
include/linux/ieee80211.h
include/net/cfg80211.h
include/uapi/linux/nl80211.h
net/mac80211/mesh_plink.c
net/mac80211/sta_info.c
net/mac80211/sta_info.h
net/wireless/nl80211.c