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_internal.h 221596 2011-05-07 11:05:16Z adrian $ |
18 */ 19#ifndef _ATH_AH_INTERAL_H_ 20#define _ATH_AH_INTERAL_H_ 21/* 22 * Atheros Device Hardware Access Layer (HAL). 23 * 24 * Internal definitions. 25 */ --- 267 unchanged lines hidden (view full) --- 293 uint16_t ah_maxPowerLevel; /* calculated max tx power */ 294 u_int ah_tpScale; /* tx power scale factor */ 295 uint32_t ah_11nCompat; /* 11n compat controls */ 296 297 /* 298 * State for regulatory domain handling. 299 */ 300 HAL_REG_DOMAIN ah_currentRD; /* EEPROM regulatory domain */ |
301 HAL_REG_DOMAIN ah_currentRDext; /* EEPROM extended regdomain flags */ |
302 HAL_CHANNEL_INTERNAL ah_channels[AH_MAXCHAN]; /* private chan state */ 303 u_int ah_nchan; /* valid items in ah_channels */ 304 const struct regDomain *ah_rd2GHz; /* reg state for 2G band */ 305 const struct regDomain *ah_rd5GHz; /* reg state for 5G band */ 306 307 uint8_t ah_coverageClass; /* coverage class */ 308 /* 309 * RF Silent handling; setup according to the EEPROM. --- 506 unchanged lines hidden --- |