summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2011-11-09 14:30:58 +0000
committeradrian <adrian@FreeBSD.org>2011-11-09 14:30:58 +0000
commit378fb742f63c79edc86ff4b81c7d3121a76327a2 (patch)
treed00dbc1b3a5ced81a6e036909fafa7610cd0167f
parent59f1d882c5380b639e729d8682bd4af24e6a7c72 (diff)
downloadFreeBSD-src-378fb742f63c79edc86ff4b81c7d3121a76327a2.zip
FreeBSD-src-378fb742f63c79edc86ff4b81c7d3121a76327a2.tar.gz
Tidy up the AR9287 HAL a tiny bit - fix up AR9280 references.
-rw-r--r--sys/dev/ath/ath_hal/ar9002/ar9287_attach.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/sys/dev/ath/ath_hal/ar9002/ar9287_attach.c b/sys/dev/ath/ath_hal/ar9002/ar9287_attach.c
index 8d78c2d..78f7493 100644
--- a/sys/dev/ath/ath_hal/ar9002/ar9287_attach.c
+++ b/sys/dev/ath/ath_hal/ar9002/ar9287_attach.c
@@ -76,7 +76,7 @@ ar9287AniSetup(struct ath_hal *ah)
/*
* These are the parameters from the AR5416 ANI code;
* they likely need quite a bit of adjustment for the
- * AR9280.
+ * AR9287.
*/
static const struct ar5212AniParams aniparams = {
.maxNoiseImmunityLevel = 4, /* levels 0..4 */
@@ -402,13 +402,6 @@ ar9287WriteIni(struct ath_hal *ah, const struct ieee80211_channel *chan)
regWrites = ath_hal_ini_write(ah, &AH5212(ah)->ah_ini_common, 1, regWrites);
}
-#define AR_BASE_FREQ_2GHZ 2300
-#define AR_BASE_FREQ_5GHZ 4900
-#define AR_SPUR_FEEQ_BOUND_HT40 19
-#define AR_SPUR_FEEQ_BOUND_HT20 10
-
-
-
/*
* Fill all software cached or static hardware state information.
* Return failure if capabilities are to come from EEPROM and
@@ -460,7 +453,7 @@ ar9287FillCapabilityInfo(struct ath_hal *ah)
* This has been disabled - having the HAL flip chainmasks on/off
* when attempting to implement 11n disrupts things. For now, just
* leave this flipped off and worry about implementing TX diversity
- * for legacy and MCS0-7 when 11n is fully functioning.
+ * for legacy and MCS0-15 when 11n is fully functioning.
*/
HAL_BOOL
ar9287SetAntennaSwitch(struct ath_hal *ah, HAL_ANT_SETTING settings)
OpenPOWER on IntegriCloud