if_athioctl.h (248143) | if_athioctl.h (248146) |
---|---|
1/*- 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 --- 12 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 * | 1/*- 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 --- 12 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 248143 2013-03-11 06:01:00Z adrian $ | 29 * $FreeBSD: head/sys/dev/ath/if_athioctl.h 248146 2013-03-11 06:54:58Z adrian $ |
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 --- 262 unchanged lines hidden (view full) --- 300 uint32_t evm[ATH_RADIOTAP_MAX_EVM]; /* 5 * 4 = 20 */ 301 302 uint8_t rssi_ctl[ATH_RADIOTAP_MAX_CHAINS]; /* 4 */ 303 uint8_t rssi_ext[ATH_RADIOTAP_MAX_CHAINS]; /* 4 */ 304 305 uint8_t vh_phyerr_code; /* Phy error code, or 0xff */ 306 uint8_t vh_rs_status; /* RX status */ 307 uint8_t vh_rssi; /* Raw RSSI */ | 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 --- 262 unchanged lines hidden (view full) --- 300 uint32_t evm[ATH_RADIOTAP_MAX_EVM]; /* 5 * 4 = 20 */ 301 302 uint8_t rssi_ctl[ATH_RADIOTAP_MAX_CHAINS]; /* 4 */ 303 uint8_t rssi_ext[ATH_RADIOTAP_MAX_CHAINS]; /* 4 */ 304 305 uint8_t vh_phyerr_code; /* Phy error code, or 0xff */ 306 uint8_t vh_rs_status; /* RX status */ 307 uint8_t vh_rssi; /* Raw RSSI */ |
308 uint8_t vh_pad1[1]; /* Pad to 4 byte boundary */ | 308 uint8_t vh_flags; /* General flags */ 309#define ATH_VENDOR_PKT_RX 0x01 310#define ATH_VENDOR_PKT_TX 0x02 311#define ATH_VENDOR_PKT_RXPHYERR 0x04 312#define ATH_VENDOR_PKT_ISAGGR 0x08 313#define ATH_VENDOR_PKT_MOREAGGR 0x10 314 315 uint8_t vh_rx_hwrate; /* hardware RX ratecode */ 316 uint8_t vh_rs_flags; /* RX HAL flags */ 317 uint8_t vh_pad[2]; /* pad to DWORD boundary */ |
309} __packed; 310#endif /* ATH_ENABLE_RADIOTAP_VENDOR_EXT */ 311 312struct ath_rx_radiotap_header { 313 struct ieee80211_radiotap_header wr_ihdr; 314 315#ifdef ATH_ENABLE_RADIOTAP_VENDOR_EXT 316 /* Vendor extension header bitmap */ --- 123 unchanged lines hidden --- | 318} __packed; 319#endif /* ATH_ENABLE_RADIOTAP_VENDOR_EXT */ 320 321struct ath_rx_radiotap_header { 322 struct ieee80211_radiotap_header wr_ihdr; 323 324#ifdef ATH_ENABLE_RADIOTAP_VENDOR_EXT 325 /* Vendor extension header bitmap */ --- 123 unchanged lines hidden --- |