From owner-freebsd-wireless@FreeBSD.ORG Sun Jun 5 22:24:57 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 1B266106566C for ; Sun, 5 Jun 2011 22:24:57 +0000 (UTC) (envelope-from sendtomatt@gmail.com) Received: from mail-px0-f172.google.com (mail-px0-f172.google.com [209.85.212.172]) by mx1.freebsd.org (Postfix) with ESMTP id DDF038FC08 for ; Sun, 5 Jun 2011 22:24:56 +0000 (UTC) Received: by pxi6 with SMTP id 6so2140115pxi.17 for ; Sun, 05 Jun 2011 15:24:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=qbKe7v3Z/ETmy4CImhjAWxP/+4FosINX3OSlYodxj+w=; b=Hqft3zGUJel7g9voU1SqTCtMLddb1yT1QkPzU3pBCsewzm03QliR/d/GwBko21tpMb tsUA1VlWfzHpHYx+LnjyNufj7PMpgs30ZAmu69dlt+WBTyzGK9ZB8DowNGp4WnSs1zLF xdUgmH8RMpSr3qre+AEP078I/At5d/qEdYdGA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=Si0Z28DMUjxCCyqumZyxNlE/EcgMKiUY/+Eh+X1Gd+IMEjqkFnNk7dNcRV060MEZIG 1GZsVjm9SOIn2Rudrv+tZBjrwK/rftIMIdyMqwbyPUphLwlO8TqhIJoLo11K6QNjUib8 ja1iU+hDLf6ZJ5GaXuBgyBfnSoggPisFjaOKY= Received: by 10.68.54.170 with SMTP id k10mr1671249pbp.522.1307312696400; Sun, 05 Jun 2011 15:24:56 -0700 (PDT) Received: from sidhe.local ([75.111.37.204]) by mx.google.com with ESMTPS id y2sm3193169pbg.88.2011.06.05.15.24.53 (version=SSLv3 cipher=OTHER); Sun, 05 Jun 2011 15:24:54 -0700 (PDT) Message-ID: <4DEC0234.8030300@gmail.com> Date: Sun, 05 Jun 2011 15:24:52 -0700 From: Matt User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.17) Gecko/20110502 Thunderbird/3.1.10 MIME-Version: 1.0 To: freebsd-wireless@freebsd.org References: <4DD365A2.3090106@gmail.com> <20110518100203.7bfa63be@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 22:24:57 -0000 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. 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. Matt