diff options
Diffstat (limited to 'net/mac80211/sta_info.h')
| -rw-r--r-- | net/mac80211/sta_info.h | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/net/mac80211/sta_info.h b/net/mac80211/sta_info.h index 822d84522937..df9d45544ca5 100644 --- a/net/mac80211/sta_info.h +++ b/net/mac80211/sta_info.h | |||
| @@ -35,8 +35,8 @@ | |||
| 35 | * IEEE80211_TX_CTL_CLEAR_PS_FILT control flag) when the next | 35 | * IEEE80211_TX_CTL_CLEAR_PS_FILT control flag) when the next |
| 36 | * frame to this station is transmitted. | 36 | * frame to this station is transmitted. |
| 37 | * @WLAN_STA_MFP: Management frame protection is used with this STA. | 37 | * @WLAN_STA_MFP: Management frame protection is used with this STA. |
| 38 | * @WLAN_STA_SUSPEND: Set/cleared during a suspend/resume cycle. | 38 | * @WLAN_STA_BLOCK_BA: Used to deny ADDBA requests (both TX and RX) |
| 39 | * Used to deny ADDBA requests (both TX and RX). | 39 | * during suspend/resume and station removal. |
| 40 | * @WLAN_STA_PS_DRIVER: driver requires keeping this station in | 40 | * @WLAN_STA_PS_DRIVER: driver requires keeping this station in |
| 41 | * power-save mode logically to flush frames that might still | 41 | * power-save mode logically to flush frames that might still |
| 42 | * be in the queues | 42 | * be in the queues |
| @@ -57,7 +57,7 @@ enum ieee80211_sta_info_flags { | |||
| 57 | WLAN_STA_WDS = 1<<7, | 57 | WLAN_STA_WDS = 1<<7, |
| 58 | WLAN_STA_CLEAR_PS_FILT = 1<<9, | 58 | WLAN_STA_CLEAR_PS_FILT = 1<<9, |
| 59 | WLAN_STA_MFP = 1<<10, | 59 | WLAN_STA_MFP = 1<<10, |
| 60 | WLAN_STA_SUSPEND = 1<<11, | 60 | WLAN_STA_BLOCK_BA = 1<<11, |
| 61 | WLAN_STA_PS_DRIVER = 1<<12, | 61 | WLAN_STA_PS_DRIVER = 1<<12, |
| 62 | WLAN_STA_PSPOLL = 1<<13, | 62 | WLAN_STA_PSPOLL = 1<<13, |
| 63 | WLAN_STA_DISASSOC = 1<<14, | 63 | WLAN_STA_DISASSOC = 1<<14, |
| @@ -106,7 +106,6 @@ struct tid_ampdu_tx { | |||
| 106 | * @buf_size: buffer size for incoming A-MPDUs | 106 | * @buf_size: buffer size for incoming A-MPDUs |
| 107 | * @timeout: reset timer value (in TUs). | 107 | * @timeout: reset timer value (in TUs). |
| 108 | * @dialog_token: dialog token for aggregation session | 108 | * @dialog_token: dialog token for aggregation session |
| 109 | * @shutdown: this session is being shut down due to STA removal | ||
| 110 | */ | 109 | */ |
| 111 | struct tid_ampdu_rx { | 110 | struct tid_ampdu_rx { |
| 112 | struct sk_buff **reorder_buf; | 111 | struct sk_buff **reorder_buf; |
| @@ -118,7 +117,6 @@ struct tid_ampdu_rx { | |||
| 118 | u16 buf_size; | 117 | u16 buf_size; |
| 119 | u16 timeout; | 118 | u16 timeout; |
| 120 | u8 dialog_token; | 119 | u8 dialog_token; |
| 121 | bool shutdown; | ||
| 122 | }; | 120 | }; |
| 123 | 121 | ||
| 124 | /** | 122 | /** |
| @@ -147,7 +145,7 @@ enum plink_state { | |||
| 147 | /** | 145 | /** |
| 148 | * struct sta_ampdu_mlme - STA aggregation information. | 146 | * struct sta_ampdu_mlme - STA aggregation information. |
| 149 | * | 147 | * |
| 150 | * @tid_state_rx: TID's state in Rx session state machine. | 148 | * @tid_active_rx: TID's state in Rx session state machine. |
| 151 | * @tid_rx: aggregation info for Rx per TID | 149 | * @tid_rx: aggregation info for Rx per TID |
| 152 | * @tid_state_tx: TID's state in Tx session state machine. | 150 | * @tid_state_tx: TID's state in Tx session state machine. |
| 153 | * @tid_tx: aggregation info for Tx per TID | 151 | * @tid_tx: aggregation info for Tx per TID |
| @@ -156,7 +154,7 @@ enum plink_state { | |||
| 156 | */ | 154 | */ |
| 157 | struct sta_ampdu_mlme { | 155 | struct sta_ampdu_mlme { |
| 158 | /* rx */ | 156 | /* rx */ |
| 159 | u8 tid_state_rx[STA_TID_NUM]; | 157 | bool tid_active_rx[STA_TID_NUM]; |
| 160 | struct tid_ampdu_rx *tid_rx[STA_TID_NUM]; | 158 | struct tid_ampdu_rx *tid_rx[STA_TID_NUM]; |
| 161 | /* tx */ | 159 | /* tx */ |
| 162 | u8 tid_state_tx[STA_TID_NUM]; | 160 | u8 tid_state_tx[STA_TID_NUM]; |
| @@ -200,7 +198,6 @@ struct sta_ampdu_mlme { | |||
| 200 | * @rx_fragments: number of received MPDUs | 198 | * @rx_fragments: number of received MPDUs |
| 201 | * @rx_dropped: number of dropped MPDUs from this STA | 199 | * @rx_dropped: number of dropped MPDUs from this STA |
| 202 | * @last_signal: signal of last received frame from this STA | 200 | * @last_signal: signal of last received frame from this STA |
| 203 | * @last_noise: noise of last received frame from this STA | ||
| 204 | * @last_seq_ctrl: last received seq/frag number from this STA (per RX queue) | 201 | * @last_seq_ctrl: last received seq/frag number from this STA (per RX queue) |
| 205 | * @tx_filtered_count: number of frames the hardware filtered for this STA | 202 | * @tx_filtered_count: number of frames the hardware filtered for this STA |
| 206 | * @tx_retry_failed: number of frames that failed retry | 203 | * @tx_retry_failed: number of frames that failed retry |
| @@ -267,7 +264,6 @@ struct sta_info { | |||
| 267 | unsigned long rx_fragments; | 264 | unsigned long rx_fragments; |
| 268 | unsigned long rx_dropped; | 265 | unsigned long rx_dropped; |
| 269 | int last_signal; | 266 | int last_signal; |
| 270 | int last_noise; | ||
| 271 | __le16 last_seq_ctrl[NUM_RX_DATA_QUEUES]; | 267 | __le16 last_seq_ctrl[NUM_RX_DATA_QUEUES]; |
| 272 | 268 | ||
| 273 | /* Updated from TX status path only, no locking requirements */ | 269 | /* Updated from TX status path only, no locking requirements */ |
