Author: adrian
Date: Wed Nov  9 14:30:58 2011
New Revision: 227387
URL: http://svn.freebsd.org/changeset/base/227387

Log:
  Tidy up the AR9287 HAL a tiny bit - fix up AR9280 references.

Modified:
  head/sys/dev/ath/ath_hal/ar9002/ar9287_attach.c

Modified: head/sys/dev/ath/ath_hal/ar9002/ar9287_attach.c
==============================================================================
--- head/sys/dev/ath/ath_hal/ar9002/ar9287_attach.c     Wed Nov  9 13:48:23 
2011        (r227386)
+++ head/sys/dev/ath/ath_hal/ar9002/ar9287_attach.c     Wed Nov  9 14:30:58 
2011        (r227387)
@@ -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
        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 
  * 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)
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to