aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2011-09-16 18:56:23 +0300
committerZiyan <jaraidaniel@gmail.com>2016-03-11 15:57:25 +0100
commitdd79d0b173995db37d7eb4878bcbed7e41bd15ad (patch)
treea71dd4a6b4fd2f38cbc18e167d4b33c54cce2ca2 /include/net
parentf6b3891d66aafc80fc7969aec61a8c5d045b9751 (diff)
downloadkernel_samsung_espresso10-dd79d0b173995db37d7eb4878bcbed7e41bd15ad.zip
kernel_samsung_espresso10-dd79d0b173995db37d7eb4878bcbed7e41bd15ad.tar.gz
kernel_samsung_espresso10-dd79d0b173995db37d7eb4878bcbed7e41bd15ad.tar.bz2
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> Conflicts: include/linux/nl80211.h Change-Id: I31aa113747b75f5f35658b857fdfe8d9a75e4534
Diffstat (limited to 'include/net')
-rw-r--r--include/net/cfg80211.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index 66886ac..9355b6a 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -3089,6 +3089,17 @@ void cfg80211_cqm_pktloss_notify(struct net_device *dev,
void cfg80211_gtk_rekey_notify(struct net_device *dev, const u8 *bssid,
const u8 *replay_ctr, gfp_t gfp);
+/**
+ * cfg80211_pmksa_candidate_notify - notify about PMKSA caching candidate
+ * @dev: network device
+ * @index: candidate index (the smaller the index, the higher the priority)
+ * @bssid: BSSID of AP
+ * @preauth: Whether AP advertises support for RSN pre-authentication
+ * @gfp: allocation flags
+ */
+void cfg80211_pmksa_candidate_notify(struct net_device *dev, int index,
+ const u8 *bssid, bool preauth, gfp_t gfp);
+
/* Logging, debugging and troubleshooting/diagnostic helpers. */
/* wiphy_printk helpers, similar to dev_printk */