ah_eeprom_v14.h (221622) | ah_eeprom_v14.h (224519) |
---|---|
1/* 2 * Copyright (c) 2008 Sam Leffler, Errno Consulting 3 * Copyright (c) 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) 2008 Sam Leffler, Errno Consulting 3 * Copyright (c) 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_v14.h 221622 2011-05-08 08:18:30Z adrian $ | 17 * $FreeBSD: head/sys/dev/ath/ath_hal/ah_eeprom_v14.h 224519 2011-07-30 13:45:12Z adrian $ |
18 */ 19#ifndef _AH_EEPROM_V14_H_ 20#define _AH_EEPROM_V14_H_ 21 22#include "ah_eeprom.h" 23 24/* reg_off = 4 * (eep_off) */ 25#define AR5416_EEPROM_S 2 --- 156 unchanged lines hidden (view full) --- 182 uint8_t dacHiPwrMode_5G;/* use the DAC high power mode (MB91) */ 183 uint8_t openLoopPwrCntl;/* 1: use open loop power control, 184 0: use closed loop power control */ 185 uint8_t dacLpMode; 186 uint8_t txGainType; /* high power tx gain table support */ 187 uint8_t rcChainMask; /* "1" if the card is an HB93 1x2 */ 188 uint8_t desiredScaleCCK; 189 uint8_t pwr_table_offset; | 18 */ 19#ifndef _AH_EEPROM_V14_H_ 20#define _AH_EEPROM_V14_H_ 21 22#include "ah_eeprom.h" 23 24/* reg_off = 4 * (eep_off) */ 25#define AR5416_EEPROM_S 2 --- 156 unchanged lines hidden (view full) --- 182 uint8_t dacHiPwrMode_5G;/* use the DAC high power mode (MB91) */ 183 uint8_t openLoopPwrCntl;/* 1: use open loop power control, 184 0: use closed loop power control */ 185 uint8_t dacLpMode; 186 uint8_t txGainType; /* high power tx gain table support */ 187 uint8_t rcChainMask; /* "1" if the card is an HB93 1x2 */ 188 uint8_t desiredScaleCCK; 189 uint8_t pwr_table_offset; |
190 uint8_t frac_n_5g; | 190 uint8_t frac_n_5g; /* 191 * bit 0: indicates that fracN synth 192 * mode applies to all 5G channels 193 */ |
191 uint8_t futureBase[21]; 192} __packed BASE_EEP_HEADER; // 64 B 193 194typedef struct ModalEepHeader { 195 uint32_t antCtrlChain[AR5416_MAX_CHAINS]; // 12 196 uint32_t antCtrlCommon; // 4 197 int8_t antennaGainCh[AR5416_MAX_CHAINS]; // 3 198 uint8_t switchSettling; // 1 --- 91 unchanged lines hidden --- | 194 uint8_t futureBase[21]; 195} __packed BASE_EEP_HEADER; // 64 B 196 197typedef struct ModalEepHeader { 198 uint32_t antCtrlChain[AR5416_MAX_CHAINS]; // 12 199 uint32_t antCtrlCommon; // 4 200 int8_t antennaGainCh[AR5416_MAX_CHAINS]; // 3 201 uint8_t switchSettling; // 1 --- 91 unchanged lines hidden --- |