nl80211: New notification to discover mesh peer candidates.
Notify userspace when a beacon/presp is received from a suitable mesh peer candidate for whom no sta information exists. Userspace can then decide to create a sta info for the candidate. If userspace is not ready to authenticate the peer right away, it can create the sta info with the authenticated flag unset and set it later. Signed-off-by: Javier Cardona <javier@cozybit.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
96b78dff03
commit
c93b5e717e
@@ -2488,6 +2488,22 @@ void cfg80211_michael_mic_failure(struct net_device *dev, const u8 *addr,
|
||||
*/
|
||||
void cfg80211_ibss_joined(struct net_device *dev, const u8 *bssid, gfp_t gfp);
|
||||
|
||||
/**
|
||||
* cfg80211_notify_new_candidate - notify cfg80211 of a new mesh peer candidate
|
||||
*
|
||||
* @dev: network device
|
||||
* @macaddr: the MAC address of the new candidate
|
||||
* @ie: information elements advertised by the peer candidate
|
||||
* @ie_len: lenght of the information elements buffer
|
||||
* @gfp: allocation flags
|
||||
*
|
||||
* This function notifies cfg80211 that the mesh peer candidate has been
|
||||
* detected, most likely via a beacon or, less likely, via a probe response.
|
||||
* 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);
|
||||
|
||||
/**
|
||||
* DOC: RFkill integration
|
||||
*
|
||||
|
Reference in New Issue
Block a user