From owner-freebsd-net@FreeBSD.ORG Sat May 5 08:24:23 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 A99AC106566C for ; Sat, 5 May 2012 08:24:23 +0000 (UTC) (envelope-from bschmidt@techwires.net) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 305BB8FC17 for ; Sat, 5 May 2012 08:24:23 +0000 (UTC) Received: by weyt57 with SMTP id t57so2936682wey.13 for ; Sat, 05 May 2012 01:24:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id :x-gm-message-state; bh=7zI+MozWr2PwNC6S/D+rWBKo3+Vgtldt8Dyl8hUleGY=; b=aWtaC9BWTuriUsYS8SS35XBB6+E9A/DqqzLLRZqs7dDXP+uQW96PFpJqkViGdulyUa hv2qwz0QfmzlkEFbSkidUHZiEgeYV17v6bZ/ph1QHlJluSKgr7bPaQGxIl0nTmfSX0H+ p6uUgJF4t3iH8ZM1IRJmljDItXeJ+Ne2cxQbYwz5RqmEt/SyOD219bIYoGpHfEmYds4l QARJs1aezkm4hLQ9WC1jRvRFbB4sDPsn35f6vUTdtDFM64GKAbS9mGp1EjhywSlvaZQU HIOnE6ir8zgj1VED3UwO9GvLFxvUPOviJhl116eQfEneyTXyQUjE4NMhcmXHG2byYMcW 9n7w== Received: by 10.180.83.198 with SMTP id s6mr19630574wiy.8.1336206261373; Sat, 05 May 2012 01:24:21 -0700 (PDT) Received: from amy.lab.techwires.net (dslb-088-067-196-237.pools.arcor-ip.net. [88.67.196.237]) by mx.google.com with ESMTPS id ca3sm3711961wib.6.2012.05.05.01.24.17 (version=SSLv3 cipher=OTHER); Sat, 05 May 2012 01:24:20 -0700 (PDT) Sender: Bernhard Schmidt From: Bernhard Schmidt To: "Sergey V. Dyatko" Date: Sat, 5 May 2012 10:24:40 +0200 User-Agent: KMail/1.13.7 (FreeBSD/9.0-STABLE; KDE/4.7.4; amd64; ; ) References: <201205031853.53102.bschmidt@freebsd.org> <20120505105258.28e28803@laptop> In-Reply-To: <20120505105258.28e28803@laptop> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201205051024.40771.bschmidt@freebsd.org> X-Gm-Message-State: ALoCoQkKl4t6VLc8RcvsQQG4qRhQawbsi183eJAnHlRXGlfEGQKUJlkwF0NuNkrQLIxuibJULbTW 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 08:24:23 -0000 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 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