diff options
author | Jouni Malinen <jouni@qca.qualcomm.com> | 2016-03-29 13:53:27 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2016-04-06 13:18:21 +0200 |
commit | ba6fbacf9c073effaedf0c52fe7e52e2baf67725 (patch) | |
tree | da2e9996144ba0b3cfd96caf173d8690b9eee672 /include/net/cfg80211.h | |
parent | 918fe04b288b3784f4ca90d3dff12fc23dc2751f (diff) | |
download | linux-ba6fbacf9c073effaedf0c52fe7e52e2baf67725.tar.gz linux-ba6fbacf9c073effaedf0c52fe7e52e2baf67725.tar.bz2 linux-ba6fbacf9c073effaedf0c52fe7e52e2baf67725.zip |
cfg80211: Add option to specify previous BSSID for Connect command
This extends NL80211_CMD_CONNECT to allow the NL80211_ATTR_PREV_BSSID
attribute to be used similarly to way this was already allowed with
NL80211_CMD_ASSOCIATE. This allows user space to request reassociation
(instead of association) when already connected to an AP. This provides
an option to reassociate within an ESS without having to disconnect and
associate with the AP.
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r-- | include/net/cfg80211.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 568c10f6d564..b39277eb251f 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h @@ -1925,6 +1925,7 @@ struct cfg80211_bss_selection { * @pbss: if set, connect to a PCP instead of AP. Valid for DMG * networks. * @bss_select: criteria to be used for BSS selection. + * @prev_bssid: previous BSSID, if not %NULL use reassociate frame */ struct cfg80211_connect_params { struct ieee80211_channel *channel; @@ -1949,6 +1950,7 @@ struct cfg80211_connect_params { struct ieee80211_vht_cap vht_capa_mask; bool pbss; struct cfg80211_bss_selection bss_select; + const u8 *prev_bssid; }; /** |