Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Oct 2010 10:42:53 GMT
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/151198: ath/5416 fails bgscan with "ath0: ath_chan_set: unable to reset channel 11 (2462 MHz, flags 0x480), hal status 14"
Message-ID:  <201010041042.o94AgriZ024023@critter.freebsd.dk>
Resent-Message-ID: <201010041100.o94B0EJA052813@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         151198
>Category:       kern
>Synopsis:       ath/5416 fails bgscan with "ath0: ath_chan_set: unable to reset channel 11 (2462 MHz, flags 0x480), hal status 14"
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 04 11:00:14 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Poul-Henning Kamp
>Release:        FreeBSD 9.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD critter.freebsd.dk 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r213377M: Mon Oct 4 10:07:59 UTC 2010 root@critter.freebsd.dk:/sys/amd64/compile/CRITTER amd64


>Description:

	ath0: <Atheros 5416> mem 0xf2500000-0xf250ffff irq 16 at device 0.0 on pci2
	ath0: [ITHREAD]
	ath0: AR5418 mac 12.10 RF5133 phy 8.1

	if bgscan is enabled, connectivity will die when messages like

	ath0: ath_chan_set: unable to reset channel 11 (2462 MHz, flags 0x480), hal status 14
	ath0: ath_chan_set: unable to reset channel 13 (2472 MHz, flags 0x680), hal status 14
	ath0: ath_chan_set: unable to reset channel 10 (2457 MHz, flags 0x480), hal status 14
	ath0: ath_chan_set: unable to reset channel 12 (2467 MHz, flags 0x680), hal status 14
	ath0: ath_chan_set: unable to reset channel 11 (2462 MHz, flags 0x480), hal status 14
	ath0: ath_chan_set: unable to reset channel 13 (2472 MHz, flags 0x680), hal status 14
	ath0: ath_chan_set: unable to reset channel 10 (2457 MHz, flags 0x480), hal status 14

	appear in syslog.

	Disabling bgscan (ifconfig wlan0 -bgscan) removes symptoms.

>How-To-Repeat:
	
>Fix:

	tried, this to no avail:

Index: dev/ath/ath_hal/ar5416/ar5416_cal.c
===================================================================
--- dev/ath/ath_hal/ar5416/ar5416_cal.c (revision 213377)
+++ dev/ath/ath_hal/ar5416/ar5416_cal.c (working copy)
@@ -227,7 +227,7 @@
         * Try to make sure the above NF cal completes, just so
         * it doesn't clash with subsequent percals -adrian
         */
-       if (! ar5212WaitNFCalComplete(ah, 10000)) {
+       if (! ar5212WaitNFCalComplete(ah, 100000)) {
                HALDEBUG(ah, HAL_DEBUG_ANY, "%s: initial NF calibration did "
                    "not complete in time; noisy environment?\n", __func__);
                return AH_FALSE;



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



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