From owner-freebsd-wireless@FreeBSD.ORG Sun Mar 11 04:15:17 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 F160E1065673 for ; Sun, 11 Mar 2012 04:15:16 +0000 (UTC) (envelope-from sendtomatt@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id BC7338FC15 for ; Sun, 11 Mar 2012 04:15:16 +0000 (UTC) Received: by dald2 with SMTP id d2so3788372dal.13 for ; Sat, 10 Mar 2012 20:15:16 -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:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=tcy2nugL7R0zAMu1Aua1Msi+nUYDakb+8CSAkuPqNQk=; b=r0OJJM1Q0BpazIOi+yqoti5SJXGa+svFK5dyobq5kIHxILxWdz8YklNvS9FKRs8Pc8 KpYgGKErGsCCSTOEvdaXPPwl9xct6ggyDd48QzQqNKRgROQjDzyk4Z7V3m+9MoLd6+82 ImH+YHjL0V8NT78FQgXtNLPys4YDxy56mLYoFpSMqTVO7kEvnl2rB+7TtYeEI/nPP0oB XikQlC1UcMjgoa36S4VfM+a7xwBhrr8l8TTzMpULRJh+/8FjcBF/Oi1HSl8XiuxBa3i6 n/8GVvHzToV6c7yULxD9uDTeUtvn6AhN5Sbv/cK+tQlMj5wsuFwYIWngJ5ykrbVU7Zkw GcvA== Received: by 10.68.219.164 with SMTP id pp4mr12964246pbc.2.1331439316386; Sat, 10 Mar 2012 20:15:16 -0800 (PST) Received: from flatline.local (70-36-223-154.dsl.dynamic.sonic.net. [70.36.223.154]) by mx.google.com with ESMTPS id y3sm7430540pbr.46.2012.03.10.20.15.14 (version=SSLv3 cipher=OTHER); Sat, 10 Mar 2012 20:15:15 -0800 (PST) Message-ID: <4F5C26CD.70701@gmail.com> Date: Sat, 10 Mar 2012 20:15:09 -0800 From: matt User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0.2) Gecko/20120218 Thunderbird/10.0.2 MIME-Version: 1.0 To: Sevan / Venture37 References: <4F41DDE8.6060004@gmail.com> <4F48166A.5040301@gmail.com> <4F4828C0.6020705@gmail.com> <4F5A8023.1090705@gmail.com> <4F5AC7CF.3090409@gmail.com> <4F5C0C86.7040503@gmail.com> In-Reply-To: <4F5C0C86.7040503@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-wireless@freebsd.org 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 04:15:17 -0000 On 03/10/12 18:23, Sevan / Venture37 wrote: > 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 > > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to > "freebsd-wireless-unsubscribe@freebsd.org" > Re access points...try "ifconfig wlan0 create wlandev ral0" ifconfig ral0 up (just in case...) ifconfig wlan0 up sleep 1 ifconfig wlan0 scan I have seen it take a second for results to be available, i.e. "up scan" returns no list. Re: errors: Did you by chance build the module along with kernel or separately? Matt