OSDN Git Service

{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)
commitdbdaee7aa6e61f56aac61b71a7807e76f92cc895
treecfa0018280f5a983d6b77a475349388fc125375f
parent4a6ecd35f95b0e29b3470ca16772a1cc89607c97
{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