ah.h (227375) | ah.h (227410) |
---|---|
1/* 2 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 3 * Copyright (c) 2002-2008 Atheros Communications, Inc. 4 * 5 * Permission to use, copy, modify, and/or distribute this software for any 6 * purpose with or without fee is hereby granted, provided that the above 7 * copyright notice and this permission notice appear in all copies. 8 * 9 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 15 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 * | 1/* 2 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 3 * Copyright (c) 2002-2008 Atheros Communications, Inc. 4 * 5 * Permission to use, copy, modify, and/or distribute this software for any 6 * purpose with or without fee is hereby granted, provided that the above 7 * copyright notice and this permission notice appear in all copies. 8 * 9 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 15 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 * |
17 * $FreeBSD: head/sys/dev/ath/ath_hal/ah.h 227375 2011-11-09 05:30:24Z adrian $ | 17 * $FreeBSD: head/sys/dev/ath/ath_hal/ah.h 227410 2011-11-09 22:39:44Z adrian $ |
18 */ 19 20#ifndef _ATH_AH_H_ 21#define _ATH_AH_H_ 22/* 23 * Atheros Hardware Access Layer 24 * 25 * Clients of the HAL call ath_hal_attach to obtain a reference to an ath_hal --- 119 unchanged lines hidden (view full) --- 145 HAL_CAP_BB_HANG = 235, /* can baseband hang */ 146 HAL_CAP_MAC_HANG = 236, /* can MAC hang */ 147 HAL_CAP_INTRMASK = 237, /* bitmask of supported interrupts */ 148 HAL_CAP_BSSIDMATCH = 238, /* hardware has disable bssid match */ 149 HAL_CAP_STREAMS = 239, /* how many 802.11n spatial streams are available */ 150 HAL_CAP_RXDESC_SELFLINK = 242, /* support a self-linked tail RX descriptor */ 151 HAL_CAP_LONG_RXDESC_TSF = 243, /* hardware supports 32bit TSF in RX descriptor */ 152 HAL_CAP_BB_READ_WAR = 244, /* baseband read WAR */ | 18 */ 19 20#ifndef _ATH_AH_H_ 21#define _ATH_AH_H_ 22/* 23 * Atheros Hardware Access Layer 24 * 25 * Clients of the HAL call ath_hal_attach to obtain a reference to an ath_hal --- 119 unchanged lines hidden (view full) --- 145 HAL_CAP_BB_HANG = 235, /* can baseband hang */ 146 HAL_CAP_MAC_HANG = 236, /* can MAC hang */ 147 HAL_CAP_INTRMASK = 237, /* bitmask of supported interrupts */ 148 HAL_CAP_BSSIDMATCH = 238, /* hardware has disable bssid match */ 149 HAL_CAP_STREAMS = 239, /* how many 802.11n spatial streams are available */ 150 HAL_CAP_RXDESC_SELFLINK = 242, /* support a self-linked tail RX descriptor */ 151 HAL_CAP_LONG_RXDESC_TSF = 243, /* hardware supports 32bit TSF in RX descriptor */ 152 HAL_CAP_BB_READ_WAR = 244, /* baseband read WAR */ |
153 HAL_CAP_SERIALISE_WAR = 245, /* serialise register access on PCI */ |
|
153} HAL_CAPABILITY_TYPE; 154 155/* 156 * "States" for setting the LED. These correspond to 157 * the possible 802.11 operational states and there may 158 * be a many-to-one mapping between these states and the 159 * actual hardware state for the LED's (i.e. the hardware 160 * may have fewer states). --- 615 unchanged lines hidden (view full) --- 776 int ah_debug; /* only used if AH_DEBUG is defined */ 777 int ah_ar5416_biasadj; /* enable AR2133 radio specific bias fiddling */ 778 779 /* NB: these are deprecated; they exist for now for compatibility */ 780 int ah_dma_beacon_response_time;/* in TU's */ 781 int ah_sw_beacon_response_time; /* in TU's */ 782 int ah_additional_swba_backoff; /* in TU's */ 783 int ah_force_full_reset; /* force full chip reset rather then warm reset */ | 154} HAL_CAPABILITY_TYPE; 155 156/* 157 * "States" for setting the LED. These correspond to 158 * the possible 802.11 operational states and there may 159 * be a many-to-one mapping between these states and the 160 * actual hardware state for the LED's (i.e. the hardware 161 * may have fewer states). --- 615 unchanged lines hidden (view full) --- 777 int ah_debug; /* only used if AH_DEBUG is defined */ 778 int ah_ar5416_biasadj; /* enable AR2133 radio specific bias fiddling */ 779 780 /* NB: these are deprecated; they exist for now for compatibility */ 781 int ah_dma_beacon_response_time;/* in TU's */ 782 int ah_sw_beacon_response_time; /* in TU's */ 783 int ah_additional_swba_backoff; /* in TU's */ 784 int ah_force_full_reset; /* force full chip reset rather then warm reset */ |
785 int ah_serialise_reg_war; /* force serialisation of register IO */ |
|
784} HAL_OPS_CONFIG; 785 786/* 787 * Hardware Access Layer (HAL) API. 788 * 789 * Clients of the HAL call ath_hal_attach to obtain a reference to an 790 * ath_hal structure for use with the device. Hardware-related operations 791 * that follow must call back into the HAL through interface, supplying --- 379 unchanged lines hidden --- | 786} HAL_OPS_CONFIG; 787 788/* 789 * Hardware Access Layer (HAL) API. 790 * 791 * Clients of the HAL call ath_hal_attach to obtain a reference to an 792 * ath_hal structure for use with the device. Hardware-related operations 793 * that follow must call back into the HAL through interface, supplying --- 379 unchanged lines hidden --- |