Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jun 2010 21:00:16 GMT
From:      Rui Paulo <rpaulo@FreeBSD.org>
To:        freebsd-net@FreeBSD.org
Subject:   Re: kern/146517: [ath] [wlan] device timeouts for ath wlan device on recent stable.
Message-ID:  <201006262100.o5QL0GNO078892@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/146517; it has been noted by GNATS.

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
 
 



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