summaryrefslogtreecommitdiffstats
path: root/sys/dev/ath/ath_hal/ah_eeprom_v4k.h
diff options
context:
space:
mode:
authorrpaulo <rpaulo@FreeBSD.org>2010-01-29 10:10:14 +0000
committerrpaulo <rpaulo@FreeBSD.org>2010-01-29 10:10:14 +0000
commit773166a200b9dc94c438c806c5b7e6e9571f2421 (patch)
tree35ff9093547af1b1414a6465369816bab3c4e784 /sys/dev/ath/ath_hal/ah_eeprom_v4k.h
parent56a89094579e2d87e27003574fdf1f9c6b8c7bab (diff)
downloadFreeBSD-src-773166a200b9dc94c438c806c5b7e6e9571f2421.zip
FreeBSD-src-773166a200b9dc94c438c806c5b7e6e9571f2421.tar.gz
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 <tonve at yandex.ru> for help with the purchase of a netbook with this card. Sponsored by: iXsystems, Inc.
Diffstat (limited to 'sys/dev/ath/ath_hal/ah_eeprom_v4k.h')
-rw-r--r--sys/dev/ath/ath_hal/ah_eeprom_v4k.h6
1 files changed, 2 insertions, 4 deletions
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 {
OpenPOWER on IntegriCloud