summaryrefslogtreecommitdiffstats
path: root/sys/dev/ath
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2004-04-02 23:55:45 +0000
committersam <sam@FreeBSD.org>2004-04-02 23:55:45 +0000
commit5168b1a6212c5b55a457338a90d51ba0788b6f8f (patch)
tree8f4d493956c234800301ae4660ef83b34f7064b2 /sys/dev/ath
parent055dd66470d456f82466bb43813e141009d15f82 (diff)
downloadFreeBSD-src-5168b1a6212c5b55a457338a90d51ba0788b6f8f.zip
FreeBSD-src-5168b1a6212c5b55a457338a90d51ba0788b6f8f.tar.gz
add new statistics
Obtained from: madwifi
Diffstat (limited to 'sys/dev/ath')
-rw-r--r--sys/dev/ath/if_athioctl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/ath/if_athioctl.h b/sys/dev/ath/if_athioctl.h
index 9912bd6..2eabffa 100644
--- a/sys/dev/ath/if_athioctl.h
+++ b/sys/dev/ath/if_athioctl.h
@@ -70,6 +70,8 @@ struct ath_stats {
u_int32_t ast_tx_rts; /* tx frames with rts enabled */
u_int32_t ast_tx_cts; /* tx frames with cts enabled */
u_int32_t ast_tx_shortpre;/* tx frames with short preamble */
+ u_int32_t ast_tx_altrate; /* tx frames with alternate rate */
+ u_int32_t ast_tx_protect; /* tx frames with protection */
u_int32_t ast_rx_nombuf; /* rx setup failed 'cuz no mbuf */
u_int32_t ast_rx_busdma; /* rx setup failed for dma resrcs */
u_int32_t ast_rx_orn; /* rx failed 'cuz of desc overrun */
@@ -79,6 +81,7 @@ struct ath_stats {
u_int32_t ast_rx_phyerr; /* rx failed 'cuz of PHY err */
u_int32_t ast_rx_phy[32]; /* rx PHY error per-code counts */
u_int32_t ast_rx_tooshort;/* rx discarded 'cuz frame too short */
+ u_int32_t ast_rx_toobig; /* rx discarded 'cuz frame too large */
u_int32_t ast_rx_ctl; /* rx discarded 'cuz ctl frame */
u_int32_t ast_be_nombuf; /* beacon setup failed 'cuz no mbuf */
u_int32_t ast_per_cal; /* periodic calibration calls */
OpenPOWER on IntegriCloud