diff options
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/htc.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/htc.h | 36 |
1 files changed, 28 insertions, 8 deletions
diff --git a/drivers/net/wireless/ath/ath9k/htc.h b/drivers/net/wireless/ath/ath9k/htc.h index b413b46119b0..cc5d0a4b9da2 100644 --- a/drivers/net/wireless/ath/ath9k/htc.h +++ b/drivers/net/wireless/ath/ath9k/htc.h | |||
@@ -175,12 +175,31 @@ struct ath9k_htc_target_rate { | |||
175 | struct ath9k_htc_rate rates; | 175 | struct ath9k_htc_rate rates; |
176 | }; | 176 | }; |
177 | 177 | ||
178 | struct ath9k_htc_target_stats { | 178 | struct ath9k_htc_target_int_stats { |
179 | __be32 tx_shortretry; | 179 | __be32 rx; |
180 | __be32 tx_longretry; | 180 | __be32 rxorn; |
181 | __be32 tx_xretries; | 181 | __be32 rxeol; |
182 | __be32 ht_txunaggr_xretry; | 182 | __be32 txurn; |
183 | __be32 ht_tx_xretries; | 183 | __be32 txto; |
184 | __be32 cst; | ||
185 | } __packed; | ||
186 | |||
187 | struct ath9k_htc_target_tx_stats { | ||
188 | __be32 xretries; | ||
189 | __be32 fifoerr; | ||
190 | __be32 filtered; | ||
191 | __be32 timer_exp; | ||
192 | __be32 shortretries; | ||
193 | __be32 longretries; | ||
194 | __be32 qnull; | ||
195 | __be32 encap_fail; | ||
196 | __be32 nobuf; | ||
197 | } __packed; | ||
198 | |||
199 | struct ath9k_htc_target_rx_stats { | ||
200 | __be32 nobuf; | ||
201 | __be32 host_send; | ||
202 | __be32 host_done; | ||
184 | } __packed; | 203 | } __packed; |
185 | 204 | ||
186 | #define ATH9K_HTC_MAX_VIF 2 | 205 | #define ATH9K_HTC_MAX_VIF 2 |
@@ -340,14 +359,15 @@ struct ath_rx_stats { | |||
340 | 359 | ||
341 | struct ath9k_debug { | 360 | struct ath9k_debug { |
342 | struct dentry *debugfs_phy; | 361 | struct dentry *debugfs_phy; |
343 | struct dentry *debugfs_tgt_stats; | 362 | struct dentry *debugfs_tgt_int_stats; |
363 | struct dentry *debugfs_tgt_tx_stats; | ||
364 | struct dentry *debugfs_tgt_rx_stats; | ||
344 | struct dentry *debugfs_xmit; | 365 | struct dentry *debugfs_xmit; |
345 | struct dentry *debugfs_recv; | 366 | struct dentry *debugfs_recv; |
346 | struct dentry *debugfs_slot; | 367 | struct dentry *debugfs_slot; |
347 | struct dentry *debugfs_queue; | 368 | struct dentry *debugfs_queue; |
348 | struct ath_tx_stats tx_stats; | 369 | struct ath_tx_stats tx_stats; |
349 | struct ath_rx_stats rx_stats; | 370 | struct ath_rx_stats rx_stats; |
350 | u32 txrate; | ||
351 | }; | 371 | }; |
352 | 372 | ||
353 | #else | 373 | #else |