diff options
author | Christian Lamparter <chunkeey@web.de> | 2008-09-05 20:56:23 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-09-11 15:53:32 -0400 |
commit | cc6de669f648bc8820f1cf93ee311eb4eaab9fc5 (patch) | |
tree | 574b6b0b848ae045cfcae6fc8cab6c29a5c30812 /drivers/net/wireless/p54/p54common.h | |
parent | 78d57eb2b666617dd75aac0f1a420238004a98b3 (diff) |
p54: add lots of useful rx/tx statistics
The firmware can provide lots of useful statistics about noise floor,
mac time and lots of numbers about successful transfers and dropped
frames.
Signed-off-by: Christian Lamparter <chunkeey@web.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/p54/p54common.h')
-rw-r--r-- | drivers/net/wireless/p54/p54common.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/net/wireless/p54/p54common.h b/drivers/net/wireless/p54/p54common.h index 976cbf9689b5..9e544ce59c3c 100644 --- a/drivers/net/wireless/p54/p54common.h +++ b/drivers/net/wireless/p54/p54common.h | |||
@@ -301,4 +301,17 @@ struct p54_tx_control_vdcf { | |||
301 | __le16 frameburst; | 301 | __le16 frameburst; |
302 | } __attribute__ ((packed)); | 302 | } __attribute__ ((packed)); |
303 | 303 | ||
304 | struct p54_statistics { | ||
305 | __le32 rx_success; | ||
306 | __le32 rx_bad_fcs; | ||
307 | __le32 rx_abort; | ||
308 | __le32 rx_abort_phy; | ||
309 | __le32 rts_success; | ||
310 | __le32 rts_fail; | ||
311 | __le32 tsf32; | ||
312 | __le32 airtime; | ||
313 | __le32 noise; | ||
314 | __le32 unkn[10]; /* CCE / CCA / RADAR */ | ||
315 | } __attribute__ ((packed)); | ||
316 | |||
304 | #endif /* P54COMMON_H */ | 317 | #endif /* P54COMMON_H */ |