From 773166a200b9dc94c438c806c5b7e6e9571f2421 Mon Sep 17 00:00:00 2001 From: rpaulo Date: Fri, 29 Jan 2010 10:10:14 +0000 Subject: Add support for the AR9285 chipset, which is found on many netbooks available today. This card is a low power 802.11bgn that only does 11n rates up to MCS 7 (that's 65 Mbps in 20Mhz mode and 135 in 40Mhz mode). 802.11n is not yet supported, but will be in the future. The driver still has a problem regarding to the setting of txpower on the card, so don't expect good performance yet. After fixing this problem, an MFC is possible. Special thanks to iXsystems and S Smirnov for help with the purchase of a netbook with this card. Sponsored by: iXsystems, Inc. --- sys/dev/ath/ath_hal/ah_eeprom_v4k.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'sys/dev/ath/ath_hal/ah_eeprom_v4k.h') diff --git a/sys/dev/ath/ath_hal/ah_eeprom_v4k.h b/sys/dev/ath/ath_hal/ah_eeprom_v4k.h index a1dbf51..fd0c699 100644 --- a/sys/dev/ath/ath_hal/ah_eeprom_v4k.h +++ b/sys/dev/ath/ath_hal/ah_eeprom_v4k.h @@ -39,8 +39,6 @@ #define AR5416_4K_NUM_CTLS 12 #define AR5416_4K_NUM_BAND_EDGES 4 #define AR5416_4K_NUM_PD_GAINS 2 -#define AR5416_4K_PD_GAINS_IN_MASK 4 -#define AR5416_4K_PD_GAIN_ICEPTS 5 #define AR5416_4K_MAX_CHAINS 1 /* @@ -127,8 +125,8 @@ typedef struct CalCtlData4k { } __packed CAL_CTL_DATA_4K; typedef struct calDataPerFreq4k { - uint8_t pwrPdg[AR5416_4K_NUM_PD_GAINS][AR5416_4K_PD_GAIN_ICEPTS]; - uint8_t vpdPdg[AR5416_4K_NUM_PD_GAINS][AR5416_4K_PD_GAIN_ICEPTS]; + uint8_t pwrPdg[AR5416_4K_NUM_PD_GAINS][AR5416_PD_GAIN_ICEPTS]; + uint8_t vpdPdg[AR5416_4K_NUM_PD_GAINS][AR5416_PD_GAIN_ICEPTS]; } __packed CAL_DATA_PER_FREQ_4K; struct ar5416eeprom_4k { -- cgit v1.1