|
@@ -2836,6 +2836,9 @@ enum ieee80211_roc_type {
|
|
* before a channel switch procedure is started (ie. when a STA
|
|
* before a channel switch procedure is started (ie. when a STA
|
|
* gets a CSA or an userspace initiated channel-switch), allowing
|
|
* gets a CSA or an userspace initiated channel-switch), allowing
|
|
* the driver to prepare for the channel switch.
|
|
* the driver to prepare for the channel switch.
|
|
|
|
+ * @post_channel_switch: This is an optional callback that is called
|
|
|
|
+ * after a channel switch procedure is completed, allowing the
|
|
|
|
+ * driver to go back to a normal configuration.
|
|
*
|
|
*
|
|
* @join_ibss: Join an IBSS (on an IBSS interface); this is called after all
|
|
* @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
|
|
* information in bss_conf is set up and the beacon can be retrieved. A
|
|
@@ -3046,6 +3049,9 @@ struct ieee80211_ops {
|
|
struct ieee80211_vif *vif,
|
|
struct ieee80211_vif *vif,
|
|
struct ieee80211_channel_switch *ch_switch);
|
|
struct ieee80211_channel_switch *ch_switch);
|
|
|
|
|
|
|
|
+ int (*post_channel_switch)(struct ieee80211_hw *hw,
|
|
|
|
+ struct ieee80211_vif *vif);
|
|
|
|
+
|
|
int (*join_ibss)(struct ieee80211_hw *hw, struct ieee80211_vif *vif);
|
|
int (*join_ibss)(struct ieee80211_hw *hw, struct ieee80211_vif *vif);
|
|
void (*leave_ibss)(struct ieee80211_hw *hw, struct ieee80211_vif *vif);
|
|
void (*leave_ibss)(struct ieee80211_hw *hw, struct ieee80211_vif *vif);
|
|
u32 (*get_expected_throughput)(struct ieee80211_sta *sta);
|
|
u32 (*get_expected_throughput)(struct ieee80211_sta *sta);
|