aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/cfg80211.h
diff options
context:
space:
mode:
authorBob Copeland <me@bobcopeland.com>2018-10-26 10:03:50 -0400
committerJohannes Berg <johannes.berg@intel.com>2018-11-09 11:41:20 +0100
commitecbc12ad6b682680ae26a429225d7c295f7f0e77 (patch)
treecce1fb4e7885a968009126aba631b010d4f14e0e /include/net/cfg80211.h
parent{nl,mac}80211: add dot11MeshConnectedToMeshGate to meshconf (diff)
downloadlinux-dev-ecbc12ad6b682680ae26a429225d7c295f7f0e77.tar.xz
linux-dev-ecbc12ad6b682680ae26a429225d7c295f7f0e77.zip
{nl,mac}80211: add rssi to mesh candidates
When peering is in userspace, some implementations may want to control which peers are accepted based on RSSI in addition to the information elements being sent today. Add signal level so that info is available to clients. Signed-off-by: Bob Copeland <bobcopeland@fb.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r--include/net/cfg80211.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index 16d595b93ba3..ede7fcd68348 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -5574,7 +5574,8 @@ void cfg80211_ibss_joined(struct net_device *dev, const u8 *bssid,
* cfg80211 then sends a notification to userspace.
*/
void cfg80211_notify_new_peer_candidate(struct net_device *dev,
- const u8 *macaddr, const u8 *ie, u8 ie_len, gfp_t gfp);
+ const u8 *macaddr, const u8 *ie, u8 ie_len,
+ int sig_dbm, gfp_t gfp);
/**
* DOC: RFkill integration