svn commit: r224515 - head/sys/dev/ath/ath_hal/ar9002
Adrian Chadd
adrian at FreeBSD.org
Sat Jul 30 13:31:28 UTC 2011
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
};
More information about the svn-src-all
mailing list