diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-08-19 18:48:41 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-10-01 12:17:45 +0200 |
commit | 55fff50113daa178010a38e0dc27172f06d17b8e (patch) | |
tree | 575f7f639ec6746c442a7fd5568df346ebf8ac52 /include/net/mac80211.h | |
parent | 5eb7906b47dcd906b3ffd811e689e0de4a6b1b6a (diff) | |
download | blackbird-op-linux-55fff50113daa178010a38e0dc27172f06d17b8e.tar.gz blackbird-op-linux-55fff50113daa178010a38e0dc27172f06d17b8e.zip |
mac80211: add explicit IBSS driver operations
This can be useful for drivers if they have any failure cases
when joining an IBSS. Also move setting the queue parameters
to before this new call, in case the new driver op needs them
already.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r-- | include/net/mac80211.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index 3411c59b636b..8cff800f7046 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h @@ -2666,6 +2666,10 @@ enum ieee80211_roc_type { * zero using ieee80211_csa_is_complete() after the beacon has been * transmitted and then call ieee80211_csa_finish(). * + * @join_ibss: Join an IBSS (on an IBSS interface); this is called after all + * information in bss_conf is set up and the beacon can be retrieved. A + * channel context is bound before this is called. + * @leave_ibss: Leave the IBSS again. */ struct ieee80211_ops { void (*tx)(struct ieee80211_hw *hw, @@ -2857,6 +2861,9 @@ struct ieee80211_ops { void (*channel_switch_beacon)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct cfg80211_chan_def *chandef); + + int (*join_ibss)(struct ieee80211_hw *hw, struct ieee80211_vif *vif); + void (*leave_ibss)(struct ieee80211_hw *hw, struct ieee80211_vif *vif); }; /** |