ah_eeprom.h (217623) | ah_eeprom.h (219318) |
---|---|
1/* 2 * Copyright (c) 2002-2008 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-2008 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_eeprom.h 217623 2011-01-20 07:42:39Z adrian $ | 17 * $FreeBSD: head/sys/dev/ath/ath_hal/ah_eeprom.h 219318 2011-03-06 00:30:43Z adrian $ |
18 */ 19#ifndef _ATH_AH_EEPROM_H_ 20#define _ATH_AH_EEPROM_H_ 21 22#define AR_EEPROM_VER1 0x1000 /* Version 1.0; 5210 only */ 23/* 24 * Version 3 EEPROMs are all 16K. 25 * 3.1 adds turbo limit, antenna gain, 16 CTL's, 11g info, --- 69 unchanged lines hidden (view full) --- 95 AR_EEP_RXGAIN_TYPE, /* uint8_t* */ 96 AR_EEP_TXGAIN_TYPE, /* uint8_t* */ 97 AR_EEP_DAC_HPWR_5G, /* uint8_t* */ 98 AR_EEP_OL_PWRCTRL, /* use ath_hal_eepromGetFlag */ 99 AR_EEP_FSTCLK_5G, /* use ath_hal_eepromGetFlag */ 100 AR_EEP_ANTGAINMAX_5, /* int8_t* */ 101 AR_EEP_ANTGAINMAX_2, /* int8_t* */ 102 AR_EEP_WRITEPROTECT, /* use ath_hal_eepromGetFlag */ | 18 */ 19#ifndef _ATH_AH_EEPROM_H_ 20#define _ATH_AH_EEPROM_H_ 21 22#define AR_EEPROM_VER1 0x1000 /* Version 1.0; 5210 only */ 23/* 24 * Version 3 EEPROMs are all 16K. 25 * 3.1 adds turbo limit, antenna gain, 16 CTL's, 11g info, --- 69 unchanged lines hidden (view full) --- 95 AR_EEP_RXGAIN_TYPE, /* uint8_t* */ 96 AR_EEP_TXGAIN_TYPE, /* uint8_t* */ 97 AR_EEP_DAC_HPWR_5G, /* uint8_t* */ 98 AR_EEP_OL_PWRCTRL, /* use ath_hal_eepromGetFlag */ 99 AR_EEP_FSTCLK_5G, /* use ath_hal_eepromGetFlag */ 100 AR_EEP_ANTGAINMAX_5, /* int8_t* */ 101 AR_EEP_ANTGAINMAX_2, /* int8_t* */ 102 AR_EEP_WRITEPROTECT, /* use ath_hal_eepromGetFlag */ |
103 AR_EEP_PWR_TABLE_OFFSET /* int8_t* */ |
|
103}; 104 105typedef struct { 106 uint16_t rdEdge; 107 uint16_t twice_rdEdgePower; 108 HAL_BOOL flag; 109} RD_EDGES_POWER; 110 --- 24 unchanged lines hidden --- | 104}; 105 106typedef struct { 107 uint16_t rdEdge; 108 uint16_t twice_rdEdgePower; 109 HAL_BOOL flag; 110} RD_EDGES_POWER; 111 --- 24 unchanged lines hidden --- |