diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-11-06 19:18:13 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-11-09 17:34:35 +0100 |
commit | 9214ad7f9a0bfbfb2c204305e7391ce8b7fe4d29 (patch) | |
tree | d2f9154097739a3c9656920daf2b54f2c4dbde68 /include/net/mac80211.h | |
parent | 60762cbfebafe41425e39d32efc07f260d4a100c (diff) | |
download | op-kernel-dev-9214ad7f9a0bfbfb2c204305e7391ce8b7fe4d29.zip op-kernel-dev-9214ad7f9a0bfbfb2c204305e7391ce8b7fe4d29.tar.gz |
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/mac80211.h')
-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 23803ad..e1d8309 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h @@ -2400,6 +2400,10 @@ enum ieee80211_rate_control_changed { * just "paused" for scanning/ROC, which is indicated by the beacon being * disabled/enabled via @bss_info_changed. * @stop_ap: Stop operation on the AP interface. + * + * @restart_complete: Called after a call to ieee80211_restart_hw(), when the + * reconfiguration has completed. This can help the driver implement the + * reconfiguration step. This callback may sleep. */ struct ieee80211_ops { void (*tx)(struct ieee80211_hw *hw, @@ -2561,6 +2565,8 @@ struct ieee80211_ops { void (*unassign_vif_chanctx)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_chanctx_conf *ctx); + + void (*restart_complete)(struct ieee80211_hw *hw); }; /** |