diff options
author | Christian Lamparter <chunkeey@web.de> | 2008-09-06 02:56:23 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-09-11 21:53:32 +0200 |
commit | cc6de669f648bc8820f1cf93ee311eb4eaab9fc5 (patch) | |
tree | 574b6b0b848ae045cfcae6fc8cab6c29a5c30812 /drivers/net/wireless/p54/p54common.h | |
parent | p54: add more rx filters (diff) | |
download | linux-cc6de669f648bc8820f1cf93ee311eb4eaab9fc5.tar.xz linux-cc6de669f648bc8820f1cf93ee311eb4eaab9fc5.zip |
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 { __le16 frameburst; } __attribute__ ((packed)); +struct p54_statistics { + __le32 rx_success; + __le32 rx_bad_fcs; + __le32 rx_abort; + __le32 rx_abort_phy; + __le32 rts_success; + __le32 rts_fail; + __le32 tsf32; + __le32 airtime; + __le32 noise; + __le32 unkn[10]; /* CCE / CCA / RADAR */ +} __attribute__ ((packed)); + #endif /* P54COMMON_H */ |