misc/162648: [ath] AR9227 ADC DC calibration failure

Adrian Chadd adrian at FreeBSD.org
Fri Nov 18 04:00:23 UTC 2011


>Number:         162648
>Category:       misc
>Synopsis:       [ath] AR9227 ADC DC calibration failure
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 18 04:00:22 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Adrian Chadd
>Release:        10.0-CURRENT
>Organization:
>Environment:
Mips, etc.

ath1: <Atheros 9227> irq 1 at device 18.0 on pci0
ath1: [HT] enabling HT modes
ath1: [HT] enabling short-GI in 20MHz mode
ath1: [HT] 2 RX streams; 2 TX streams
ath1: AR9227 mac 384.2 RF5133 phy 15.15

>Description:

This is a failed ADC DC calibration:

wlan1: [00:03:7f:12:e2:3a] HT bss occupancy change: 1 sta, 1 ht, 0 ht40, HT protmode now 0x2
ar5416GetMibCycleCountsPct: cycle counter wrap. ExtBusy = 0
ar5416ResetCalValid: Resetting Cal 4 state for channel 2437/0x20480
ar5416DoCalibration: ADC DC Calibration, state 1, calValid 0x8
ar5416SetupMeasurement: start ADC DC calibration
ar9287olcTemperatureCompensation: initPDADC=125, currPDADC=120
ar9287olcTemperatureCompensation: delta=3
NF calibrated [ctl] [chain 0] is -123
NF calibrated [ctl] [chain 1] is -121
NF calibrated [ext] [chain 0] is -123
NF calibrated [ext] [chain 1] is -122
CCA: [0: -123][1: -121][3: -123][4: -121]
2437 raw nf -123 adjust 27
ar5416DoCalibration: ADC DC Calibration, state 2, calValid 0x8
ar5416DoCalibration: sample 0 of 1 finished
0: Chn 0 oddi=0x11a421e8; eveni=0x11a3b3d3; oddq=0x1198f4e5; evenq=0x1198f059;
0: Chn 1 oddi=0x13ac3b5b; eveni=0x13abe3a7; oddq=0x129faaac; evenq=0x129fa663;
0: Chn 2 oddi=0x00000000; eveni=0x00000000; oddq=0x00000000; evenq=0x00000000;
Starting ADC DC Offset Cal for Chain 0
 pwr_meas_odd_i = 295969256 pwr_meas_even_i = 295941075
 pwr_meas_odd_q = 295236837
 pwr_meas_even_q = 295235673
 dc_offset_mismatch_i = 0x00000047
 dc_offset_mismatch_q = 0x00000012
ADC DC Offset Cal done for Chain 0Starting ADC DC Offset Cal for Chain 1 pwr_meas_odd_i = 330054491 pwr_meas_even_i = 330032039
 pwr_meas_odd_q = 312453804
 pwr_meas_even_q = 312452707 dc_offset_mismatch_i = 0x000000a1 dc_offset_mismatch_q = 0x00000011
ADC DC Offset Cal done for Chain 1
ath1: stuck beacon; resetting (bmiss count 4)

. then:

ar5416SetupMeasurement: start ADC DC calibrationar5416GetMibCycleCountsPct: cycle counter wrap. ExtBusy = 0
ar5416DoCalibration: ADC DC Calibration, state 2, calValid 0x0
ar5416DoCalibration: sample 0 of 1 finished
0: Chn 0 oddi=0x00000057; eveni=0x00000086; oddq=0x0000031d; evenq=0x000001ba;
0: Chn 1 oddi=0x0000025f; eveni=0x000002d5; oddq=0xfffffe85; evenq=0xfffffdcf;
0: Chn 2 oddi=0x00000000; eveni=0x00000000; oddq=0x00000000; evenq=0x00000000;
Starting ADC DC Offset Cal for Chain 0
 pwr_meas_odd_i = 87
 pwr_meas_even_i = 134
 pwr_meas_odd_q = 797
 pwr_meas_even_q = 442
 dc_offset_mismatch_i = 0x00000000
 dc_offset_mismatch_q = 0x00000005
ADC DC Offset Cal done for Chain 0
Starting ADC DC Offset Cal for Chain 1
 pwr_meas_odd_i = 607
 pwr_meas_even_i = 725
 pwr_meas_odd_q = -379
 pwr_meas_even_q = -561
 dc_offset_mismatch_i = 0x00000001
 dc_offset_mismatch_q = 0x00000002
ADC DC Offset Cal done for Chain 1


>How-To-Repeat:
. just run it as a hostap?
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list