aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/sta_info.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/sta_info.h')
-rw-r--r--net/mac80211/sta_info.h45
1 files changed, 22 insertions, 23 deletions
diff --git a/net/mac80211/sta_info.h b/net/mac80211/sta_info.h
index 168a39a298bd..dc2606d0ae77 100644
--- a/net/mac80211/sta_info.h
+++ b/net/mac80211/sta_info.h
@@ -160,18 +160,17 @@ struct sta_ampdu_mlme {
160 * @list: global linked list entry 160 * @list: global linked list entry
161 * @hnext: hash table linked list pointer 161 * @hnext: hash table linked list pointer
162 * @local: pointer to the global information 162 * @local: pointer to the global information
163 * @sdata: TBD 163 * @sdata: virtual interface this station belongs to
164 * @key: TBD 164 * @key: peer key negotiated with this station, if any
165 * @rate_ctrl: TBD 165 * @rate_ctrl: rate control algorithm reference
166 * @rate_ctrl_priv: TBD 166 * @rate_ctrl_priv: rate control private per-STA pointer
167 * @last_tx_rate: rate used for last transmit, to report to userspace as
168 * "the" transmit rate
167 * @lock: used for locking all fields that require locking, see comments 169 * @lock: used for locking all fields that require locking, see comments
168 * in the header file. 170 * in the header file.
169 * @flaglock: spinlock for flags accesses 171 * @flaglock: spinlock for flags accesses
170 * @addr: MAC address of this STA 172 * @listen_interval: listen interval of this station, when we're acting as AP
171 * @aid: STA's unique AID (1..2007, 0 = not assigned yet), 173 * @pin_status: used internally for pinning a STA struct into memory
172 * only used in AP (and IBSS?) mode
173 * @listen_interval: TBD
174 * @pin_status: TBD
175 * @flags: STA flags, see &enum ieee80211_sta_info_flags 174 * @flags: STA flags, see &enum ieee80211_sta_info_flags
176 * @ps_tx_buf: buffer of frames to transmit to this station 175 * @ps_tx_buf: buffer of frames to transmit to this station
177 * when it leaves power saving state 176 * when it leaves power saving state
@@ -180,8 +179,8 @@ struct sta_ampdu_mlme {
180 * power saving state 179 * power saving state
181 * @rx_packets: Number of MSDUs received from this STA 180 * @rx_packets: Number of MSDUs received from this STA
182 * @rx_bytes: Number of bytes received from this STA 181 * @rx_bytes: Number of bytes received from this STA
183 * @wep_weak_iv_count: TBD 182 * @wep_weak_iv_count: number of weak WEP IVs received from this station
184 * @last_rx: TBD 183 * @last_rx: time (in jiffies) when last frame was received from this STA
185 * @num_duplicates: number of duplicate frames received from this STA 184 * @num_duplicates: number of duplicate frames received from this STA
186 * @rx_fragments: number of received MPDUs 185 * @rx_fragments: number of received MPDUs
187 * @rx_dropped: number of dropped MPDUs from this STA 186 * @rx_dropped: number of dropped MPDUs from this STA
@@ -189,26 +188,26 @@ struct sta_ampdu_mlme {
189 * @last_qual: qual of last received frame from this STA 188 * @last_qual: qual of last received frame from this STA
190 * @last_noise: noise of last received frame from this STA 189 * @last_noise: noise of last received frame from this STA
191 * @last_seq_ctrl: last received seq/frag number from this STA (per RX queue) 190 * @last_seq_ctrl: last received seq/frag number from this STA (per RX queue)
192 * @tx_filtered_count: TBD 191 * @tx_filtered_count: number of frames the hardware filtered for this STA
193 * @tx_retry_failed: TBD 192 * @tx_retry_failed: number of frames that failed retry
194 * @tx_retry_count: TBD 193 * @tx_retry_count: total number of retries for frames to this STA
195 * @fail_avg: moving percentage of failed MSDUs 194 * @fail_avg: moving percentage of failed MSDUs
196 * @tx_packets: number of RX/TX MSDUs 195 * @tx_packets: number of RX/TX MSDUs
197 * @tx_bytes: TBD 196 * @tx_bytes: number of bytes transmitted to this STA
198 * @tx_fragments: number of transmitted MPDUs 197 * @tx_fragments: number of transmitted MPDUs
199 * @last_txrate_idx: Index of the last used transmit rate 198 * @last_txrate: description of the last used transmit rate
200 * @tid_seq: TBD 199 * @tid_seq: per-TID sequence numbers for sending to this STA
201 * @ampdu_mlme: TBD 200 * @ampdu_mlme: A-MPDU state machine state
202 * @timer_to_tid: identity mapping to ID timers 201 * @timer_to_tid: identity mapping to ID timers
203 * @tid_to_tx_q: map tid to tx queue 202 * @tid_to_tx_q: map tid to tx queue
204 * @llid: Local link ID 203 * @llid: Local link ID
205 * @plid: Peer link ID 204 * @plid: Peer link ID
206 * @reason: Cancel reason on PLINK_HOLDING state 205 * @reason: Cancel reason on PLINK_HOLDING state
207 * @plink_retries: Retries in establishment 206 * @plink_retries: Retries in establishment
208 * @ignore_plink_timer: TBD 207 * @ignore_plink_timer: ignore the peer-link timer (used internally)
209 * @plink_state plink_state: TBD 208 * @plink_state: peer link state
210 * @plink_timeout: TBD 209 * @plink_timeout: timeout of peer link
211 * @plink_timer: TBD 210 * @plink_timer: peer link watch timer
212 * @debugfs: debug filesystem info 211 * @debugfs: debug filesystem info
213 * @sta: station information we share with the driver 212 * @sta: station information we share with the driver
214 */ 213 */
@@ -267,7 +266,7 @@ struct sta_info {
267 unsigned long tx_packets; 266 unsigned long tx_packets;
268 unsigned long tx_bytes; 267 unsigned long tx_bytes;
269 unsigned long tx_fragments; 268 unsigned long tx_fragments;
270 unsigned int last_txrate_idx; 269 struct ieee80211_tx_rate last_tx_rate;
271 u16 tid_seq[IEEE80211_QOS_CTL_TID_MASK + 1]; 270 u16 tid_seq[IEEE80211_QOS_CTL_TID_MASK + 1];
272 271
273 /* 272 /*