diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-11-06 13:18:13 -0500 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-11-09 11:34:35 -0500 |
commit | 9214ad7f9a0bfbfb2c204305e7391ce8b7fe4d29 (patch) | |
tree | d2f9154097739a3c9656920daf2b54f2c4dbde68 /include/net | |
parent | 60762cbfebafe41425e39d32efc07f260d4a100c (diff) |
mac80211: call driver method when restart completes
When the driver requests a restart (reconfiguration) it
gets all the normal method calls, but can't really tell
why they're happening. Call a new restart_complete op
in the driver when the restart completes, so it could
keep its own state about the restart and clear it there.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/mac80211.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index 23803addca3c..e1d830992319 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h | |||
@@ -2400,6 +2400,10 @@ enum ieee80211_rate_control_changed { | |||
2400 | * just "paused" for scanning/ROC, which is indicated by the beacon being | 2400 | * just "paused" for scanning/ROC, which is indicated by the beacon being |
2401 | * disabled/enabled via @bss_info_changed. | 2401 | * disabled/enabled via @bss_info_changed. |
2402 | * @stop_ap: Stop operation on the AP interface. | 2402 | * @stop_ap: Stop operation on the AP interface. |
2403 | * | ||
2404 | * @restart_complete: Called after a call to ieee80211_restart_hw(), when the | ||
2405 | * reconfiguration has completed. This can help the driver implement the | ||
2406 | * reconfiguration step. This callback may sleep. | ||
2403 | */ | 2407 | */ |
2404 | struct ieee80211_ops { | 2408 | struct ieee80211_ops { |
2405 | void (*tx)(struct ieee80211_hw *hw, | 2409 | void (*tx)(struct ieee80211_hw *hw, |
@@ -2561,6 +2565,8 @@ struct ieee80211_ops { | |||
2561 | void (*unassign_vif_chanctx)(struct ieee80211_hw *hw, | 2565 | void (*unassign_vif_chanctx)(struct ieee80211_hw *hw, |
2562 | struct ieee80211_vif *vif, | 2566 | struct ieee80211_vif *vif, |
2563 | struct ieee80211_chanctx_conf *ctx); | 2567 | struct ieee80211_chanctx_conf *ctx); |
2568 | |||
2569 | void (*restart_complete)(struct ieee80211_hw *hw); | ||
2564 | }; | 2570 | }; |
2565 | 2571 | ||
2566 | /** | 2572 | /** |