aboutsummaryrefslogtreecommitdiffstats
path: root/net/wireless/mlme.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2011-09-16 11:56:23 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-09-19 16:10:14 -0400
commitc9df56b48e4ff003eaebd680ec7a45342dcd03ea (patch)
treeb943ce5010290a4979a1488d791a5e6663db02a4 /net/wireless/mlme.c
parent2981808269941490f209b2db88ae021d7007b39d (diff)
cfg80211/nl80211: Add PMKSA caching candidate event
When the driver (or most likely firmware) decides which AP to use for roaming based on internal scan result processing, user space needs to be notified of PMKSA caching candidates to allow RSN pre-authentication to be used. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/wireless/mlme.c')
-rw-r--r--net/wireless/mlme.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/wireless/mlme.c b/net/wireless/mlme.c
index 832f6574e4e..61adea540e0 100644
--- a/net/wireless/mlme.c
+++ b/net/wireless/mlme.c
@@ -1095,3 +1095,14 @@ void cfg80211_gtk_rekey_notify(struct net_device *dev, const u8 *bssid,
1095 nl80211_gtk_rekey_notify(rdev, dev, bssid, replay_ctr, gfp); 1095 nl80211_gtk_rekey_notify(rdev, dev, bssid, replay_ctr, gfp);
1096} 1096}
1097EXPORT_SYMBOL(cfg80211_gtk_rekey_notify); 1097EXPORT_SYMBOL(cfg80211_gtk_rekey_notify);
1098
1099void cfg80211_pmksa_candidate_notify(struct net_device *dev, int index,
1100 const u8 *bssid, bool preauth, gfp_t gfp)
1101{
1102 struct wireless_dev *wdev = dev->ieee80211_ptr;
1103 struct wiphy *wiphy = wdev->wiphy;
1104 struct cfg80211_registered_device *rdev = wiphy_to_dev(wiphy);
1105
1106 nl80211_pmksa_candidate_notify(rdev, dev, index, bssid, preauth, gfp);
1107}
1108EXPORT_SYMBOL(cfg80211_pmksa_candidate_notify);