From owner-svn-src-head@FreeBSD.ORG Wed Nov 9 14:30:58 2011 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F2667106566B; Wed, 9 Nov 2011 14:30:58 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id E24638FC12; Wed, 9 Nov 2011 14:30:58 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id pA9EUwNs086470; Wed, 9 Nov 2011 14:30:58 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id pA9EUwHg086468; Wed, 9 Nov 2011 14:30:58 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201111091430.pA9EUwHg086468@svn.freebsd.org> From: Adrian Chadd Date: Wed, 9 Nov 2011 14:30:58 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r227387 - head/sys/dev/ath/ath_hal/ar9002 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Nov 2011 14:30:59 -0000 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)