|
@@ -2050,6 +2050,18 @@ struct cfg80211_connect_params {
|
|
const u8 *prev_bssid;
|
|
const u8 *prev_bssid;
|
|
};
|
|
};
|
|
|
|
|
|
|
|
+/**
|
|
|
|
+ * enum cfg80211_connect_params_changed - Connection parameters being updated
|
|
|
|
+ *
|
|
|
|
+ * This enum provides information of all connect parameters that
|
|
|
|
+ * have to be updated as part of update_connect_params() call.
|
|
|
|
+ *
|
|
|
|
+ * @UPDATE_ASSOC_IES: Indicates whether association request IEs are updated
|
|
|
|
+ */
|
|
|
|
+enum cfg80211_connect_params_changed {
|
|
|
|
+ UPDATE_ASSOC_IES = BIT(0),
|
|
|
|
+};
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* enum wiphy_params_flags - set_wiphy_params bitfield values
|
|
* enum wiphy_params_flags - set_wiphy_params bitfield values
|
|
* @WIPHY_PARAM_RETRY_SHORT: wiphy->retry_short has changed
|
|
* @WIPHY_PARAM_RETRY_SHORT: wiphy->retry_short has changed
|
|
@@ -2571,6 +2583,14 @@ struct cfg80211_nan_func {
|
|
* cases, the result of roaming is indicated with a call to
|
|
* cases, the result of roaming is indicated with a call to
|
|
* cfg80211_roamed() or cfg80211_roamed_bss().
|
|
* cfg80211_roamed() or cfg80211_roamed_bss().
|
|
* (invoked with the wireless_dev mutex held)
|
|
* (invoked with the wireless_dev mutex held)
|
|
|
|
+ * @update_connect_params: Update the connect parameters while connected to a
|
|
|
|
+ * BSS. The updated parameters can be used by driver/firmware for
|
|
|
|
+ * subsequent BSS selection (roaming) decisions and to form the
|
|
|
|
+ * Authentication/(Re)Association Request frames. This call does not
|
|
|
|
+ * request an immediate disassociation or reassociation with the current
|
|
|
|
+ * BSS, i.e., this impacts only subsequent (re)associations. The bits in
|
|
|
|
+ * changed are defined in &enum cfg80211_connect_params_changed.
|
|
|
|
+ * (invoked with the wireless_dev mutex held)
|
|
* @disconnect: Disconnect from the BSS/ESS or stop connection attempts if
|
|
* @disconnect: Disconnect from the BSS/ESS or stop connection attempts if
|
|
* connection is in progress. Once done, call cfg80211_disconnected() in
|
|
* connection is in progress. Once done, call cfg80211_disconnected() in
|
|
* case connection was already established (invoked with the
|
|
* case connection was already established (invoked with the
|
|
@@ -2858,6 +2878,10 @@ struct cfg80211_ops {
|
|
|
|
|
|
int (*connect)(struct wiphy *wiphy, struct net_device *dev,
|
|
int (*connect)(struct wiphy *wiphy, struct net_device *dev,
|
|
struct cfg80211_connect_params *sme);
|
|
struct cfg80211_connect_params *sme);
|
|
|
|
+ int (*update_connect_params)(struct wiphy *wiphy,
|
|
|
|
+ struct net_device *dev,
|
|
|
|
+ struct cfg80211_connect_params *sme,
|
|
|
|
+ u32 changed);
|
|
int (*disconnect)(struct wiphy *wiphy, struct net_device *dev,
|
|
int (*disconnect)(struct wiphy *wiphy, struct net_device *dev,
|
|
u16 reason_code);
|
|
u16 reason_code);
|
|
|
|
|