Deleted Added
full compact
if_athioctl.h (178354) if_athioctl.h (186904)
1/*-
1/*-
2 * Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
2 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer,
10 * without modification.

--- 10 unchanged lines hidden (view full) ---

21 * THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY,
22 * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
23 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
25 * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
27 * THE POSSIBILITY OF SUCH DAMAGES.
28 *
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer,
10 * without modification.

--- 10 unchanged lines hidden (view full) ---

21 * THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY,
22 * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
23 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
25 * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
27 * THE POSSIBILITY OF SUCH DAMAGES.
28 *
29 * $FreeBSD: head/sys/dev/ath/if_athioctl.h 178354 2008-04-20 20:35:46Z sam $
29 * $FreeBSD: head/sys/dev/ath/if_athioctl.h 186904 2009-01-08 17:12:47Z sam $
30 */
31
32/*
33 * Ioctl-related defintions for the Atheros Wireless LAN controller driver.
34 */
35#ifndef _DEV_ATH_ATHIOCTL_H
36#define _DEV_ATH_ATHIOCTL_H
37

--- 66 unchanged lines hidden (view full) ---

104 u_int32_t ast_cabq_busy; /* cabq found busy */
105 u_int32_t ast_tx_raw; /* tx frames through raw api */
106 u_int32_t ast_ff_txok; /* fast frames tx'd successfully */
107 u_int32_t ast_ff_txerr; /* fast frames tx'd w/ error */
108 u_int32_t ast_ff_rx; /* fast frames rx'd */
109 u_int32_t ast_ff_flush; /* fast frames flushed from staging q */
110 u_int32_t ast_tx_qfull; /* tx dropped 'cuz of queue limit */
111 int8_t ast_rx_noise; /* rx noise floor */
30 */
31
32/*
33 * Ioctl-related defintions for the Atheros Wireless LAN controller driver.
34 */
35#ifndef _DEV_ATH_ATHIOCTL_H
36#define _DEV_ATH_ATHIOCTL_H
37

--- 66 unchanged lines hidden (view full) ---

104 u_int32_t ast_cabq_busy; /* cabq found busy */
105 u_int32_t ast_tx_raw; /* tx frames through raw api */
106 u_int32_t ast_ff_txok; /* fast frames tx'd successfully */
107 u_int32_t ast_ff_txerr; /* fast frames tx'd w/ error */
108 u_int32_t ast_ff_rx; /* fast frames rx'd */
109 u_int32_t ast_ff_flush; /* fast frames flushed from staging q */
110 u_int32_t ast_tx_qfull; /* tx dropped 'cuz of queue limit */
111 int8_t ast_rx_noise; /* rx noise floor */
112 u_int32_t ast_pad[22];
112 u_int32_t ast_tx_nobuf; /* tx dropped 'cuz no ath buffer */
113 u_int32_t ast_tdma_update;/* TDMA slot timing updates */
114 u_int32_t ast_tdma_timers;/* TDMA slot update set beacon timers */
115 u_int32_t ast_tdma_tsf; /* TDMA slot update set TSF */
116 u_int16_t ast_tdma_tsfadjp;/* TDMA slot adjust+ (usec, smoothed)*/
117 u_int16_t ast_tdma_tsfadjm;/* TDMA slot adjust- (usec, smoothed)*/
118 u_int32_t ast_pad[17];
113};
114
115#define SIOCGATHSTATS _IOWR('i', 137, struct ifreq)
116
117struct ath_diag {
118 char ad_name[IFNAMSIZ]; /* if name, e.g. "ath0" */
119 u_int16_t ad_id;
120#define ATH_DIAG_DYN 0x8000 /* allocate buffer in caller */

--- 62 unchanged lines hidden ---
119};
120
121#define SIOCGATHSTATS _IOWR('i', 137, struct ifreq)
122
123struct ath_diag {
124 char ad_name[IFNAMSIZ]; /* if name, e.g. "ath0" */
125 u_int16_t ad_id;
126#define ATH_DIAG_DYN 0x8000 /* allocate buffer in caller */

--- 62 unchanged lines hidden ---