From owner-freebsd-net@FreeBSD.ORG Sat May 5 12:26:56 2012 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CCE241065676; Sat, 5 May 2012 12:26:56 +0000 (UTC) (envelope-from sergey.dyatko@gmail.com) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id 761498FC0C; Sat, 5 May 2012 12:26:55 +0000 (UTC) Received: by lbon10 with SMTP id n10so3529121lbo.13 for ; Sat, 05 May 2012 05:26:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; bh=0XIFRp8+T8dBFkkCqCZ9l0EJwcJQj1P9g9zEgWKOBx0=; b=acaeft1p4YHptBWdwtK2NhzwJ1uxccSkF+dgSvYgDyOFZ6XsXvpTNzWki9NeLctA/t P9F/fkrGRdcWVk+KXy3ii1zc5fVn+kjODaKLFVmMK/g8ZsBHm/zTIujhMXQsSCyIRgQm kK6VLaKK7sEj/6f+NxQBuzvyRjMfiLDafDoKKPczbs8IzGNjYytw8D8LUVPIvPUbh5Z9 SfnNDfnWJStd+DeollT480CY5vGYZUXsYTAup2Ai/DtLsUxfW1aYSYlrHHDPxeeNI/X5 JaZwyuVMz7Fb+DayCjCIEj79LFzUYGeHd60ksquFqCkPrJhg0gHb/ZhC4hs52nZU4cFN W16Q== Received: by 10.152.112.100 with SMTP id ip4mr8960103lab.1.1336220814122; Sat, 05 May 2012 05:26:54 -0700 (PDT) Received: from laptop (m-s.agava.net. [195.222.84.203]) by mx.google.com with ESMTPS id b5sm14946614lbg.15.2012.05.05.05.26.51 (version=SSLv3 cipher=OTHER); Sat, 05 May 2012 05:26:52 -0700 (PDT) Date: Sat, 5 May 2012 15:27:28 +0300 From: "Sergey V. Dyatko" To: Bernhard Schmidt Message-ID: <20120505152728.65d28e98@laptop> In-Reply-To: <201205051251.10431.bschmidt@freebsd.org> References: <201205031853.53102.bschmidt@freebsd.org> <20120505105258.28e28803@laptop> <201205051251.10431.bschmidt@freebsd.org> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org, freebsd-wireless@freebsd.org, freebsd-current@freebsd.org Subject: Re: [CFT] Ralink RT2860, RT2870, RT3060, RT3090 support X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2012 12:26:57 -0000 On Sat, 5 May 2012 12:51:10 +0200 Bernhard Schmidt wrote: > On Saturday 05 May 2012 09:52:58 Sergey V. Dyatko wrote: > > On Thu, 3 May 2012 18:53:52 +0200 > > Bernhard Schmidt 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