Re: [CFT] Ralink RT2860, RT2870, RT3060, RT3090 support

From: Sergey V. Dyatko <sergey.dyatko_at_gmail.com>
Date: Sat, 5 May 2012 15:27:28 +0300
On Sat, 5 May 2012 12:51:10 +0200
Bernhard Schmidt <bschmidt_at_freebsd.org> wrote:

> On Saturday 05 May 2012 09:52:58 Sergey V. Dyatko wrote:
> > On Thu, 3 May 2012 18:53:52 +0200
> > Bernhard Schmidt <bschmidt_at_freebsd.org> wrote:
> > 
> > > Hi folks,
> > > 
> > > As some of you might know there has been some work going on
> > > porting support for new Ralink chipsets from OpenBSD. Several
> > > different drivers where floating around but nothing seemed to be
> > > decent enough to be committed. ray_at_ and I had been working on
> > > cleaning up one of those to get it into a good enough shape, but
> > > abandoned this approach as it resulted in more work than starting
> > > from scratch.
> > > 
> > > So, attached diff [1] is a from-scratch effort to port over
> > > support for the new chipsets. It doesn't contain fancy stuff like
> > > 802.11n support as of yet (this will be worked one once the
> > > legacy stuff is in HEAD), nonetheless it showed pretty decent
> > > performance during the basic sta/adhoc/hostap tests I've done.
> > > 
> > > I'd appreciate testing and feedback ;)
> > > 
> > at 1st I would say 'Thank You' for all people who working on this :)
> > 
> > patch, make, make install, kldload:
> > http://tiger.ipfw.ru/files/rt2860_3090.txt
> > 
> > this is  FreeBSD 10.0-CURRENT, r234992M: Fri May  4 11:25:53 FET
> > 2012 from time to time on messages:
> > May  5 10:32:47 laptop kernel: ral0: device timeout
> > May  5 10:37:49 laptop kernel: ral0: device timeout
> > May  5 10:42:50 laptop kernel: ral0: device timeout
> > 
> > LED... is just glowing, rarely blinks. With patch from Alexander
> > (ray_at_) it doesn't work
> > 
> > [tiger_at_laptop]~%scp
> > tiger:/storage/FreeBSD-8.2-RELEASE-amd64-dvd1.iso .
> > FreeBSD-8.2-RELEASE-amd64-dvd1.iso
> > 11% 271MB   1.9MB/s   18:19 ETA ^C
> > Killed by signal 2.
> > where 'tiger' is my desktop
> 
> Please apply attached patch (also here [1]) on top of the first one,
> it fixes channel switching for >= 3070 (called the wrong function,
> doh..) as well as a bgscan issue.
> 
> [1] http://techwires.net/~bschmidt/rt2860_1.diff
> 

* patch applied without errors
* build/install - ok

kldload and after ~5 minutes:

May  5 15:01:20 laptop kernel: ral0: device timeout
May  5 15:06:12 laptop kernel: ral0: device timeout

without bgscan I didn't see such messages  ~30-40 min

-- 
wbr, tiger
Received on Sat May 05 2012 - 10:26:56 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:26 UTC