From nobody@FreeBSD.org  Wed May 12 13:08:25 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 3F8B61065670
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 12 May 2010 13:08:25 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id 2FBF08FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 12 May 2010 13:08:25 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o4CD8OR5053121
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 12 May 2010 13:08:24 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o4CD8OI9053118;
	Wed, 12 May 2010 13:08:24 GMT
	(envelope-from nobody)
Message-Id: <201005121308.o4CD8OI9053118@www.freebsd.org>
Date: Wed, 12 May 2010 13:08:24 GMT
From: Vincent Hoffman-Kazlauskas <vince@unsane.co.uk>
To: freebsd-gnats-submit@FreeBSD.org
Subject: device timeouts for ath wlan device on recent stable.
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         146517
>Category:       kern
>Synopsis:       [ath] [wlan] device timeouts for ath wlan device on recent stable.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-net
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 12 13:10:03 UTC 2010
>Closed-Date:    Sun Dec 05 18:06:05 UTC 2010
>Last-Modified:  Sun Dec 05 18:06:05 UTC 2010
>Originator:     Vincent Hoffman-Kazlauskas
>Release:        8-STABLE
>Organization:
>Environment:
FreeBSD ostracod.unsane.co.uk 8.0-STABLE FreeBSD 8.0-STABLE #1 r207610: Tue May  4 15:44:19 BST 2010     toor@ostracod.unsane.co.uk:/scratch/obj/usr/src/sys/OSTRACOD  amd64

>Description:
I'm having issues getting my ath (AR5B91) wireless card working with a recent stable.  It was working with
8.0-RELEASE

I created wlan0 manually for debug
ifconfig wlan0 create wlandev ath0 wlanmode station country GB
wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf
ifconfig wlan0 10.0.0.1/25

if I then ping a known reachable IP on that network I cause a device
timeout.
[root@ostracod ~/wlandebug]# ping 10.0.0.32
PING 10.0.0.32 (10.0.0.32): 56 data bytes
ping: sendto: Network is down
ping: sendto: Network is down
^C
--- 10.0.0.32 ping statistics ---
14 packets transmitted, 0 packets received, 100.0% packet loss


May  8 23:13:38 ostracod kernel: wlan0: Ethernet address: 00:24:23:07:fb:5d
May  8 23:13:41 ostracod kernel: wlan0: link state changed to UP
May  8 23:16:15 ostracod kernel: wlan0: link state changed to DOWN
May  8 23:16:20 ostracod kernel: ath0: device timeout
May  8 23:16:25 ostracod kernel: wlan0: link state changed to UP

Some device info
Its a Zotac ION-ITX-D Atom motherboard with an "Azurewave AR5B91"
wireless card.

ath0@pci0:4:0:0:        class=0x028000 card=0x10671a3b chip=0x002a168c
rev=0x01 hdr=0x00
    vendor     = 'Atheros Communications Inc.'
    device     = 'Atheros AR5B91 Wireless Network Adapter (0001)'
    class      = network

[root@ostracod ~/wlandebug]# uname -a
FreeBSD ostracod.unsane.co.uk 8.0-STABLE FreeBSD 8.0-STABLE #1 r207610:
Tue May  4 15:44:19 BST 2010    
toor@ostracod.unsane.co.uk:/scratch/obj/usr/src/sys/OSTRACOD  amd64

[root@ostracod ~/wlandebug]# more /etc/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
#
# home network; allow all valid ciphers
network={
        ssid="V_WAP"
        scan_ssid=1
        key_mgmt=NONE
        wep_tx_keyidx=0
        wep_key0=xxxxxxxxxxxxxxxxxxxxxxxx
}

I did try wpa instead of wep with the same results.

I've tried
wlandebug -i wlan0 debug+assoc+auth+output+power
and I get
<snip a bunch of stuff thats not relevent>
May  8 23:46:50 ostracod kernel: wlan0: send probe req on channel 12
bssid ff:ff:ff:ff:ff:ff ssid "V_WAP"
May  8 23:46:50 ostracod kernel: wlan0: send probe req on channel 12
bssid ff:ff:ff:ff:ff:ff ssid ""
May  8 23:46:50 ostracod kernel: wlan0: received probe_resp from
94:44:52:0f:2f:c3 rssi 13
May  8 23:46:50 ostracod kernel: wlan0: received beacon from
94:44:52:0f:2f:c3 rssi 14
May  8 23:46:50 ostracod kernel: wlan0: received beacon from
94:44:52:0f:2f:c3 rssi 14
May  8 23:46:50 ostracod kernel: wlan0: [94:44:52:0f:2f:c3] station
assoc via MLME
May  8 23:46:50 ostracod kernel: [94:44:52:0f:2f:c3] send auth on channel 1
May  8 23:46:50 ostracod kernel: wlan0: received auth from
94:44:52:0f:2f:c3 rssi 65
May  8 23:46:50 ostracod kernel: wlan0: [94:44:52:0f:2f:c3] recv auth
frame with algorithm 0 seq 2
May  8 23:46:50 ostracod kernel: [94:44:52:0f:2f:c3] send assoc_req on
channel 1
May  8 23:46:50 ostracod kernel: wlan0: received assoc_resp from
94:44:52:0f:2f:c3 rssi 66
May  8 23:46:50 ostracod kernel: wlan0: [94:44:52:0f:2f:c3] assoc
success at aid 3: long preamble, long slot time
May  8 23:46:50 ostracod kernel: wlan0: associated with
94:44:52:0f:2f:c3 ssid "V_WAP" channel 1 start 0Mb
May  8 23:46:50 ostracod kernel: wlan0: link state changed to UP
May  8 23:47:42 ostracod kernel: wlan0: beacon miss, mode STA state RUN
May  8 23:47:42 ostracod kernel: wlan0: send probe req on channel 1
bssid 94:44:52:0f:2f:c3 ssid "V_WAP"
May  8 23:47:43 ostracod kernel: wlan0: beacon miss, mode STA state RUN
May  8 23:47:43 ostracod kernel: wlan0: link state changed to DOWN
May  8 23:47:43 ostracod kernel: wlan0: [94:44:52:0f:2f:c3] station
assoc via MLME
May  8 23:47:43 ostracod kernel: [94:44:52:0f:2f:c3] send auth on channel 1
May  8 23:47:43 ostracod kernel: wlan0: ieee80211_start: ignore queue,
in AUTH state
May  8 23:47:47 ostracod kernel: ath0: device timeout
May  8 23:47:53 ostracod kernel: wlan0: [94:44:52:0f:2f:c3] station
assoc via MLME
May  8 23:47:53 ostracod kernel: [94:44:52:0f:2f:c3] send auth on channel 1
May  8 23:47:53 ostracod kernel: wlan0: received auth from
94:44:52:0f:2f:c3 rssi 67
May  8 23:47:53 ostracod kernel: wlan0: [94:44:52:0f:2f:c3] recv auth
frame with algorithm 0 seq 2
May  8 23:47:53 ostracod kernel: [94:44:52:0f:2f:c3] send assoc_req on
channel 1
May  8 23:47:53 ostracod kernel: wlan0: received assoc_resp from
94:44:52:0f:2f:c3 rssi 67
May  8 23:47:53 ostracod kernel: wlan0: [94:44:52:0f:2f:c3] assoc
success at aid 3: long preamble, long slot time
May  8 23:47:53 ostracod kernel: wlan0: associated with
94:44:52:0f:2f:c3 ssid "V_WAP" channel 1 start 0Mb
May  8 23:47:53 ostracod kernel: wlan0: link state changed to UP

>How-To-Repeat:
ifconfig wlan0 create wlandev ath0 wlanmode station country GB
wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf
ifconfig wlan0 10.0.0.1/25

if I then ping a known reachable IP on that network I cause a device
timeout.


>Fix:
unknown.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-net 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Wed May 12 15:46:23 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=146517 
State-Changed-From-To: open->feedback 
State-Changed-By: rpaulo 
State-Changed-When: Thu May 13 13:52:34 UTC 2010 
State-Changed-Why:  
Can you try 8.0-RELEASE again? I want to make sure that the problem 
isn't hardware related. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=146517 

From: Vincent Hoffman <vince@unsane.co.uk>
To: bug-followup@FreeBSD.org, vince@unsane.co.uk
Cc:  
Subject: Re: kern/146517: [ath] [wlan] device timeouts for ath wlan device
 on recent stable.
Date: Thu, 13 May 2010 22:22:59 +0100

 Hi,  I retested using the 8.0-RELEASE usb livefs.
 I did not get any timeouts. I did see some packet loss (approx 5-10%)
 however which I dont remember seeing when i was at 8-RELEASE.
 
 Vince

From: Vincent Hoffman <vince@unsane.co.uk>
To: bug-followup@FreeBSD.org, vince@unsane.co.uk
Cc:  
Subject: Re: kern/146517: [ath] [wlan] device timeouts for ath wlan device
 on recent stable.
Date: Mon, 17 May 2010 19:33:47 +0100

 Just an extra data point to confirm that the hardware is good. I tried
 an ubuntu livecd and could happily send thousands of pings (nomally or
 using -f to flood) with no packet loss or other errors.
 
 
State-Changed-From-To: feedback->open 
State-Changed-By: rpaulo 
State-Changed-When: Mon May 17 23:26:43 UTC 2010 
State-Changed-Why:  
feedback given 

http://www.freebsd.org/cgi/query-pr.cgi?pr=146517 

From: Alex Kozlov <spam@rm-rf.kiev.ua>
To: bug-followup@FreeBSD.org, vince@unsane.co.uk, rpaulo@freebsd.org,
	spam@rm-rf.kiev.ua
Cc:  
Subject: Re: kern/146517: [ath] [wlan] device timeouts for ath wlan device
 on recent stable.
Date: Mon, 31 May 2010 21:12:20 +0300

 Hi
 
 I confirm this. Atheros 9280, work fine with 8.0R usb stick,
 timeout after few pings with 8.1-BETA1.
 I can try to find a particular commit, that causes this
 regression, if its help.
 
 
 --
 Adios

From: Rui Paulo <rpaulo@freebsd.org>
To: Alex Kozlov <spam@rm-rf.kiev.ua>
Cc: bug-followup@FreeBSD.org,
 vince@unsane.co.uk
Subject: Re: kern/146517: [ath] [wlan] device timeouts for ath wlan device on recent stable.
Date: Mon, 31 May 2010 20:01:21 +0100

 On 31 May 2010, at 19:12, Alex Kozlov wrote:
 
 > Hi
 > 
 > I confirm this. Atheros 9280, work fine with 8.0R usb stick,
 > timeout after few pings with 8.1-BETA1.
 > I can try to find a particular commit, that causes this
 > regression, if its help.
 
 Yes, please.
 
 Regards,
 --
 Rui Paulo
 
 

From: Vincent Hoffman <vince@unsane.co.uk>
To: bug-followup@FreeBSD.org, vince@unsane.co.uk
Cc:  
Subject: Re: kern/146517: [ath] [wlan] device timeouts for ath wlan device
 on recent stable.
Date: Wed, 09 Jun 2010 08:24:18 +0100

 I've applied and built the patch in PR kern/147638 and so far it seems
 to have fixed it for me. No more timeouts.
 I'll try some more testing if i get the chance but will be on holiday
 for a while from the end of the week for a week.
 
 --
 regards,
 Vince

From: Alex Kozlov <spam@rm-rf.kiev.ua>
To: Rui Paulo <rpaulo@freebsd.org>, bug-followup@FreeBSD.org,
	vince@unsane.co.uk
Cc:  
Subject: Re: kern/146517: [ath] [wlan] device timeouts for ath wlan device
 on recent stable.
Date: Mon, 21 Jun 2010 17:38:59 +0300

 On Mon, May 31, 2010 at 07:30:04PM +0000, Rui Paulo wrote:
 >  > I confirm this. Atheros 9280, work fine with 8.0R usb stick,
 >  > timeout after few pings with 8.1-BETA1.
 >  > I can try to find a particular commit, that causes this
 >  > regression, if its help.
 >  Yes, please.
 Sorry for the delay. I think that the culprit is r203959.
 
 
 --
 Adios

From: Rui Paulo <rpaulo@freebsd.org>
To: Alex Kozlov <spam@rm-rf.kiev.ua>
Cc: bug-followup@FreeBSD.org,
 vince@unsane.co.uk
Subject: Re: kern/146517: [ath] [wlan] device timeouts for ath wlan device on recent stable.
Date: Mon, 21 Jun 2010 17:30:30 +0100

 On 21 Jun 2010, at 15:38, Alex Kozlov wrote:
 
 > On Mon, May 31, 2010 at 07:30:04PM +0000, Rui Paulo wrote:
 >>> I confirm this. Atheros 9280, work fine with 8.0R usb stick,
 >>> timeout after few pings with 8.1-BETA1.
 >>> I can try to find a particular commit, that causes this
 >>> regression, if its help.
 >> Yes, please.
 > Sorry for the delay. I think that the culprit is r203959.
 
 Please try this patch.
 
 Index: ar9280_attach.c
 ===================================================================
 --- ar9280_attach.c	(revision 209351)
 +++ ar9280_attach.c	(working copy)
 @@ -346,7 +346,7 @@
  	regWrites = ath_hal_ini_write(ah, &AH5212(ah)->ah_ini_common,
  	    1, regWrites);
  
 -	if (AR_SREV_MERLIN_20(ah) && IS_5GHZ_FAST_CLOCK_EN(ah, chan)) {
 +	if (AR_SREV_MERLIN_20_OR_LATER(ah) && IS_5GHZ_FAST_CLOCK_EN(ah, chan)) {
  		/* 5GHz channels w/ Fast Clock use different modal values */
  		regWrites = ath_hal_ini_write(ah, &AH9280(ah)->ah_ini_xmodes,
  		    modesIndex, regWrites);
 Index: ar5416_reset.c
 ===================================================================
 --- ar5416_reset.c	(revision 209351)
 +++ ar5416_reset.c	(working copy)
 @@ -636,7 +636,8 @@
  		/* treat channel B as channel G , no  B mode suport in owl */
  		rfMode = IEEE80211_IS_CHAN_CCK(chan) ?
  		    AR_PHY_MODE_DYNAMIC : AR_PHY_MODE_OFDM;
 -		if (AR_SREV_MERLIN_20(ah) && IS_5GHZ_FAST_CLOCK_EN(ah, chan)) {
 +		if (AR_SREV_MERLIN_20_OR_LATER(ah) &&
 +		    IS_5GHZ_FAST_CLOCK_EN(ah, chan)) {
  			/* phy mode bits for 5GHz channels require Fast Clock */
  			rfMode |= AR_PHY_MODE_DYNAMIC
  			       |  AR_PHY_MODE_DYN_CCK_DISABLE;
 @@ -1126,7 +1127,7 @@
  {
  	uint32_t pll;
  
 -	if (AR_SREV_MERLIN_20(ah) &&
 +	if (AR_SREV_MERLIN_20_OR_LATER(ah) &&
  	    chan != AH_NULL && IEEE80211_IS_CHAN_5GHZ(chan)) {
  		/*
  		 * PLL WAR for Merlin 2.0/2.1
 
 
 Regards,
 --
 Rui Paulo
 
 

From: Alex Kozlov <spam@rm-rf.kiev.ua>
To: Rui Paulo <rpaulo@freebsd.org>, bug-followup@FreeBSD.org,
	vince@unsane.co.uk, spam@rm-rf.kiev.ua
Cc:  
Subject: Re: kern/146517: [ath] [wlan] device timeouts for ath wlan device
 on recent stable.
Date: Tue, 22 Jun 2010 16:35:59 +0300

 On Mon, Jun 21, 2010 at 05:30:30PM +0100, Rui Paulo wrote:
 > On 21 Jun 2010, at 15:38, Alex Kozlov wrote:
 > > On Mon, May 31, 2010 at 07:30:04PM +0000, Rui Paulo wrote:
 > >>> I confirm this. Atheros 9280, work fine with 8.0R usb stick,
 > >>> timeout after few pings with 8.1-BETA1.
 > >>> I can try to find a particular commit, that causes this
 > >>> regression, if its help.
 > >> Yes, please.
 > > Sorry for the delay. I think that the culprit is r203959.
 > Please try this patch.
 Patch does not help, but if I change line in AR_SREV_MERLIN_20 from
 AH_PRIVATE((_ah))->ah_macRev == AR_XSREV_REVISION_MERLIN_20
 to
 AH_PRIVATE((_ah))->ah_macRev >= AR_XSREV_REVISION_MERLIN_20
 net works again.
 
 
 --
 Adios

From: Rui Paulo <rpaulo@freebsd.org>
To: Alex Kozlov <spam@rm-rf.kiev.ua>
Cc: bug-followup@FreeBSD.org,
 vince@unsane.co.uk
Subject: Re: kern/146517: [ath] [wlan] device timeouts for ath wlan device on recent stable.
Date: Tue, 22 Jun 2010 17:20:25 +0100

 On 22 Jun 2010, at 14:35, Alex Kozlov wrote:
 
 > On Mon, Jun 21, 2010 at 05:30:30PM +0100, Rui Paulo wrote:
 >> On 21 Jun 2010, at 15:38, Alex Kozlov wrote:
 >>> On Mon, May 31, 2010 at 07:30:04PM +0000, Rui Paulo wrote:
 >>>>> I confirm this. Atheros 9280, work fine with 8.0R usb stick,
 >>>>> timeout after few pings with 8.1-BETA1.
 >>>>> I can try to find a particular commit, that causes this
 >>>>> regression, if its help.
 >>>> Yes, please.
 >>> Sorry for the delay. I think that the culprit is r203959.
 >> Please try this patch.
 > Patch does not help, but if I change line in AR_SREV_MERLIN_20 from
 > AH_PRIVATE((_ah))->ah_macRev =3D=3D AR_XSREV_REVISION_MERLIN_20
 > to
 > AH_PRIVATE((_ah))->ah_macRev >=3D AR_XSREV_REVISION_MERLIN_20
 > net works again.
 
 Yes, I know but that change is incorrect. I need to find the problem =
 where the check should be AR_SREV_MERLIN_20_OR_LATER() instead of =
 AR_SREV_MERLIN_20().
 
 Regards,
 --
 Rui Paulo
 
 

From: Rui Paulo <rpaulo@freebsd.org>
To: Alex Kozlov <spam@rm-rf.kiev.ua>
Cc: bug-followup@FreeBSD.org,
 vince@unsane.co.uk
Subject: Re: kern/146517: [ath] [wlan] device timeouts for ath wlan device on recent stable.
Date: Sat, 26 Jun 2010 21:52:11 +0100

 On 22 Jun 2010, at 14:35, Alex Kozlov wrote:
 
 > On Mon, Jun 21, 2010 at 05:30:30PM +0100, Rui Paulo wrote:
 >> On 21 Jun 2010, at 15:38, Alex Kozlov wrote:
 >>> On Mon, May 31, 2010 at 07:30:04PM +0000, Rui Paulo wrote:
 >>>>> I confirm this. Atheros 9280, work fine with 8.0R usb stick,
 >>>>> timeout after few pings with 8.1-BETA1.
 >>>>> I can try to find a particular commit, that causes this
 >>>>> regression, if its help.
 >>>> Yes, please.
 >>> Sorry for the delay. I think that the culprit is r203959.
 >> Please try this patch.
 > Patch does not help, but if I change line in AR_SREV_MERLIN_20 from
 > AH_PRIVATE((_ah))->ah_macRev == AR_XSREV_REVISION_MERLIN_20
 > to
 > AH_PRIVATE((_ah))->ah_macRev >= AR_XSREV_REVISION_MERLIN_20
 > net works again.
 
 I think this is the correct version. Can you try?
 
 Index: ar5416/ar5416reg.h
 ===================================================================
 --- ar5416/ar5416reg.h	(revision 209522)
 +++ ar5416/ar5416reg.h	(working copy)
 @@ -611,8 +611,8 @@
  	(AR_SREV_MERLIN(_ah) && \
  	 AH_PRIVATE((_ah))->ah_macRev == AR_XSREV_REVISION_MERLIN_20)
  #define	AR_SREV_MERLIN_20_OR_LATER(_ah) \
 -	(AR_SREV_MERLIN_20(_ah) || \
 -	 AH_PRIVATE((_ah))->ah_macVersion > AR_XSREV_VERSION_MERLIN)
 +	(AR_SREV_MERLIN(_ah) || \
 +	 AH_PRIVATE((_ah))->ah_macVersion >= AR_XSREV_VERSION_MERLIN_20)
  
  #define	AR_SREV_KITE(_ah) \
  	(AH_PRIVATE((_ah))->ah_macVersion == AR_XSREV_VERSION_KITE)
 
 
 Regards,
 --
 Rui Paulo
 
 

From: Rui Paulo <rpaulo@FreeBSD.org>
To: Rui Paulo <rpaulo@freebsd.org>
Cc: Alex Kozlov <spam@rm-rf.kiev.ua>,
 bug-followup@FreeBSD.org,
 vince@unsane.co.uk
Subject: Re: kern/146517: [ath] [wlan] device timeouts for ath wlan device on recent stable.
Date: Sat, 26 Jun 2010 21:58:03 +0100

 On 26 Jun 2010, at 21:52, Rui Paulo wrote:
 
 > 
 > On 22 Jun 2010, at 14:35, Alex Kozlov wrote:
 > 
 >> On Mon, Jun 21, 2010 at 05:30:30PM +0100, Rui Paulo wrote:
 >>> On 21 Jun 2010, at 15:38, Alex Kozlov wrote:
 >>>> On Mon, May 31, 2010 at 07:30:04PM +0000, Rui Paulo wrote:
 >>>>>> I confirm this. Atheros 9280, work fine with 8.0R usb stick,
 >>>>>> timeout after few pings with 8.1-BETA1.
 >>>>>> I can try to find a particular commit, that causes this
 >>>>>> regression, if its help.
 >>>>> Yes, please.
 >>>> Sorry for the delay. I think that the culprit is r203959.
 >>> Please try this patch.
 >> Patch does not help, but if I change line in AR_SREV_MERLIN_20 from
 >> AH_PRIVATE((_ah))->ah_macRev == AR_XSREV_REVISION_MERLIN_20
 >> to
 >> AH_PRIVATE((_ah))->ah_macRev >= AR_XSREV_REVISION_MERLIN_20
 >> net works again.
 > 
 > I think this is the correct version. Can you try?
 > 
 > Index: ar5416/ar5416reg.h
 > ===================================================================
 > --- ar5416/ar5416reg.h	(revision 209522)
 > +++ ar5416/ar5416reg.h	(working copy)
 > @@ -611,8 +611,8 @@
 > 	(AR_SREV_MERLIN(_ah) && \
 > 	 AH_PRIVATE((_ah))->ah_macRev == AR_XSREV_REVISION_MERLIN_20)
 > #define	AR_SREV_MERLIN_20_OR_LATER(_ah) \
 > -	(AR_SREV_MERLIN_20(_ah) || \
 > -	 AH_PRIVATE((_ah))->ah_macVersion > AR_XSREV_VERSION_MERLIN)
 > +	(AR_SREV_MERLIN(_ah) || \
 > +	 AH_PRIVATE((_ah))->ah_macVersion >= AR_XSREV_VERSION_MERLIN_20)
 > 
 > #define	AR_SREV_KITE(_ah) \
 > 	(AH_PRIVATE((_ah))->ah_macVersion == AR_XSREV_VERSION_KITE)
 
 Actually, forget this. You were right. I'll commit your fix.
 
 Thanks,
 --
 Rui Paulo
 
 

From: Vincent Hoffman <vince@unsane.co.uk>
To: bug-followup@FreeBSD.org, vince@unsane.co.uk
Cc:  
Subject: Re: kern/146517: [ath] [wlan] device timeouts for ath wlan device
 on recent stable.
Date: Tue, 06 Jul 2010 21:23:50 +0100

 Hi,  I've updated to
 FreeBSD ostracod.unsane.co.uk 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #7
 r209709M: Mon Jul  5 15:24:57 BST 2010    
 toor@ostracod.unsane.co.uk:/scratch/obj/usr/src/sys/OSTRACOD  amd64
 And its much improved, I'm no longer seeing timeouts. I am seeing
 occasional packet loss but as I mentioned previously I did from a
 8.0-RELEASE live usb too.
 
 [root@ostracod ~]# ping -c 1000 -i 0.1 -q 10.10.10.5
 PING 10.10.10.5 (10.10.10.5): 56 data bytes
 
 --- 10.10.10.5 ping statistics ---
 1000 packets transmitted, 928 packets received, 7.2% packet loss
 round-trip min/avg/max/stddev = 1.150/3.006/30.993/4.813 ms
 
 
 Vince
 
 
State-Changed-From-To: open->closed 
State-Changed-By: gavin 
State-Changed-When: Sun Dec 5 18:03:54 UTC 2010 
State-Changed-Why:  
This was fixed in r209541/r209548 and was merged before 8.1 was released. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=146517 
>Unformatted:
