diff options
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r-- | include/net/mac80211.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index 8ff3d8a1377c..ea2c8c36477c 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h | |||
@@ -3024,6 +3024,29 @@ void ieee80211_beacon_loss(struct ieee80211_vif *vif); | |||
3024 | void ieee80211_connection_loss(struct ieee80211_vif *vif); | 3024 | void ieee80211_connection_loss(struct ieee80211_vif *vif); |
3025 | 3025 | ||
3026 | /** | 3026 | /** |
3027 | * ieee80211_resume_disconnect - disconnect from AP after resume | ||
3028 | * | ||
3029 | * @vif: &struct ieee80211_vif pointer from the add_interface callback. | ||
3030 | * | ||
3031 | * Instructs mac80211 to disconnect from the AP after resume. | ||
3032 | * Drivers can use this after WoWLAN if they know that the | ||
3033 | * connection cannot be kept up, for example because keys were | ||
3034 | * used while the device was asleep but the replay counters or | ||
3035 | * similar cannot be retrieved from the device during resume. | ||
3036 | * | ||
3037 | * Note that due to implementation issues, if the driver uses | ||
3038 | * the reconfiguration functionality during resume the interface | ||
3039 | * will still be added as associated first during resume and then | ||
3040 | * disconnect normally later. | ||
3041 | * | ||
3042 | * This function can only be called from the resume callback and | ||
3043 | * the driver must not be holding any of its own locks while it | ||
3044 | * calls this function, or at least not any locks it needs in the | ||
3045 | * key configuration paths (if it supports HW crypto). | ||
3046 | */ | ||
3047 | void ieee80211_resume_disconnect(struct ieee80211_vif *vif); | ||
3048 | |||
3049 | /** | ||
3027 | * ieee80211_disable_dyn_ps - force mac80211 to temporarily disable dynamic psm | 3050 | * ieee80211_disable_dyn_ps - force mac80211 to temporarily disable dynamic psm |
3028 | * | 3051 | * |
3029 | * @vif: &struct ieee80211_vif pointer from the add_interface callback. | 3052 | * @vif: &struct ieee80211_vif pointer from the add_interface callback. |