kern/179847: Update regdomain in ath drivers including 0x165
josias
josiaslg at bsd.com.br
Sat Jun 22 18:00:00 UTC 2013
>Number: 179847
>Category: kern
>Synopsis: Update regdomain in ath drivers including 0x165
>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: Sat Jun 22 18:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: josias
>Release: FreeBSD 10 Current (20130616-r251797) arch i386
>Organization:
independent
>Environment:
>Description:
The Atheros Card from Maomifadacai Commodity Co., Ltd is a AR9220 + AR9223. (reference: http://www.wholesale-in-china.org/sell/tradelead-85438.html) not work on FreeBSD 10 Current.
Debug:
ath0: <Atheros 9280> mem 0xe00c0000-0xe00cffff irq 9 at device 12.0 on pci0
ath0: [ITHREAD]
ar9280Attach: sc 0xc2178000 st 0x1 sh 0xcc7c6000
ar5416SetPowerMode: AWAKE -> AWAKE (set chip )
ar9280Attach: ID 0x832ff VERSION 0x2 TYPE 0x3 REVISION 0x2
ath_hal_v14EepromAttach Eeprom Magic = 0xa55a
ath_hal_v14EepromAttach Eeprom Version 14.19
v14EepromReadCTLInfo Numctls = 18
ar5416SetPowerMode: AWAKE -> AWAKE (set chip )
ar9280RfAttach: attach AR9280 radio
enableAniMIBCounters: Enable mib counters: OfdmPhyErrBase 0xbffe0c cckPhyErrBase 0xbfff38
ar9280Attach: return
getchannels: cc 0 regDmn 0xf0 mode 0xffffff ecm
isEepromValid: invalid regulatory domain/country code 0x165
getregstate: invalid EEPROM contents
ath0: ath_getchannels: unable to collect channel list from hal, status 12
ar5416Detach:
ar5416SetPowerMode: AWAKE -> AWAKE (set chip )
Detaching Ani
Disable MIB counters
ar5212SetPowerMode: AWAKE -> AWAKE (set chip )
ar5416SetPowerMode: AWAKE -> FULL-SLEEP (set chip )
device_attach: ath0 attach returned 22
Apparently is a problem with regdomain 0x165.
>How-To-Repeat:
Just insert the card in mini-pci slot and power on freebsd.
The error "device_attach: ath0 attach returned 22" will be displayed.
Turn on ath debug to show the complete information.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list