|
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@ 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 ;) The diff requires HEAD due to the firmware being available only there, though, if there are enough requests, I might consider looking into getting it merged to 9. (Simply pulling sys/modules/ralfw/ and sys/contrib/dev/ral/ from HEAD might be enough I guess.) [1] http://techwires.net/~bschmidt/rt2860.diff -- Bernhard _______________________________________________ [hidden email] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[hidden email]" |
|
Hi,
First off, let me say "thankyou" to you, ray@ and all the people who have chipped away at this little problem. I look very forward to having rt2xxx 802.11n support, as do many users on the forums. :) I haven't yet done a pass or two to see what the state of the locking/concurrency handling is. Don't let that stop you from committing it though, I'm sure we can find/fix whatever issues creep up post-commit. Thanks again! Adrian _______________________________________________ [hidden email] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[hidden email]" |
|
On 05/03/12 11:18, Adrian Chadd wrote:
> Hi, > > First off, let me say "thankyou" to you, ray@ and all the people who > have chipped away at this little problem. I look very forward to > having rt2xxx 802.11n support, as do many users on the forums. :) > > I haven't yet done a pass or two to see what the state of the > locking/concurrency handling is. Don't let that stop you from > committing it though, I'm sure we can find/fix whatever issues creep > up post-commit. > > Thanks again! > > > > Adrian > _______________________________________________ > [hidden email] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "[hidden email]" > I'm sure there are many people with this chipset that are going to be very happy. It's good that we have something homegrown as well. I'll try to test it this weekend on my rt3090. Matt _______________________________________________ [hidden email] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[hidden email]" |
|
In reply to this post by Bernhard Schmidt-6
On Thu, 3 May 2012 18:53:52 +0200
Bernhard Schmidt <[hidden email]> 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@ 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 ;) > 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@) it doesn't work [tiger@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 > The diff requires HEAD due to the firmware being available only there, > though, if there are enough requests, I might consider looking into > getting it merged to 9. (Simply pulling sys/modules/ralfw/ and > sys/contrib/dev/ral/ from HEAD might be enough I guess.) > > [1] http://techwires.net/~bschmidt/rt2860.diff > -- wbr, tiger _______________________________________________ [hidden email] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[hidden email]" |
|
On Saturday 05 May 2012 09:52:58 Sergey V. Dyatko wrote:
> On Thu, 3 May 2012 18:53:52 +0200 > Bernhard Schmidt <[hidden email]> 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@ 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 That interval is fishy.. can you try do disable bgscan? ifconfig wlan0 -bgscan > LED... is just glowing, rarely blinks. With patch from Alexander (ray@) > it doesn't work > > [tiger@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 > > > > The diff requires HEAD due to the firmware being available only there, > > though, if there are enough requests, I might consider looking into > > getting it merged to 9. (Simply pulling sys/modules/ralfw/ and > > sys/contrib/dev/ral/ from HEAD might be enough I guess.) > > > > [1] http://techwires.net/~bschmidt/rt2860.diff > > > > > > -- Bernhard _______________________________________________ [hidden email] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[hidden email]" |
|
In reply to this post by Sergey V. Dyatko
On Saturday 05 May 2012 09:52:58 Sergey V. Dyatko wrote:
> On Thu, 3 May 2012 18:53:52 +0200 > Bernhard Schmidt <[hidden email]> 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@ 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@) > it doesn't work > > [tiger@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 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 -- Bernhard _______________________________________________ [hidden email] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[hidden email]" |
|
On Sat, 5 May 2012 12:51:10 +0200
Bernhard Schmidt <[hidden email]> wrote: > On Saturday 05 May 2012 09:52:58 Sergey V. Dyatko wrote: > > On Thu, 3 May 2012 18:53:52 +0200 > > Bernhard Schmidt <[hidden email]> 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@ 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@) it doesn't work > > > > [tiger@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 _______________________________________________ [hidden email] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[hidden email]" |
|
On Sat, May 5, 2012 at 2:27 PM, Sergey V. Dyatko
<[hidden email]> wrote: > On Sat, 5 May 2012 12:51:10 +0200 > Bernhard Schmidt <[hidden email]> wrote: >> 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 Ok great, so except bgscan you haven't seen any other issue yet? -- Bernhard _______________________________________________ [hidden email] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[hidden email]" |
|
On Sat, 5 May 2012 14:50:52 +0200
Bernhard Schmidt <[hidden email]> wrote: > On Sat, May 5, 2012 at 2:27 PM, Sergey V. Dyatko > <[hidden email]> wrote: > > On Sat, 5 May 2012 12:51:10 +0200 > > Bernhard Schmidt <[hidden email]> wrote: > >> 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 > > Ok great, so except bgscan you haven't seen any other issue yet? > Yes. -- wbr, tiger _______________________________________________ [hidden email] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[hidden email]" |
|
Hi,
FWIW, "device timeout" may just be watchdog related race conditions, rather than an actual hardware device timeout. I have the same issues in ath(4). I need to fix a whole lot of locking constructs before I can fix 'that'. Adrian _______________________________________________ [hidden email] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[hidden email]" |
|
In reply to this post by Bernhard Schmidt-6
On Sat, May 5, 2012 at 12:51 PM, Bernhard Schmidt <[hidden email]> wrote:
> 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 And another update [1] on top of the other 2 patches. * fix TX DMA, a wrong dmat has been used * add some more PCI IDs * disable debugging output by default * disable bgscan until it's sorted out * a printf is now hidden behind bootverbose So far it looks quite good, no open issues at the moment, keep on testing! ;) If nothing new comes up within the next few days I intend to commit this by the end of the week or something. [1] http://techwires.net/~bschmidt/rt2860_2.diff -- Bernhard _______________________________________________ [hidden email] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[hidden email]" |
| Powered by Nabble | Edit this page |
