Bug 162648 - [ath] AR9227 ADC DC calibration failure
Summary: [ath] AR9227 ADC DC calibration failure
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: wireless (show other bugs)
Version: 10.0-CURRENT
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-wireless (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-18 04:00 UTC by Adrian Chadd
Modified: 2018-05-28 19:46 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adrian Chadd freebsd_committer 2011-11-18 04:00:22 UTC
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?
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2011-11-18 06:40:44 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-wireless

Over to maintainer(s).
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2018-05-28 19:46:06 UTC
batch change:

For bugs that match the following
-  Status Is In progress 
AND
- Untouched since 2018-01-01.
AND
- Affects Base System OR Documentation

DO:

Reset to open status.


Note:
I did a quick pass but if you are getting this email it might be worthwhile to double check to see if this bug ought to be closed.