From owner-freebsd-wireless@FreeBSD.ORG Sun Mar 11 04:07: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 35D671065670 for ; Sun, 11 Mar 2012 04:07:17 +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 F308B8FC0A for ; Sun, 11 Mar 2012 04:07:16 +0000 (UTC) Received: by dald2 with SMTP id d2so3782358dal.13 for ; Sat, 10 Mar 2012 20:07: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=oCg5fq8sq61a2Lwpdz1vSat4LMkSwlnjYHUBasI+HKU=; b=LAcRYxvgQWFXV4Tn5ZpHqhTUnFsvDuP3RinCpJ6hGn9SUHFwsXgGI3E3YMED6pwlOK NvhVNVksrG8+DL6+o545IM72/HLub4b1AWwg0T8Q05UPhajEWlrXehnGVdJrF7Wn0rI0 3HQpk83kGljRQcOVAlk6VAF8SbJEnUV6KofGM1tsVFm+emzcZB4H8EIW8D155nzxu1g8 T+WqHCXbt4EGeVAQzl6wl3Bn1NfvSkRaCGJVR43ivblNdi039Tf6Yai80vVP72mPh4xW YKAs/LMtcZryjqOJ2rHXlLIGpis/3FWVbfLOgu+sVVdct6Iam7e+qGjr7PFC/syg1c01 tDjg== Received: by 10.68.129.100 with SMTP id nv4mr11953629pbb.109.1331438836808; Sat, 10 Mar 2012 20:07: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 w6sm6385350pbf.66.2012.03.10.20.07.14 (version=SSLv3 cipher=OTHER); Sat, 10 Mar 2012 20:07:15 -0800 (PST) Message-ID: <4F5C24ED.3090601@gmail.com> Date: Sat, 10 Mar 2012 20:07: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:07: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" > What several errors? Compiles fine against head...are you compiling against 9? clang? Or is the patch dumping the modules and dev folder out early? Confused...it worked fine here...I admit my patch-fu is weak :). Looks good on attach though...I only have a 1t1r so it's nice to see something else attach. Thanks, Matt