diff options
Diffstat (limited to 'net/mac80211/sta_info.h')
-rw-r--r-- | net/mac80211/sta_info.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/net/mac80211/sta_info.h b/net/mac80211/sta_info.h index c6ae8718bd5..28beb78e601 100644 --- a/net/mac80211/sta_info.h +++ b/net/mac80211/sta_info.h | |||
@@ -158,6 +158,8 @@ struct tid_ampdu_rx { | |||
158 | * @work: work struct for starting/stopping aggregation | 158 | * @work: work struct for starting/stopping aggregation |
159 | * @tid_rx_timer_expired: bitmap indicating on which TIDs the | 159 | * @tid_rx_timer_expired: bitmap indicating on which TIDs the |
160 | * RX timer expired until the work for it runs | 160 | * RX timer expired until the work for it runs |
161 | * @tid_rx_stop_requested: bitmap indicating which BA sessions per TID the | ||
162 | * driver requested to close until the work for it runs | ||
161 | * @mtx: mutex to protect all TX data (except non-NULL assignments | 163 | * @mtx: mutex to protect all TX data (except non-NULL assignments |
162 | * to tid_tx[idx], which are protected by the sta spinlock) | 164 | * to tid_tx[idx], which are protected by the sta spinlock) |
163 | */ | 165 | */ |
@@ -166,6 +168,7 @@ struct sta_ampdu_mlme { | |||
166 | /* rx */ | 168 | /* rx */ |
167 | struct tid_ampdu_rx __rcu *tid_rx[STA_TID_NUM]; | 169 | struct tid_ampdu_rx __rcu *tid_rx[STA_TID_NUM]; |
168 | unsigned long tid_rx_timer_expired[BITS_TO_LONGS(STA_TID_NUM)]; | 170 | unsigned long tid_rx_timer_expired[BITS_TO_LONGS(STA_TID_NUM)]; |
171 | unsigned long tid_rx_stop_requested[BITS_TO_LONGS(STA_TID_NUM)]; | ||
169 | /* tx */ | 172 | /* tx */ |
170 | struct work_struct work; | 173 | struct work_struct work; |
171 | struct tid_ampdu_tx __rcu *tid_tx[STA_TID_NUM]; | 174 | struct tid_ampdu_tx __rcu *tid_tx[STA_TID_NUM]; |
@@ -284,7 +287,8 @@ struct sta_info { | |||
284 | unsigned long rx_dropped; | 287 | unsigned long rx_dropped; |
285 | int last_signal; | 288 | int last_signal; |
286 | struct ewma avg_signal; | 289 | struct ewma avg_signal; |
287 | __le16 last_seq_ctrl[NUM_RX_DATA_QUEUES]; | 290 | /* Plus 1 for non-QoS frames */ |
291 | __le16 last_seq_ctrl[NUM_RX_DATA_QUEUES + 1]; | ||
288 | 292 | ||
289 | /* Updated from TX status path only, no locking requirements */ | 293 | /* Updated from TX status path only, no locking requirements */ |
290 | unsigned long tx_filtered_count; | 294 | unsigned long tx_filtered_count; |