@@ -6183,6 +6183,35 @@ void cfg80211_nan_func_terminated(struct wireless_dev
*wdev,
enum nl80211_nan_func_term_reason reason,
u64 cookie, gfp_t gfp);
+/**
+ * cfg80211_ft_auth - notify cfg80211 of FT authentication request
+ *
+ * @dev: network device
+ * @req: information about the authentication request
+ *
+ * This function is called by the driver when it receives FT Authentication
+ * frame in AP mode. This is used only with SME-in-device drivers.
+ * req should provide information about the Authentication frame which will
be
+ * forwarded to userspace.
+ */
+void cfg80211_ft_auth(struct net_device *dev,
+ struct cfg80211_auth_request *req);
+
+/**
+ * cfg80211_ft_reassoc - notify cfg80211 of FT reassociation request
+ *
+ * @dev: network device
+ * @reassoc_data: Reassociation frame
+ * @reassoc_data_len: Reassociation frame length
+ *
+ * This function is called by the driver when it receives FT Reassociation
+ * frame in AP mode. This is used only with SME-in-device drivers.
+ * reassoc_data contains the Reassociation frame which will be forwarded to
+ * userspace.
+ */
+void cfg80211_ft_reassoc(struct net_device *dev,
+ const u8 *reassoc_data, size_t reassoc_data_len);
+
/* ethtool helper */
void cfg80211_get_drvinfo(struct net_device *dev, struct ethtool_drvinfo
*info);
@@ -496,6 +496,20 @@
* case the %NL80211_ATTR_FRAME attribute is replaced with a
* %NL80211_ATTR_TIMED_OUT flag (and %NL80211_ATTR_MAC to indicate
which
* pending authentication timed out).
+ * In AP mode, this is used for FT roaming when driver has AP SME, as
an
+ * authentication indication and response.
+ * When used as an event, this reports reception of an Authentication
+ * frame from a STA requesting authentication (i.e.
+ * MLME-AUTHENTICATE.indication). %NL80211_ATTR_MAC is used to specify
+ * PeerSTAAddress. %NL80211_ATTR_FRAME attribute contains the
management
+ * frame.
+ * When used as a command, it indicates whether authentication is
+ * successful. WLAN driver should send authentication response to the
+ * authenticating STA (i.e. MLME-AUTHENTICATE.response).
%NL80211_ATTR_MAC
+ * is used to specify PeerSTAAddress. %NL80211_ATTR_STATUS_CODE is used
to
+ * indicate success or failure. %NL80211_ATTR_IE contains FT