diff options
author | Johannes Berg <johannes.berg@intel.com> | 2010-06-10 04:21:44 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-06-14 15:39:28 -0400 |
commit | 7c3b1dd8f483bf4bcb9776cd9cd3b37dd327d7ea (patch) | |
tree | b5e42cc6f18b80c1036d0b9e5590d171fa84d074 /net/mac80211/sta_info.h | |
parent | 67c282c00c9c06733aae229662d209957f6d23a7 (diff) |
mac80211: defer RX agg session teardown to work
Since we want the code to be able to sleep
in the future, it must not be called from
the timer directly. To prepare, move it out
into the aggregation work.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/sta_info.h')
-rw-r--r-- | net/mac80211/sta_info.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/mac80211/sta_info.h b/net/mac80211/sta_info.h index 040cbb0ac3af..500bafe0a0bb 100644 --- a/net/mac80211/sta_info.h +++ b/net/mac80211/sta_info.h | |||
@@ -140,10 +140,13 @@ struct tid_ampdu_rx { | |||
140 | * @addba_req_num: number of times addBA request has been sent. | 140 | * @addba_req_num: number of times addBA request has been sent. |
141 | * @dialog_token_allocator: dialog token enumerator for each new session; | 141 | * @dialog_token_allocator: dialog token enumerator for each new session; |
142 | * @work: work struct for starting/stopping aggregation | 142 | * @work: work struct for starting/stopping aggregation |
143 | * @tid_rx_timer_expired: bitmap indicating on which TIDs the | ||
144 | * RX timer expired until the work for it runs | ||
143 | */ | 145 | */ |
144 | struct sta_ampdu_mlme { | 146 | struct sta_ampdu_mlme { |
145 | /* rx */ | 147 | /* rx */ |
146 | struct tid_ampdu_rx *tid_rx[STA_TID_NUM]; | 148 | struct tid_ampdu_rx *tid_rx[STA_TID_NUM]; |
149 | unsigned long tid_rx_timer_expired[BITS_TO_LONGS(STA_TID_NUM)]; | ||
147 | /* tx */ | 150 | /* tx */ |
148 | struct work_struct work; | 151 | struct work_struct work; |
149 | struct tid_ampdu_tx *tid_tx[STA_TID_NUM]; | 152 | struct tid_ampdu_tx *tid_tx[STA_TID_NUM]; |