p54: add lots of useful rx/tx statistics
[deliverable/linux.git] / drivers / net / wireless / p54 / p54common.h
index 976cbf9689b53fbf843a886d95712796082ba636..9e544ce59c3c1ea3f421e807975112c2025509f4 100644 (file)
@@ -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 */
This page took 0.025006 seconds and 5 git commands to generate.