Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Jul 2011 13:31:27 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r224515 - head/sys/dev/ath/ath_hal/ar9002
Message-ID:  <201107301331.p6UDVRJ5001905@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Sat Jul 30 13:31:27 2011
New Revision: 224515
URL: http://svn.freebsd.org/changeset/base/224515

Log:
  Fix the initial calibration sample count when doing ADC calibrations.
  
  Obtained from:	Atheros
  Approved by:	re (kib)

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

Modified: head/sys/dev/ath/ath_hal/ar9002/ar9280_attach.c
==============================================================================
--- head/sys/dev/ath/ath_hal/ar9002/ar9280_attach.c	Sat Jul 30 13:30:24 2011	(r224514)
+++ head/sys/dev/ath/ath_hal/ar9002/ar9280_attach.c	Sat Jul 30 13:31:27 2011	(r224515)
@@ -42,14 +42,14 @@ static const HAL_PERCAL_DATA ar9280_iq_c
 static const HAL_PERCAL_DATA ar9280_adc_gain_cal = {	/* single sample */
 	.calName = "ADC Gain", .calType = ADC_GAIN_CAL,
 	.calNumSamples	= MIN_CAL_SAMPLES,
-	.calCountMax	= PER_MIN_LOG_COUNT,
+	.calCountMax	= PER_MAX_LOG_COUNT,
 	.calCollect	= ar5416AdcGainCalCollect,
 	.calPostProc	= ar5416AdcGainCalibration
 };
 static const HAL_PERCAL_DATA ar9280_adc_dc_cal = {	/* single sample */
 	.calName = "ADC DC", .calType = ADC_DC_CAL,
 	.calNumSamples	= MIN_CAL_SAMPLES,
-	.calCountMax	= PER_MIN_LOG_COUNT,
+	.calCountMax	= PER_MAX_LOG_COUNT,
 	.calCollect	= ar5416AdcDcCalCollect,
 	.calPostProc	= ar5416AdcDcCalibration
 };



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201107301331.p6UDVRJ5001905>