aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorArend Van Spriel <arend.vanspriel@broadcom.com>2018-05-22 04:19:07 -0400
committerJohannes Berg <johannes.berg@intel.com>2018-05-23 05:19:02 -0400
commite841b7b11ebd0b359e07bb3d7caf15dca1a80b72 (patch)
treec4e9001a7a563e6047fe36c130db9ad0515065fa /include
parent76804d28c32ec14e1fdb3981623e5b7a4bc1c739 (diff)
nl80211: add FILS related parameters to ROAM event
In case of FILS shared key offload the parameters can change upon roaming of which user-space needs to be notified. Reviewed-by: Jithu Jance <jithu.jance@broadcom.com> Reviewed-by: Eylon Pedinovsky <eylon.pedinovsky@broadcom.com> Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/net/cfg80211.h2
-rw-r--r--include/uapi/linux/nl80211.h3
2 files changed, 4 insertions, 1 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index 0e4a2a04d55d..1e7c0df4fe33 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -5624,6 +5624,7 @@ cfg80211_connect_timeout(struct net_device *dev, const u8 *bssid,
5624 * @req_ie_len: association request IEs length 5624 * @req_ie_len: association request IEs length
5625 * @resp_ie: association response IEs (may be %NULL) 5625 * @resp_ie: association response IEs (may be %NULL)
5626 * @resp_ie_len: assoc response IEs length 5626 * @resp_ie_len: assoc response IEs length
5627 * @fils: FILS related roaming information.
5627 */ 5628 */
5628struct cfg80211_roam_info { 5629struct cfg80211_roam_info {
5629 struct ieee80211_channel *channel; 5630 struct ieee80211_channel *channel;
@@ -5633,6 +5634,7 @@ struct cfg80211_roam_info {
5633 size_t req_ie_len; 5634 size_t req_ie_len;
5634 const u8 *resp_ie; 5635 const u8 *resp_ie;
5635 size_t resp_ie_len; 5636 size_t resp_ie_len;
5637 struct cfg80211_fils_resp_params fils;
5636}; 5638};
5637 5639
5638/** 5640/**
diff --git a/include/uapi/linux/nl80211.h b/include/uapi/linux/nl80211.h
index 83ed1dd757e6..0a412335d56b 100644
--- a/include/uapi/linux/nl80211.h
+++ b/include/uapi/linux/nl80211.h
@@ -215,7 +215,8 @@
215 * as specified in IETF RFC 6696. 215 * as specified in IETF RFC 6696.
216 * 216 *
217 * When FILS shared key authentication is completed, driver needs to provide the 217 * When FILS shared key authentication is completed, driver needs to provide the
218 * below additional parameters to userspace. 218 * below additional parameters to userspace, which can be either after setting
219 * up a connection or after roaming.
219 * %NL80211_ATTR_FILS_KEK - used for key renewal 220 * %NL80211_ATTR_FILS_KEK - used for key renewal
220 * %NL80211_ATTR_FILS_ERP_NEXT_SEQ_NUM - used in further EAP-RP exchanges 221 * %NL80211_ATTR_FILS_ERP_NEXT_SEQ_NUM - used in further EAP-RP exchanges
221 * %NL80211_ATTR_PMKID - used to identify the PMKSA used/generated 222 * %NL80211_ATTR_PMKID - used to identify the PMKSA used/generated