From owner-freebsd-wireless@FreeBSD.ORG Sun Mar 11 02:23:06 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EF03F106564A for ; Sun, 11 Mar 2012 02:23:06 +0000 (UTC) (envelope-from venture37@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 6CC108FC15 for ; Sun, 11 Mar 2012 02:23:05 +0000 (UTC) Received: by wern13 with SMTP id n13so411063wer.13 for ; Sat, 10 Mar 2012 18:23:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=iags5KlId3NGtombETBR/xwK2bd6Y56JDjY1wCxUfiQ=; b=PqDllHN8VT265k51CYsyNV7ajaNCqAloT/5iACexErKiwFuKK+Mij4jf0h9LQaFCa2 sHSJTeMzbA3MqYx9OtJAPcw3uyBg513nh4r4kg/+lMGqjgX6E1bQsPI/RA92v5bi3V3t 7PaSuClfHbqTjQ7FQMVXHwyrBw4OU225L9Zv+IRWiw0lmqUQTGaGv1c+6ENBOYMe7gOE YOee+QS84i6a+xXzPa//X26K7yLmLAYsk/biMrtkRMtMwMSUcq9fbJ0nJDMYYDjwQjrz wXTJqFUquR3oHsWluHUgZvTDP10oOfqnRokvnJDTqy/Sm2ACzFiBQI5gK1wEsAjRPshH sVfQ== Received: by 10.180.86.105 with SMTP id o9mr16431482wiz.4.1331432585168; Sat, 10 Mar 2012 18:23:05 -0800 (PST) Received: from Sevans-MacBook-Pro.local (cpc2-brig17-2-0-cust527.3-3.cable.virginmedia.com. [81.101.198.16]) by mx.google.com with ESMTPS id ff2sm35014263wib.9.2012.03.10.18.23.03 (version=SSLv3 cipher=OTHER); Sat, 10 Mar 2012 18:23:04 -0800 (PST) Message-ID: <4F5C0C86.7040503@gmail.com> Date: Sun, 11 Mar 2012 02:23:02 +0000 From: Sevan / Venture37 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: freebsd-wireless@freebsd.org References: <4F41DDE8.6060004@gmail.com> <4F48166A.5040301@gmail.com> <4F4828C0.6020705@gmail.com> <4F5A8023.1090705@gmail.com> <4F5AC7CF.3090409@gmail.com> In-Reply-To: <4F5AC7CF.3090409@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Please Test: Updated Ral Driver Patch for rt2860/rt3090 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, 11 Mar 2012 02:23:07 -0000 On 10/03/2012 03:17, matt wrote: > Hi Folks! Thanks for the patience :) Hi Matt, > Here's the patch for HEAD: > > https://docs.google.com/open?id=0B6YlMzJxarGbR1lSZ0hnTEFSREt6MU1MbGFKeURhUQ The patch you linked to above had several errors which prevented it from being built, I've cleaned things up & added them to a mercurial repo https://bitbucket.org/sevan/ral/overview (you're welcome to have write access Matt if you don't plan on hosting the files elsewhere) both directories just need to be copied to /usr/src/sys > You will see an invalid eeprom low-noise amplifier gain for low-noise > amplifiers you don't have. If it doesn't attach at all, send me your PCI > ids and we can add them to the attach code and see if they work. > > My expectation is everything from rt2860-rt3090 at least will work. The driver attaches but ifconfig wlan0 scan doesn't show any access points ral0: mem 0xf7f00000-0xf7f0ffff irq 17 at device 0.0 on pci3 ral0: invalid EEPROM LNA gain #2: 0x00 ral0: invalid EEPROM LNA gain #3: 0x00 ral0: invalid EEPROM powersave level ral0: MAC/BBP RT2860 (rev 0x28720200), RF RT3022 2.4G 2T2R ral0: skip channel 10, could not find extension channel ral0: skip channel 11, could not find extension channel ral0: skip channel 12, could not find extension channel ral0: skip channel 13, could not find extension channel ral0: skip channel 14, could not find extension channel ral0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps ral0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps ral0: 2T2R ral0: 11ng MCS 20MHz ral0: MCS 0-7: 6.5Mbps - 65Mbps ral0: MCS 8-15: 13Mbps - 130Mbps ral0: 11ng MCS 20MHz SGI ral0: MCS 0-7: 7Mbps - 72Mbps ral0: MCS 8-15: 14.5Mbps - 144.5Mbps ral0: 11ng MCS 40MHz: ral0: MCS 0-7: 13.5Mbps - 135Mbps ral0: MCS 8-15: 27Mbps - 270Mbps ral0: 11ng MCS 40MHz SGI: ral0: MCS 0-7: 15Mbps - 150Mbps ral0: MCS 8-15: 30Mbps - 300Mbps Sevan / Venture37