From owner-freebsd-wireless@FreeBSD.ORG Sun Jun 5 23:48:28 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 876FE106566B for ; Sun, 5 Jun 2011 23:48:28 +0000 (UTC) (envelope-from ray@ddteam.net) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 22F828FC17 for ; Sun, 5 Jun 2011 23:48:27 +0000 (UTC) Received: by fxm11 with SMTP id 11so3168214fxm.13 for ; Sun, 05 Jun 2011 16:48:27 -0700 (PDT) Received: by 10.223.95.197 with SMTP id e5mr2720149fan.110.1307316199336; Sun, 05 Jun 2011 16:23:19 -0700 (PDT) Received: from rnote.ddteam.net (144-10-133-95.pool.ukrtel.net [95.133.10.144]) by mx.google.com with ESMTPS id g8sm1146755fai.20.2011.06.05.16.23.17 (version=SSLv3 cipher=OTHER); Sun, 05 Jun 2011 16:23:18 -0700 (PDT) Date: Mon, 6 Jun 2011 02:22:57 +0300 From: Aleksandr Rybalko To: Matt Message-Id: <20110606022257.39093142.ray@ddteam.net> In-Reply-To: <4DEC0234.8030300@gmail.com> References: <4DD365A2.3090106@gmail.com> <20110518100203.7bfa63be@gmail.com> <4DEC0234.8030300@gmail.com> X-Mailer: Sylpheed 3.1.0 (GTK+ 2.22.1; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-wireless@freebsd.org Subject: Re: Ralink RT3090/RT2860 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jun 2011 23:48:28 -0000 Hi folks, On Sun, 05 Jun 2011 15:24:52 -0700 Matt wrote: > On 05/18/11 00:36, Adrian Chadd wrote: > > On 18 May 2011 15:02, Sergey V. Dyatko > > wrote: > > > >> As far I know Alexandr is too busy now (ported fbsd into one of > >> d-link device). Hi have plans port ral code from openbsd. IIRC it > >> was discussed not so long ago, in current@ > > This thread reads to me like "hi, would someone like to pick up > > Alex's work, liase with Alex/Bernhard, and bring the code up to > > scratch so we can commit it to FreeBSD". > > > > Matt, how's your C? :) > > > > > > Adrian > > > I've successfully got Alexandr's code worked into the Ral driver. > This mainly involved some changes to if_ral_pci.c, renaming some > softc stuff and pulling PCI code out of rt2860_attach. Must say, that code not mine, wrote by Alexander Egorenkov (based on OpenBSD one) + OpenBSD part for 3090 (but seems w/o LEDs :) ) and plus my part for wireless embedded into SoC like RT3052F. > > It's stable so far, WPA2 works fine as does Host AP etc (haven't > tried with encryption). I haven't tested AHdemo, I assume monitor > mode works. > > I want to eventually go through and place some chip specific fixes > for 3090 etc., and possibly compare functions between different > sources and make sure we're doing it right. > > Some questions: > 1) If I kldunload if_ral while associated and flood pinging, I get > "no route" for a while and then a page fault (only bug I've found so > far). I assume this is something dumb I've done during detach? > > 2) My LED does not work. I have this in a Thinkpad WWAN slot, which > are known to have issues with LED on some chips. A broadcom 4321 did > activate the led in this slot. Can anyone confirm if they had a > working LED using Alexandr's RT2860 stand alone driver? Or does work > on LED code need to occur? > > Cheers, I'll remove my ugly printfs and post a patch or tarball later > today. Anyway, we (Adrian, Bernhard, PseudoCylon and me) discuss what there is preferred to port current version of OpenBSD `ral` driver, and keep it sync in future. But only one problem here, we all don't have time right now for that :) > > Matt I hope someone found a time for it :) WBW -- Aleksandr Rybalko