From owner-freebsd-wireless@FreeBSD.ORG Sun Jul 3 00:01:03 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 DA0311065673 for ; Sun, 3 Jul 2011 00:01:03 +0000 (UTC) (envelope-from gavin.atkinson@ury.york.ac.uk) Received: from ixe-mta-27.emailfiltering.com (ixe-mta-27-tx.emailfiltering.com [194.116.199.158]) by mx1.freebsd.org (Postfix) with ESMTP id 4C2D78FC08 for ; Sun, 3 Jul 2011 00:01:03 +0000 (UTC) Received: from mail-gw10.york.ac.uk ([144.32.129.64]) by ixe-mta-27.emailfiltering.com with emfmta (version 4.8.2.32) by TLS id 1166058878 for therion@ninth-art.de; a93ff7492c8b82f2; Sun, 03 Jul 2011 00:50:06 +0100 Received: from ury.york.ac.uk ([144.32.108.81]:44273) by mail-gw10.york.ac.uk with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1Qd9wp-0004p6-7l; Sun, 03 Jul 2011 00:50:03 +0100 Received: from gavin (helo=localhost) by ury.york.ac.uk with local-esmtp (Exim 4.76) (envelope-from ) id 1Qd9wp-0003uy-0P; Sun, 03 Jul 2011 00:50:03 +0100 Date: Sun, 3 Jul 2011 00:50:02 +0100 (BST) From: Gavin Atkinson X-X-Sender: gavin@"ury.york.ac.uk." To: Georg Bege In-Reply-To: <1309646409.30943.2.camel@kali.ninth-art.net> Message-ID: References: <1309646409.30943.2.camel@kali.ninth-art.net> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: Cc: freebsd-wireless@freebsd.org Subject: Re: support for RT2860 card? 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, 03 Jul 2011 00:01:03 -0000 On Sun, 3 Jul 2011, Georg Bege wrote: > Good day to you guys > > I wonder if the ral driver does support > an Asus PCE-N13 PCI-E wireless card? > It has an RT2860 (realtek) chip on it... I believe the RT2860 is actually made by Ralink not Realtek, and should be supported by the run(4) driver. If that doesn't work, can you supply the output of "pciconf -l" and "usbconfig list"? Thanks, Gavin From owner-freebsd-wireless@FreeBSD.ORG Sun Jul 3 00:27:27 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 6E90C106566B for ; Sun, 3 Jul 2011 00:27:27 +0000 (UTC) (envelope-from therion@ninth-art.de) Received: from mail.unix.io (coruscant.unix.io [IPv6:2a01:4f8:130:2461::2]) by mx1.freebsd.org (Postfix) with ESMTP id B38618FC12 for ; Sun, 3 Jul 2011 00:27:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.unix.io (Postfix) with SMTP id E8FA29BC6C for ; Sun, 3 Jul 2011 02:27:25 +0200 (CEST) Received: from coruscant.unix.io (localhost [127.0.0.1]) by mail.unix.io (Postfix) with ESMTP id 7B6A79BC66; Sun, 3 Jul 2011 02:27:25 +0200 (CEST) X-Virus-Scanned: amavisd-new at unix.io Received: from mail.unix.io ([127.0.0.1]) by coruscant.unix.io (mail.unix.io [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oEtD0YvbiISo; Sun, 3 Jul 2011 02:27:25 +0200 (CEST) Received: from [192.168.0.2] (dslb-084-062-143-169.pools.arcor-ip.net [84.62.143.169]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.unix.io (Postfix) with ESMTPSA id D82F69BC60; Sun, 3 Jul 2011 02:27:24 +0200 (CEST) From: Georg Bege To: Gavin Atkinson In-Reply-To: References: <1309646409.30943.2.camel@kali.ninth-art.net> Content-Type: text/plain; charset="UTF-8" Date: Sun, 03 Jul 2011 02:27:18 +0200 Message-ID: <1309652838.9100.2.camel@kali.ninth-art.net> Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 Content-Transfer-Encoding: 7bit X-DSPAM-Result: Innocent X-DSPAM-Processed: Sun Jul 3 02:27:25 2011 X-DSPAM-Confidence: 1.0000 X-DSPAM-Probability: 0.0023 X-DSPAM-Signature: 4e0fb76d844721190211602 X-DSPAM-Factors: 27, Sun, 0.40000, but, 0.40000, but, 0.40000, made, 0.40000, X-Virus-Scanned*new, 0.40000, an, 0.40000, an, 0.40000, l", 0.40000, X-Virus-Scanned*amavisd, 0.40000, of, 0.40000, of, 0.40000, says, 0.40000, Received*ESMTP, 0.40000, Received*ESMTP, 0.40000, Received*169.pools.arcor, 0.40000, Reply-To*ninth, 0.40000, RT28xx, 0.40000, least, 0.40000, well, 0.40000, doesn't, 0.40000, Received*[192.168.0.2], 0.40000, Gavin, 0.40000, Gavin, 0.40000, , 0.40000, Received*143, 0.40000 Cc: freebsd-wireless@freebsd.org Subject: Re: support for RT2860 card? X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: therion@ninth-art.de 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, 03 Jul 2011 00:27:27 -0000 Thanks for your reply. Yes of course it's Ralink (I keep confusing it with realtek), so a mistake of mine. I cant test now but I'll do so in a couple of days (like tuesday/thursday) - the manpage of run(4) says "USB" - well it's PCI-E but I guess that doesnt really matter. At least the RT28xx chipsets are listed, I'll give you an info how this works out as soon as I've got my hands on the hardware. cheers Am Sonntag, den 03.07.2011, 00:50 +0100 schrieb Gavin Atkinson: > On Sun, 3 Jul 2011, Georg Bege wrote: > > > Good day to you guys > > > > I wonder if the ral driver does support > > an Asus PCE-N13 PCI-E wireless card? > > It has an RT2860 (realtek) chip on it... > > I believe the RT2860 is actually made by Ralink not Realtek, and should be > supported by the run(4) driver. If that doesn't work, can you supply the > output of "pciconf -l" and "usbconfig list"? > > Thanks, > > Gavin > > > > -- Georg Bege !DSPAM:4e0fb76d844721190211602! From owner-freebsd-wireless@FreeBSD.ORG Sun Jul 3 01:52:50 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 BAEA1106564A for ; Sun, 3 Jul 2011 01:52:50 +0000 (UTC) (envelope-from sendtomatt@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id 91D438FC0C for ; Sun, 3 Jul 2011 01:52:50 +0000 (UTC) Received: by pvg11 with SMTP id 11so5061044pvg.13 for ; Sat, 02 Jul 2011 18:52:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=0n2qodDqEXw5vYplgEXJPwmTBVt3LczE1eKNn5dvzVs=; b=ssknVFhKMxgjmI9S4hRv9fvh1XoTt6tWUD2IqupOJNtcD0ZCiPZUMS7tv0wkoll39b YPyj0CYC3tuz5kDHtM6T1CrdiwqJyCm9m2FqjBtaHCzer46XDlSjWrkptHfISUZhBJWP rm+MAsyasdUeUVO5Et77yp+jXG2ibTBHN9Yd8= Received: by 10.68.56.35 with SMTP id x3mr5674681pbp.369.1309657970284; Sat, 02 Jul 2011 18:52:50 -0700 (PDT) Received: from sidhe.local ([75.111.38.94]) by mx.google.com with ESMTPS id m7sm2932764pbk.54.2011.07.02.18.52.47 (version=SSLv3 cipher=OTHER); Sat, 02 Jul 2011 18:52:48 -0700 (PDT) Message-ID: <4E0FCB6D.9030305@gmail.com> Date: Sat, 02 Jul 2011 18:52:45 -0700 From: Matt User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.18) Gecko/20110624 Thunderbird/3.1.11 MIME-Version: 1.0 To: therion@ninth-art.de References: <1309646409.30943.2.camel@kali.ninth-art.net> <1309652838.9100.2.camel@kali.ninth-art.net> In-Reply-To: <1309652838.9100.2.camel@kali.ninth-art.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Gavin Atkinson , freebsd-wireless@freebsd.org Subject: Re: support for RT2860 card? 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, 03 Jul 2011 01:52:50 -0000 On 07/02/11 17:27, Georg Bege wrote: > Thanks for your reply. > Yes of course it's Ralink (I keep confusing it with realtek), > so a mistake of mine. > I cant test now but I'll do so in a couple of days (like > tuesday/thursday) - the manpage of run(4) says "USB" - well it's PCI-E > but I guess that doesnt really matter. > At least the RT28xx chipsets are listed, I'll give you an info how this > works out as soon as I've got my hands on the hardware. > > cheers > > Am Sonntag, den 03.07.2011, 00:50 +0100 schrieb Gavin Atkinson: >> On Sun, 3 Jul 2011, Georg Bege wrote: >> >>> Good day to you guys >>> >>> I wonder if the ral driver does support >>> an Asus PCE-N13 PCI-E wireless card? >>> It has an RT2860 (realtek) chip on it... >> I believe the RT2860 is actually made by Ralink not Realtek, and should be >> supported by the run(4) driver. If that doesn't work, can you supply the >> output of "pciconf -l" and "usbconfig list"? >> >> Thanks, >> >> Gavin >> >> >> >> I've been working on the ral driver for rt2860 support. I posted a rough patch a week or so ago, I'm going to post a better version hopefully this weekend. In any case, run is USB only, ral is the correct driver. I've been lagging on the patch, work & a new system to play took priority :). What vendor & device id do you have? If you are comfortable compiling a kernel module it'd be nice to have someone test (especially LEDs, as I have mine in a funky WWAN slot) with a rt2860/3090 device. Thanks, Matt From owner-freebsd-wireless@FreeBSD.ORG Sun Jul 3 06:22:04 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 D51FC1065670 for ; Sun, 3 Jul 2011 06:22:04 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9499B8FC13 for ; Sun, 3 Jul 2011 06:22:04 +0000 (UTC) Received: by gyf3 with SMTP id 3so2188015gyf.13 for ; Sat, 02 Jul 2011 23:22:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Xbc82mf9LAxaeNw+2YfAvybnrNCUoa45gjIJ6dGfbbs=; b=YZluARFL44HEZAvkTT5wotOz9Jk/+DbgYrjCBuhV4HAfolSlomlz4YxD1HPiomgat9 DHysGhm2bHcGmPC52wukELFVh3w6JwMz6Q4doOvheIP/ETORkUoWgk2t/t4GiTqMaXvW 0WuBmRKLL1MELV5CbL426N/DVjumkVsw6OL5Y= MIME-Version: 1.0 Received: by 10.150.160.21 with SMTP id i21mr4404878ybe.57.1309674122957; Sat, 02 Jul 2011 23:22:02 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.151.45.11 with HTTP; Sat, 2 Jul 2011 23:22:02 -0700 (PDT) In-Reply-To: References: Date: Sun, 3 Jul 2011 14:22:02 +0800 X-Google-Sender-Auth: V_1G3OAK8-WpabZZQl3jLbEo3kA Message-ID: From: Adrian Chadd To: ss griffon Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-wireless@freebsd.org Subject: Re: Patch to move global ath alq register logging to per device 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, 03 Jul 2011 06:22:04 -0000 Hi! Good work so far. Here's the problems I've found: * There's a couple of formatting problems, tabs where there shouldn't be, etc. That's no biggie, we can go over that later! * if_ath_sysctl.c doesn't "know" about the alq sysctl attach routine, because it doesn't include ah_osdep.h * ah_osdep.h should only be included by the HAL code, not by the sysctl attach routine code. The problem-that-isn't-a-problem: * the ALQ bits in the ath_hal struct aren't conditionally compiled based on the ALQ debug #define. But part of me wants to maintain a consistent public API regardless of what debug/non-debug options are compiled in. (I know that maintaining an ABI isn't so important these days however.) So let's leave it unconditionally compiled where it is, and we can potentially stuff it in ath_hal_private later on if needs be. I'm not sure about the "right" way of doing the sysctl attach. The sysctl attach routine should live in ah_osdep.c; the question is how do we export that as part of the HAL layer to the driver itself. We can't just include ah_osdep.h (and include opt_ah.h too) because that'd be breaking whatever resemblance of "layering" still exists in this driver. Perhaps what we should do is export the sysctl attach function in ath_hal/ah.h. (That's fine, as it just means it needs to exist in ah_osdep.c for whatever other OSes want to port this code over later.) For the non-ALQ case, we can just compile up an empty function. What do you think? Thanks, Adrian On 2 July 2011 14:03, ss griffon wrote: > This enables register logging for each ath device. =A0The default log > path is /tmp/ath_hal.log but can be changed with the sysctl > dev.ath..hal.alq_logfile. =A0Let me know if there are any > issues. > > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.or= g" > > From owner-freebsd-wireless@FreeBSD.ORG Sun Jul 3 09:46:17 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 56126106566B for ; Sun, 3 Jul 2011 09:46:17 +0000 (UTC) (envelope-from moonlightakkiy@yahoo.ca) Received: from nm19.bullet.mail.bf1.yahoo.com (nm19.bullet.mail.bf1.yahoo.com [98.139.212.178]) by mx1.freebsd.org (Postfix) with SMTP id E27C48FC08 for ; Sun, 3 Jul 2011 09:46:16 +0000 (UTC) Received: from [98.139.212.148] by nm19.bullet.mail.bf1.yahoo.com with NNFMP; 03 Jul 2011 09:46:16 -0000 Received: from [98.139.211.205] by tm5.bullet.mail.bf1.yahoo.com with NNFMP; 03 Jul 2011 09:46:16 -0000 Received: from [127.0.0.1] by smtp214.mail.bf1.yahoo.com with NNFMP; 03 Jul 2011 09:46:16 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.ca; s=s1024; t=1309686376; bh=lzCyCwgWuLKKCgPjr/M2+Jp89IwtAD0bV+tcPaUXYzA=; h=X-Yahoo-Newman-Id:Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Received:MIME-Version:Received:Received:Date:Message-ID:Subject:From:To:Cc:Content-Type:Content-Transfer-Encoding; b=uzyHwbEika/+0jI+kxOg/BPpsfiuMeoPI2QlyIc7EtkxlKfw6Wp9HVIGVgt1jE34hzZ/d3u8WhyM4cCA/DzCEL0vaGSTWcqs4GfysF8Ac6OwAT11oP2tx2SfEU0o9w9xDPrucLkEjjcbaIMSwcBKJpBXbrDkrSUceD4V82Zw80c= X-Yahoo-Newman-Id: 196835.41337.bm@smtp214.mail.bf1.yahoo.com Received: from mail-vx0-f182.google.com (moonlightakkiy@209.85.220.182 with plain) by smtp214.mail.bf1.yahoo.com with SMTP; 03 Jul 2011 02:46:15 -0700 PDT X-Yahoo-SMTP: Xr6qjFWswBAEmd20sAvB4Q3keqXvXsIH9TjJ X-YMail-OSG: vv06jhQVM1mLgxLfC4XHW65YW.jB7LG_aHPMu4cjjEJGQVy dEB24yeawZELcYRDUSN4e0F.yAndH.R30Bj_BzCKTsJEdYTwptocGSYybOXD 2DFpUMwUAH0pQUBIhmvJgZU7ia4JNc_PS49nWRP8YNX8cTkjzgHlUFfvAqPI LqkdWGApw2iIDf_utmjUOkHPP8LL4XemEQZ8gGaW6q9Y3ojWWbendciS3lY3 fe3u3dGFXZYP1c9MQjxv4n2BTAjZ47Ivj8qNuiaT_nVmDFyvAlPV15beCr.3 ADnAKh73EtLdLwuXZJCqo_whicvdP7Fd7ywNAt58ZVfg65jLzazw1J5y7aA3 G35Md.6YrerEVjydabRaTf8SrOfJUzEnC6p4- X-Yahoo-Newman-Property: ymail-3 Received: by vxg33 with SMTP id 33so4335744vxg.13 for ; Sun, 03 Jul 2011 02:46:15 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.180.169 with SMTP id dp9mr2990245vdc.134.1309685898672; Sun, 03 Jul 2011 02:38:18 -0700 (PDT) Received: by 10.52.188.38 with HTTP; Sun, 3 Jul 2011 02:38:18 -0700 (PDT) Date: Sun, 3 Jul 2011 03:38:18 -0600 Message-ID: From: PseudoCylon To: Matt , therion@ninth-art.de Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Gavin Atkinson , freebsd-wireless@freebsd.org Subject: Re: support for RT2860 card? 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, 03 Jul 2011 09:46:17 -0000 > Date: Sat, 02 Jul 2011 18:52:45 -0700 > From: Matt > Subject: Re: support for RT2860 card? > To: therion@ninth-art.de > Cc: Gavin Atkinson , freebsd-wireless@freebsd.org > Message-ID: <4E0FCB6D.9030305@gmail.com> > Content-Type: text/plain; charset=3DUTF-8; format=3Dflowed > > I've been working on the ral driver for rt2860 support. I posted a rough > patch a week or so ago, I'm going to post a better version hopefully > this weekend. In any case, run is USB only, ral is the correct driver. > =A0I've been lagging on the patch, work & a new system to play took > priority :). > Yes. RT2860 =3D=3D PCI ral(4) RT2870 =3D=3D USB run(4) Actually, we have started re-porting OpenBSD's ral with rt2860/3090 support. But I think everyone got busy and the project was stalled. I'm almost done adding HT support to run(4). Once I can confirm it works fine in hostap mode, I can lend you hands. Descriptors and registers are almost identical to each other. Though, I don't have the device. AK From owner-freebsd-wireless@FreeBSD.ORG Sun Jul 3 18:20: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 DC795106564A for ; Sun, 3 Jul 2011 18:20:28 +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 B371C8FC12 for ; Sun, 3 Jul 2011 18:20:28 +0000 (UTC) Received: by pzk27 with SMTP id 27so2314011pzk.13 for ; Sun, 03 Jul 2011 11:20:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=QpxE6s6DBq9BnFRhXz84wja/DpvUMPc7BOTEgA1iDaQ=; b=tjjpItehfp0JwJyqT9rivLXj2gayYV8HOuWhPdzlCr5ec0rNx7BCwr7N9lLrVVpxvP riBNj1V+UElnPeOtDyZsglQht8+OSRtV9zsmKINNBKMXpcnJhFWjSxKPbnsCgX9yi354 favOs64EKisxQZC2zK/vOWvVKIJlFXrZS3VIQ= Received: by 10.68.60.225 with SMTP id k1mr6560532pbr.443.1309717228139; Sun, 03 Jul 2011 11:20:28 -0700 (PDT) Received: from sidhe.local ([75.111.38.94]) by mx.google.com with ESMTPS id d3sm62696pbh.37.2011.07.03.11.20.26 (version=SSLv3 cipher=OTHER); Sun, 03 Jul 2011 11:20:26 -0700 (PDT) Message-ID: <4E10B2ED.1040502@gmail.com> Date: Sun, 03 Jul 2011 11:20:29 -0700 From: Matt User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.18) Gecko/20110624 Thunderbird/3.1.11 MIME-Version: 1.0 To: PseudoCylon References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-wireless@freebsd.org Subject: Re: support for RT2860 card? 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, 03 Jul 2011 18:20:28 -0000 On 07/03/11 02:38, PseudoCylon wrote: >> Date: Sat, 02 Jul 2011 18:52:45 -0700 >> From: Matt >> Subject: Re: support for RT2860 card? >> To: therion@ninth-art.de >> Cc: Gavin Atkinson, freebsd-wireless@freebsd.org >> Message-ID:<4E0FCB6D.9030305@gmail.com> >> Content-Type: text/plain; charset=UTF-8; format=flowed >> >> I've been working on the ral driver for rt2860 support. I posted a rough >> patch a week or so ago, I'm going to post a better version hopefully >> this weekend. In any case, run is USB only, ral is the correct driver. >> I've been lagging on the patch, work& a new system to play took >> priority :). >> > Yes. > RT2860 == PCI ral(4) > RT2870 == USB run(4) > > Actually, we have started re-porting OpenBSD's ral with rt2860/3090 > support. But I think everyone got busy and the project was stalled. > > I'm almost done adding HT support to run(4). Once I can confirm it > works fine in hostap mode, I can lend you hands. Descriptors and > registers are almost identical to each other. Though, I don't have the > device. > > > AK > All I really have left to do is get the functions lined up in the same order as OpenBSD ral and make sure the version we have isn't missing anything important from OpenBSD version, as well as assist future porting efforts for upstream changes. Large sections are identical to OpenBSD or modified to suit. There is also some inherent verbosity in the code I'd like to move to a debug sysctl or something. It works fine for now, but it's not long-term elegant. PCI attach works well, and I haven't had any issues using it yet. However, the Wifi led on this thinkpad does not light, but that seems to depend on whether the card is Led + & -, or Led + & RFkill GPIO. Now I have a desktop freebsd machine, which means more vertical space on monitor, which hopefully means organizing a few thousand lines of code better :). I would not mind at all having more experienced eyes look at it and help bring it up to snuff. Thanks, Matt From owner-freebsd-wireless@FreeBSD.ORG Mon Jul 4 11:07:15 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 20680106566B for ; Mon, 4 Jul 2011 11:07:15 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0E2488FC29 for ; Mon, 4 Jul 2011 11:07:14 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p64B7EFH040611 for ; Mon, 4 Jul 2011 11:07:14 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p64B7E5N040609 for freebsd-wireless@FreeBSD.org; Mon, 4 Jul 2011 11:07:14 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 4 Jul 2011 11:07:14 GMT Message-Id: <201107041107.p64B7E5N040609@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-wireless@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-wireless@FreeBSD.org 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: Mon, 04 Jul 2011 11:07:15 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/157449 wireless [ath] MAC address conflict causes system to freeze o kern/157243 wireless [ath] investigate beacon TX (AP) / RX (STA) when under o kern/156904 wireless [ath] AR9285 antenna diversity algorithm is buggy and o kern/156884 wireless [ath] ath instablity o kern/156327 wireless [bwn] bwn driver causes 20%-50% packet loss o kern/156322 wireless [wpi] no ahdemo support for if_wpi o kern/156321 wireless [ath] ahdemo doesn't work with if_ath o kern/155100 wireless [ath] ath driver on busy channel: "stuck beacon" p kern/154598 wireless [ath] Atheros 5424/2424 can't connect to WPA network o kern/154567 wireless [ath] ath(4) lot of bad series(0) o kern/154327 wireless [ath] AR5416 in station mode hangs when transmitting f o kern/154284 wireless [ath] Modern ath wifi cards (such as AR9285) have miss o kern/154153 wireless [ath] AR5213 + MIPS + WPA group key packet corruption o kern/153448 wireless [ath] ath networking device loses association after a o kern/152750 wireless [ath] ath0 lot of bad series hwrate o kern/151198 wireless [ath] ath/5416 fails bgscan with "ath0: ath_chan_set: o kern/149786 wireless [bwn] bwn on Dell Inspiron 1150: connections stall o kern/149516 wireless [ath] ath(4) hostap with fake MAC/BSSID results in sta o kern/149373 wireless [realtek/atheros]: None of my network card working o kern/149307 wireless [ath] Doesn't work Atheros 9285 o kern/148322 wireless [ath] Triggering atheros wifi beacon misses in hostap o kern/148317 wireless [ath] FreeBSD 7.x hostap memory leak in net80211 or At o kern/148112 wireless [ath] Atheros 9285 cannot register with wifi AP (timeo o kern/148078 wireless [ath] wireless networking stops functioning o kern/145826 wireless [panic] [ath] Unable to configure adhoc mode on ath0/w o kern/144987 wireless [wpi] [panic] injecting packets with wlaninject using o bin/144109 wireless hostapd(8) uses the MAC of the wireless interface, but o kern/143868 wireless [ath] [patch] [request] allow Atheros watchdog timeout o conf/143079 wireless hostapd(8) startup missing multi wlan functionality o kern/140796 wireless [ath] [panic] Cannot attach (unable to attach hardware p kern/140567 wireless [ath] [patch] ath is not worked on my notebook PC o kern/140245 wireless [ath] [panic] Kernel panic during network activity on o kern/137592 wireless [ath] panic - 7-STABLE (Aug 7, 2009 UTC) crashes on ne p bin/137484 wireless [patch] Integer overflow in wpa_supplicant(8) base64 e o kern/136943 wireless [wpi] [lor] wpi0_com_lock / wpi0 o kern/136836 wireless [ath] atheros card stops functioning after about 12 ho o kern/132722 wireless [ath] Wifi ath0 associates fine with AP, but DHCP or I o bin/131549 wireless ifconfig(8) can't clear 'monitor' mode on the wireless o kern/126475 wireless [ath] [panic] ath pcmcia card inevitably panics under o kern/125721 wireless [ath] Terrible throughput/high ping latency with Ubiqu o kern/125617 wireless [ath] [panic] ath(4) related panic o kern/125501 wireless [ath] atheros cardbus driver hangs o kern/125332 wireless [ath] [panic] crash under any non-tiny networking unde o kern/124767 wireless [iwi] Wireless connection using iwi0 driver (Intel 220 o kern/124753 wireless [ieee80211] net80211 discards power-save queue packets o docs/120456 wireless ath(4) needs to specify requirement on wlan_scan_sta o kern/119513 wireless [ath] [irq] inserting dlink dwl-g630 wireless card res o kern/116747 wireless [ndis] FreeBSD 7.0-CURRENT crash with Dell TrueMobile f kern/105348 wireless [ath] ath device stopps TX 49 problems total. From owner-freebsd-wireless@FreeBSD.ORG Wed Jul 6 05:33:19 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 3EA5A106564A for ; Wed, 6 Jul 2011 05:33:19 +0000 (UTC) (envelope-from sendtomatt@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0BED08FC16 for ; Wed, 6 Jul 2011 05:33:18 +0000 (UTC) Received: by iyb11 with SMTP id 11so7768794iyb.13 for ; Tue, 05 Jul 2011 22:33:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=AZp7ryccOzRF9CIAltHg/jdqP04DICEXjMapOvaPVQ4=; b=JNd6fmT2EVH2UDbnmb9V2EXeM86akY7JI8oaMD94EGAZTJHVK3Ro/f4/6ye5ncf/Nr bXR3oE1HRD18vkz/kNke7h4radDy8U3oVmzeyZpfpmI7jrfYi3KnE/IL75u5Lnbz4xcP W4ZBTsrJGTHRXjlgR8UTRhCoJVnsiK2nDN2j4= Received: by 10.42.168.68 with SMTP id v4mr9249060icy.195.1309930398274; Tue, 05 Jul 2011 22:33:18 -0700 (PDT) Received: from sidhe.local ([75.111.38.94]) by mx.google.com with ESMTPS id hw7sm8398311icc.3.2011.07.05.22.33.16 (version=SSLv3 cipher=OTHER); Tue, 05 Jul 2011 22:33:17 -0700 (PDT) Message-ID: <4E13F39E.1000302@gmail.com> Date: Tue, 05 Jul 2011 22:33:18 -0700 From: Matt User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.18) Gecko/20110624 Thunderbird/3.1.11 MIME-Version: 1.0 To: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: RT2860/RT3090/RAL: Any brave testers? 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: Wed, 06 Jul 2011 05:33:19 -0000 I've been working on combing ral & Alexandr Egorenkov's rt2860. It runs fine here (LiteOn v0x1814 d0x3090), and compiles sans complaint with both clang and gcc. However, I haven't tested any other rt2860/3090 devices, or traditional ral devices (they should be the same, changes only to allow rt2860 attach). If anyone has a device with a ralink chipset, and wants to test a development quality wireless driver :), please let know. Diffs against CVS /usr/src/sys/modules/ral/Makefile: http://pastebin.com/cgHy3SXL /usr/src/sys/dev/ral: http://pastebin.com/wXHd7fG9 Please let me know if there is better way to distribute or if you'd like a tarball. There are still some spurious printfs on attach about HT/WifiN...I think they can be ignored. This is not a production driver. Please use for testing only. There is definitely work to be done. If you test it, and it works for you (esp. LEDs, HT, injection, hostap etc.) let me know. Thanks! Matt From owner-freebsd-wireless@FreeBSD.ORG Wed Jul 6 09:10:42 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 87EFB106564A for ; Wed, 6 Jul 2011 09:10:42 +0000 (UTC) (envelope-from venture37@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 498B08FC19 for ; Wed, 6 Jul 2011 09:10:42 +0000 (UTC) Received: by vws18 with SMTP id 18so6527162vws.13 for ; Wed, 06 Jul 2011 02:10:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ViOboQ2Q4nSWMsYRX9FqBUBfa7u2rtK53XhZLVtWCs4=; b=ffMn33tKLBvZjTcISF0FJ36LJjKFj4bb0nC3k4JzhOUkKqgY6aFfVETYraG6EZxjA4 g5CCDaUjZ/jFosT+ZoMCqniA7RxjxQiM4HixBcH/lbDE4BNW+9+KpaOgAZ5A6pmFmqvn o+xiDN9Ztppz98UCuNlv1yi5jdE8u5IH3Q7mE= MIME-Version: 1.0 Received: by 10.52.110.104 with SMTP id hz8mr7836959vdb.265.1309943441637; Wed, 06 Jul 2011 02:10:41 -0700 (PDT) Received: by 10.52.167.193 with HTTP; Wed, 6 Jul 2011 02:10:41 -0700 (PDT) In-Reply-To: <4E13F39E.1000302@gmail.com> References: <4E13F39E.1000302@gmail.com> Date: Wed, 6 Jul 2011 10:10:41 +0100 Message-ID: From: "Sevan / Venture37" To: Matt Content-Type: text/plain; charset=UTF-8 Cc: freebsd-wireless@freebsd.org Subject: Re: RT2860/RT3090/RAL: Any brave testers? 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: Wed, 06 Jul 2011 09:10:42 -0000 On 6 July 2011 06:33, Matt wrote: > I've been working on combing ral & Alexandr Egorenkov's rt2860. It runs fine > here (LiteOn v0x1814 d0x3090), and compiles sans complaint with both clang > and gcc. > > However, I haven't tested any other rt2860/3090 devices, or traditional ral > devices (they should be the same, changes only to allow rt2860 attach). > > If anyone has a device with a ralink chipset, and wants to test a > development quality wireless driver :), please let know. > > Diffs against CVS > /usr/src/sys/modules/ral/Makefile: http://pastebin.com/cgHy3SXL > /usr/src/sys/dev/ral: http://pastebin.com/wXHd7fG9 > > Please let me know if there is better way to distribute or if you'd like a > tarball. There are still some spurious printfs on attach about HT/WifiN...I > think they can be ignored. > > This is not a production driver. Please use for testing only. There is > definitely work to be done. If you test it, and it works for you (esp. LEDs, > HT, injection, hostap etc.) let me know. > > Thanks! > Matt Hi Matt, Will happily do so, my card details are here http://lists.freebsd.org/pipermail/freebsd-current/2011-April/024019.html Sevan / Venture37 From owner-freebsd-wireless@FreeBSD.ORG Wed Jul 6 14:10:39 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 953CA106566C for ; Wed, 6 Jul 2011 14:10:39 +0000 (UTC) (envelope-from sendtomatt@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 5F1F78FC0C for ; Wed, 6 Jul 2011 14:10:39 +0000 (UTC) Received: by iwr19 with SMTP id 19so8206490iwr.13 for ; Wed, 06 Jul 2011 07:10:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=mk8zgqG+LkWm+oeR5wTQp61zzns37BG2WEdxFA/+w7Q=; b=rA2AUcjIZRiExJD9LglttGd+NFbSahKvSB5PDXGGihlvLvbvQLzghgLg8hJ9m5r4Ak vOUFYIJQpKcricYvi2Cswuq9bNTUFuUL8e/8G5hWq3wWoCaW3C1e53WZ4uKpBkf4qKgI SBOwiddDD1MmIQuxqwuh1dbk6zztB3bwEzuzE= Received: by 10.231.28.72 with SMTP id l8mr7672577ibc.194.1309961437984; Wed, 06 Jul 2011 07:10:37 -0700 (PDT) Received: from sidhe.local ([75.111.38.94]) by mx.google.com with ESMTPS id w11sm4888246ibw.58.2011.07.06.07.10.10 (version=SSLv3 cipher=OTHER); Wed, 06 Jul 2011 07:10:17 -0700 (PDT) Message-ID: <4E146CBE.50606@gmail.com> Date: Wed, 06 Jul 2011 07:10:06 -0700 From: Matt User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.18) Gecko/20110624 Thunderbird/3.1.11 MIME-Version: 1.0 To: Sevan / Venture37 References: <4E13F39E.1000302@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-wireless@freebsd.org Subject: Re: RT2860/RT3090/RAL: Any brave testers? 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: Wed, 06 Jul 2011 14:10:39 -0000 On 07/06/11 02:10, Sevan / Venture37 wrote: > On 6 July 2011 06:33, Matt wrote: >> I've been working on combing ral& Alexandr Egorenkov's rt2860. It runs fine >> here (LiteOn v0x1814 d0x3090), and compiles sans complaint with both clang >> and gcc. >> >> However, I haven't tested any other rt2860/3090 devices, or traditional ral >> devices (they should be the same, changes only to allow rt2860 attach). >> >> If anyone has a device with a ralink chipset, and wants to test a >> development quality wireless driver :), please let know. >> >> Diffs against CVS >> /usr/src/sys/modules/ral/Makefile: http://pastebin.com/cgHy3SXL >> /usr/src/sys/dev/ral: http://pastebin.com/wXHd7fG9 >> >> Please let me know if there is better way to distribute or if you'd like a >> tarball. There are still some spurious printfs on attach about HT/WifiN...I >> think they can be ignored. >> >> This is not a production driver. Please use for testing only. There is >> definitely work to be done. If you test it, and it works for you (esp. LEDs, >> HT, injection, hostap etc.) let me know. >> >> Thanks! >> Matt > Hi Matt, > Will happily do so, my card details are here > http://lists.freebsd.org/pipermail/freebsd-current/2011-April/024019.html > > > Sevan / Venture37 > You may have some deja vu...from usage/performance perspective it is quite similar to the rt2860 driver although merged into ral :). Please don't worry about LNA gain printf or (possibly) extension channel errors...I think these are excessively verbose, but I am still comparing to OpenBSD version's initialization. Thanks! Matt From owner-freebsd-wireless@FreeBSD.ORG Wed Jul 6 15:21: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 92D4A106564A; Wed, 6 Jul 2011 15:21:28 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe05.c2i.net [212.247.154.130]) by mx1.freebsd.org (Postfix) with ESMTP id B3EAA8FC12; Wed, 6 Jul 2011 15:21:27 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=7KD0iiTHYGd0xbPMAUtcJ3OZoqPCTpa2X22hnPESm4A= c=1 sm=1 a=SvYTsOw2Z4kA:10 a=8GCaWQNJa_IA:10 a=WQU8e4WWZSUA:10 a=8nJEP1OIZ-IA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=N3vH5299AAAA:8 a=Rs8qNeDbJxh9QatkLV8A:9 a=wPNLvfGTeEIA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe05.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 147541652; Wed, 06 Jul 2011 17:21:26 +0200 From: Hans Petter Selasky To: freebsd-current@freebsd.org Date: Wed, 6 Jul 2011 17:19:38 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <1309237117.88943.YahooMailNeo@web39307.mail.mud.yahoo.com> <201106280850.57645.hselasky@c2i.net> In-Reply-To: <201106280850.57645.hselasky@c2i.net> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq, NwSZ4V"|LR.+tj}g5 %V,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( :AuzV9:.hESm-x4h240C`9=w MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201107061719.38445.hselasky@c2i.net> Cc: PseudoCylon , "freebsd-wireless@freebsd.org" Subject: Re: [CFT] Sierra Wireless HSPA+ USB modem 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: Wed, 06 Jul 2011 15:21:28 -0000 > > Hi, > > I'm going to review and import your driver. > > --HPS Hi, The intial patch had some bad code and didn't compile on 9-current. I've tried to clean it up. Please test and report back if I didn't break anything. http://hselasky.homeunix.org:8192/usie_for_FreeBSD_9_current.patch --HPS From owner-freebsd-wireless@FreeBSD.ORG Wed Jul 6 21:46:50 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 3F8F8106566B for ; Wed, 6 Jul 2011 21:46:50 +0000 (UTC) (envelope-from venture37@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id F091F8FC13 for ; Wed, 6 Jul 2011 21:46:49 +0000 (UTC) Received: by vxg33 with SMTP id 33so371096vxg.13 for ; Wed, 06 Jul 2011 14:46:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Z3kCiXtxUhPtjTXAL7qoDNPOE9iDV1bRHDKoneth3jQ=; b=VaHDhVKp2+ygbmmEuvnh4Us2oi3KQbF7zjzvSElLPGVaJIEY8Lt/pNskVBST/qSm9R /KRrSH230Oj9skvv33snaJdniQ4pn0h+TV6cX58MfLWBifrRnvyZMhOe1wbgIZ8lQHRQ kaw94I1dS0wcNN2U0IluyHNQ/IGb5IALBbRak= MIME-Version: 1.0 Received: by 10.52.110.104 with SMTP id hz8mr68778vdb.265.1309988808928; Wed, 06 Jul 2011 14:46:48 -0700 (PDT) Received: by 10.52.167.193 with HTTP; Wed, 6 Jul 2011 14:46:48 -0700 (PDT) In-Reply-To: <4E13F39E.1000302@gmail.com> References: <4E13F39E.1000302@gmail.com> Date: Wed, 6 Jul 2011 22:46:48 +0100 Message-ID: From: "Sevan / Venture37" To: Matt Content-Type: text/plain; charset=UTF-8 Cc: freebsd-wireless@freebsd.org Subject: Re: RT2860/RT3090/RAL: Any brave testers? 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: Wed, 06 Jul 2011 21:46:50 -0000 On 6 July 2011 06:33, Matt wrote: > /usr/src/sys/dev/ral: http://pastebin.com/wXHd7fG9 That diff wont apply Sevan From owner-freebsd-wireless@FreeBSD.ORG Wed Jul 6 23:41:51 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 80E9D106566B for ; Wed, 6 Jul 2011 23:41:51 +0000 (UTC) (envelope-from sendtomatt@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id 58F148FC1A for ; Wed, 6 Jul 2011 23:41:51 +0000 (UTC) Received: by pvg11 with SMTP id 11so83509pvg.13 for ; Wed, 06 Jul 2011 16:41:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=GaYO1k2EOoTuypSCj1kxWsjMawvJ220rW0zD+HLXdao=; b=JJoct8HKSMEvTugRO74tiOn4yiQ78c9vpfn0XIQoo/GH7APqu+0XXOaQ3vTpxS6hVe i7v2h/jDMdVHjJGQ7H5+3R4gMjqbXvdwWH4T4HFehNehHWSqo3epmn0H9v9h+4TH4Wzf wBLu1ED9rXk5HESqnFh4f6XHScI6h5uHgwH34= Received: by 10.68.0.99 with SMTP id 3mr190170pbd.375.1309995710706; Wed, 06 Jul 2011 16:41:50 -0700 (PDT) Received: from sidhe.local ([75.111.38.94]) by mx.google.com with ESMTPS id d3sm1823621pbh.69.2011.07.06.16.41.48 (version=SSLv3 cipher=OTHER); Wed, 06 Jul 2011 16:41:49 -0700 (PDT) Message-ID: <4E14F2B8.4090200@gmail.com> Date: Wed, 06 Jul 2011 16:41:44 -0700 From: Matt User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.18) Gecko/20110624 Thunderbird/3.1.11 MIME-Version: 1.0 To: Sevan / Venture37 References: <4E13F39E.1000302@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-wireless@freebsd.org Subject: Re: RT2860/RT3090/RAL: Any brave testers? 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: Wed, 06 Jul 2011 23:41:51 -0000 On 07/06/11 14:46, Sevan / Venture37 wrote: > On 6 July 2011 06:33, Matt wrote: >> /usr/src/sys/dev/ral: http://pastebin.com/wXHd7fG9 > That diff wont apply > > > Sevan > Pastebin seems to have eaten the patch formatting. Please get it from here, I tar'd & gzip'd the working patches... https://docs.google.com/leaf?id=0B6YlMzJxarGbMWFmZDUxMTgtOTU4ZC00MjRlLThhMTctZTE1MDcwNDJiZDIx&hl=en_US Sorry for any inconvenience. Matt From owner-freebsd-wireless@FreeBSD.ORG Thu Jul 7 12:49:46 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 0E283106564A; Thu, 7 Jul 2011 12:49:46 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.c2i.net [212.247.154.98]) by mx1.freebsd.org (Postfix) with ESMTP id 536A18FC1A; Thu, 7 Jul 2011 12:49:45 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=Ki88u+3nwejNRg6MOseuLmL2vomBRNHvHPpCRMZep5s= c=1 sm=1 a=SvYTsOw2Z4kA:10 a=8GCaWQNJa_IA:10 a=WQU8e4WWZSUA:10 a=8nJEP1OIZ-IA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=8kQB0OdkAAAA:8 a=N3vH5299AAAA:8 a=Lx8nvDvfJ4C5hwmOibYA:9 a=wPNLvfGTeEIA:10 a=9aOQ2cSd83gA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe04.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 149462814; Thu, 07 Jul 2011 14:49:43 +0200 From: Hans Petter Selasky To: freebsd-current@freebsd.org Date: Thu, 7 Jul 2011 14:47:52 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <1309237117.88943.YahooMailNeo@web39307.mail.mud.yahoo.com> <201107061719.38445.hselasky@c2i.net> In-Reply-To: X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq, NwSZ4V"|LR.+tj}g5 %V,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( :AuzV9:.hESm-x4h240C`9=w MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201107071447.53041.hselasky@c2i.net> Cc: PseudoCylon , "freebsd-wireless@freebsd.org" Subject: Re: [CFT] Sierra Wireless HSPA+ USB modem 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: Thu, 07 Jul 2011 12:49:46 -0000 On Thursday 07 July 2011 14:43:22 PseudoCylon wrote: > On Wed, Jul 6, 2011 at 9:19 AM, Hans Petter Selasky wrote: > >> Hi, > >> > >> I'm going to review and import your driver. > >> > >> --HPS > > > > Hi, > > > > The intial patch had some bad code and didn't compile on 9-current. I've > > tried to clean it up. Please test and report back if I didn't break > > anything. > > > > http://hselasky.homeunix.org:8192/usie_for_FreeBSD_9_current.patch > > > > --HPS > > Hello, > > Thanks for the patch. > > if_usie.c > 241 if (usbd_lookup_id_by_uaa(usie_devs, sizeof(usie_devs), uaa) != 0) > 242 return; /* no device match */ > > It should return non-zero on success, but somehow this caused the > process to exit, and modem stayed being a CD-ROM. Hi, Is this device changing its USB vendor and product ID ? We need this ID check, else all mass storage devices will receive the eject command! --HPS From owner-freebsd-wireless@FreeBSD.ORG Thu Jul 7 12:50:50 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 AC53E106566B; Thu, 7 Jul 2011 12:50:50 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe07.c2i.net [212.247.154.194]) by mx1.freebsd.org (Postfix) with ESMTP id 09EC48FC1E; Thu, 7 Jul 2011 12:50:49 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=SJA03SmFjIOBaRUqQpAxZTuC3Mg0Qr8luS0qYjfHCY4= c=1 sm=1 a=SvYTsOw2Z4kA:10 a=8GCaWQNJa_IA:10 a=WQU8e4WWZSUA:10 a=8nJEP1OIZ-IA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=zO0weGsyaNLyVeU5gJ4A:9 a=wPNLvfGTeEIA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe07.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 149805704; Thu, 07 Jul 2011 14:50:48 +0200 From: Hans Petter Selasky To: freebsd-current@freebsd.org Date: Thu, 7 Jul 2011 14:48:58 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <1309237117.88943.YahooMailNeo@web39307.mail.mud.yahoo.com> <201107061719.38445.hselasky@c2i.net> In-Reply-To: X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq,NwSZ4V" =?iso-8859-1?q?=7CLR=2E+tj=7Dg5=0A=09=25V?=,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( =?iso-8859-1?q?=0A=09=3AAuzV9=3A=2EhESm-x4h240C=609=3Dw?= MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201107071448.58436.hselasky@c2i.net> Cc: PseudoCylon , "freebsd-wireless@freebsd.org" Subject: Re: [CFT] Sierra Wireless HSPA+ USB modem 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: Thu, 07 Jul 2011 12:50:50 -0000 On Thursday 07 July 2011 14:43:22 PseudoCylon wrote: > The compiler complained about uninitialized int > if_usie.c: 1484 > - uint8_t pad; > + uint8_t pad = 0; I changed it so that pad is set in both cases: pad = (hip->id & USIE_HIP_PAD) ? 1 : 0; if ((hip->id & USIE_HIP_MASK) == USIE_HIP_CNS2H) { cns = (struct usie_cns *)(((uint8_t *)(hip + 1)) + pad); --HPS From owner-freebsd-wireless@FreeBSD.ORG Thu Jul 7 12:57:11 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 EC19E106564A for ; Thu, 7 Jul 2011 12:57:11 +0000 (UTC) (envelope-from moonlightakkiy@yahoo.ca) Received: from nm30-vm4.bullet.mail.ne1.yahoo.com (nm30-vm4.bullet.mail.ne1.yahoo.com [98.138.91.190]) by mx1.freebsd.org (Postfix) with SMTP id 923208FC0C for ; Thu, 7 Jul 2011 12:57:11 +0000 (UTC) Received: from [98.138.90.50] by nm30.bullet.mail.ne1.yahoo.com with NNFMP; 07 Jul 2011 12:43:23 -0000 Received: from [98.138.84.44] by tm3.bullet.mail.ne1.yahoo.com with NNFMP; 07 Jul 2011 12:43:23 -0000 Received: from [127.0.0.1] by smtp112.mail.ne1.yahoo.com with NNFMP; 07 Jul 2011 12:43:23 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.ca; s=s1024; t=1310042603; bh=3KQH8DpPJQG2es6X3rCQnOs1ctsX8p4T8szQBBMyMzQ=; h=X-Yahoo-Newman-Id:Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Received:MIME-Version:Received:Received:In-Reply-To:References:Date:Message-ID:Subject:From:To:Cc:Content-Type; b=Nj7O4ziPy6pk3GJHIRs0JtvxhQ6P/aDoj9XfFerXV920EJ/6A0JzquxIISz4ACWBFot1pOLHLaLESyRXb/Qu+9SBVHV71kFR/+a2LSsNU5V7b+pQF/j+aX/vZGTOn4eZqdCibZWEtg2RkaI+alibPJ4CRuOA1Z5+Vp81Wc/HVk0= X-Yahoo-Newman-Id: 146553.26040.bm@smtp112.mail.ne1.yahoo.com Received: from mail-vw0-f54.google.com (moonlightakkiy@209.85.212.54 with plain) by smtp112.mail.ne1.yahoo.com with SMTP; 07 Jul 2011 05:43:23 -0700 PDT X-Yahoo-SMTP: Xr6qjFWswBAEmd20sAvB4Q3keqXvXsIH9TjJ X-YMail-OSG: _x.QiigVM1kzqQ2xIJzb0Q2jrsreoDNSPW5w2Kt8UIXOQck _C63YjU4YEz13GUJm2XZbkJIk10TyLLBVKSUCoHrwoL6o279NndktcxO131w ONjE4NaCBunRe_cZ7xiwL0riylkq85nVVUUcTehXcQ.nuyIkBCT1rDwms423 UaL_A.uOBgERgPLmLYEqLmOkaPOOJhAre7qgV3..K4UVOjMUsWjBEftgE4KK U6aEy7PgPTJx3zFP1f086C37ZtlI._X6QyjUHL6k3alO99XLNDwC71yTVJHa W5zFRoCBpDxWPKV7i4UXpBoygClnWuuLSMzqRICGWoQXNBjNmoy5mlFtmMGQ Tdl713h7EiLL3SeBRYnh_FInQFwn64ZPzSY_NiWTcHhvxhJFmZuK46tX4xIe 3q1VHHLCdxu2GoRvyJNYXSs0PIwuhW2o4gUlDzH2uFR49i595rQrRWaU1YDI DoVzGYtyeIF2peL6VCFHvrXqG_KwdX4kFUFKpCsazPYQ- X-Yahoo-Newman-Property: ymail-3 Received: by vws18 with SMTP id 18so900260vws.13 for ; Thu, 07 Jul 2011 05:43:22 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.179.131 with SMTP id dg3mr1101300vdc.9.1310042602467; Thu, 07 Jul 2011 05:43:22 -0700 (PDT) Received: by 10.52.108.229 with HTTP; Thu, 7 Jul 2011 05:43:22 -0700 (PDT) In-Reply-To: <201107061719.38445.hselasky@c2i.net> References: <1309237117.88943.YahooMailNeo@web39307.mail.mud.yahoo.com> <201106280850.57645.hselasky@c2i.net> <201107061719.38445.hselasky@c2i.net> Date: Thu, 7 Jul 2011 06:43:22 -0600 Message-ID: From: PseudoCylon To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current@freebsd.org, "freebsd-wireless@freebsd.org" Subject: Re: [CFT] Sierra Wireless HSPA+ USB modem 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: Thu, 07 Jul 2011 12:57:12 -0000 On Wed, Jul 6, 2011 at 9:19 AM, Hans Petter Selasky wrote: >> >> Hi, >> >> I'm going to review and import your driver. >> >> --HPS > > Hi, > > The intial patch had some bad code and didn't compile on 9-current. I've tried > to clean it up. Please test and report back if I didn't break anything. > > http://hselasky.homeunix.org:8192/usie_for_FreeBSD_9_current.patch > > --HPS > Hello, Thanks for the patch. if_usie.c 241 if (usbd_lookup_id_by_uaa(usie_devs, sizeof(usie_devs), uaa) != 0) 242 return; /* no device match */ It should return non-zero on success, but somehow this caused the process to exit, and modem stayed being a CD-ROM. The compiler complained about uninitialized int if_usie.c: 1484 - uint8_t pad; + uint8_t pad = 0; Otherwise it worked fine. AK From owner-freebsd-wireless@FreeBSD.ORG Thu Jul 7 22:44:25 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 2D17F106564A for ; Thu, 7 Jul 2011 22:44:25 +0000 (UTC) (envelope-from venture37@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id D99368FC13 for ; Thu, 7 Jul 2011 22:44:24 +0000 (UTC) Received: by vws18 with SMTP id 18so1441088vws.13 for ; Thu, 07 Jul 2011 15:44:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=MecF3vJ92HhbCt/eugpBkGoGJWKeMx8L0VAUTPh5YGY=; b=Z+NZFAsAMlgxJ5EkKaBgy6uQEq6aBx9WjjIn8QcvnjpjVrtP505DB1JY378n+WiqMm 669xGn/3cp+F4Qw/vYBYOJ/ueSvw0SF9LSCYx6L6JMN73ZCKJMqqORAhKNMROs0DMu0V KvJaQxJQDN50PB8DRhAQD+dOEgIwJEcyvak/o= MIME-Version: 1.0 Received: by 10.52.180.194 with SMTP id dq2mr1892507vdc.105.1310078663572; Thu, 07 Jul 2011 15:44:23 -0700 (PDT) Received: by 10.52.167.193 with HTTP; Thu, 7 Jul 2011 15:44:23 -0700 (PDT) In-Reply-To: <4E14F2B8.4090200@gmail.com> References: <4E13F39E.1000302@gmail.com> <4E14F2B8.4090200@gmail.com> Date: Thu, 7 Jul 2011 23:44:23 +0100 Message-ID: From: "Sevan / Venture37" To: Matt Content-Type: text/plain; charset=UTF-8 Cc: freebsd-wireless@freebsd.org Subject: Re: RT2860/RT3090/RAL: Any brave testers? 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: Thu, 07 Jul 2011 22:44:25 -0000 On 7 July 2011 00:41, Matt wrote: > Pastebin seems to have eaten the patch formatting. > > Please get it from here, I tar'd & gzip'd the working patches... > > https://docs.google.com/leaf?id=0B6YlMzJxarGbMWFmZDUxMTgtOTU4ZC00MjRlLThhMTctZTE1MDcwNDJiZDIx&hl=en_US > > Sorry for any inconvenience. > > Matt Fresh checkout of src diff applied tried to build new kernel & failed with error: "make: don't know how to make rt2860.c. Stop" Sevan From owner-freebsd-wireless@FreeBSD.ORG Thu Jul 7 23:21:38 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 EF9FF1065672 for ; Thu, 7 Jul 2011 23:21:37 +0000 (UTC) (envelope-from sendtomatt@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id C4EED8FC1E for ; Thu, 7 Jul 2011 23:21:37 +0000 (UTC) Received: by pvg11 with SMTP id 11so1064450pvg.13 for ; Thu, 07 Jul 2011 16:21:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=eRYefK/WzKPkcPFRA2nqnEaixEV+f99o0umZ3zT2rnQ=; b=pdup9O8vPfwdU7v1cWtP7C+vZUu2/PxUea+U6y+Na3WcwgyLJd4GhaXXjR901Aqa61 domuUNv9O0jyJ9nNkgsiOek5R6qEUoGjzovYzf+kB6ZUq5fPjmVQhr2H+k0vh+W6hobc PI/yq6XsDOzk8PwXacAXlMvy6nCxATV9bnJ1s= Received: by 10.143.99.17 with SMTP id b17mr662374wfm.352.1310080897194; Thu, 07 Jul 2011 16:21:37 -0700 (PDT) Received: from sidhe.local ([75.101.87.90]) by mx.google.com with ESMTPS id n8sm5875468pbh.41.2011.07.07.16.21.35 (version=SSLv3 cipher=OTHER); Thu, 07 Jul 2011 16:21:35 -0700 (PDT) Message-ID: <4E163F7B.8030804@gmail.com> Date: Thu, 07 Jul 2011 16:21:31 -0700 From: Matt User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.18) Gecko/20110624 Thunderbird/3.1.11 MIME-Version: 1.0 To: Sevan / Venture37 References: <4E13F39E.1000302@gmail.com> <4E14F2B8.4090200@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-wireless@freebsd.org Subject: Re: RT2860/RT3090/RAL: Any brave testers? 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: Thu, 07 Jul 2011 23:21:38 -0000 On 07/07/11 15:44, Sevan / Venture37 wrote: > On 7 July 2011 00:41, Matt wrote: >> Pastebin seems to have eaten the patch formatting. >> >> Please get it from here, I tar'd& gzip'd the working patches... >> >> https://docs.google.com/leaf?id=0B6YlMzJxarGbMWFmZDUxMTgtOTU4ZC00MjRlLThhMTctZTE1MDcwNDJiZDIx&hl=en_US >> >> Sorry for any inconvenience. >> >> Matt > Fresh checkout of src > diff applied > tried to build new kernel& failed with error: > "make: don't know how to make rt2860.c. Stop" > > > > Sevan > Did both patches apply successfully? It sounds like Makefile patch is applied but patch to /usr/src/sys/dev/ral is not. Ralpatch.diff is the actual driver code, ralmakepatch.diff patches the makefile to use it. For what it's worth, I just erased /usr/src/sys/dev/ral, csup'd to current, applied the patches from the link and was able to build it. I have been building it seperately as a module by going to /usr/src/sys/modules/ral and typing "make && make install". Not sure if that's the difference. I'd be glad to help get this built...sorry for any frustration! Matt From owner-freebsd-wireless@FreeBSD.ORG Fri Jul 8 01:25:41 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 F05B71065673 for ; Fri, 8 Jul 2011 01:25:41 +0000 (UTC) (envelope-from moonlightakkiy@yahoo.ca) Received: from nm10.bullet.mail.sp2.yahoo.com (nm10.bullet.mail.sp2.yahoo.com [98.139.91.80]) by mx1.freebsd.org (Postfix) with SMTP id C08508FC12 for ; Fri, 8 Jul 2011 01:25:41 +0000 (UTC) Received: from [98.139.91.64] by nm10.bullet.mail.sp2.yahoo.com with NNFMP; 08 Jul 2011 01:25:41 -0000 Received: from [98.136.185.41] by tm4.bullet.mail.sp2.yahoo.com with NNFMP; 08 Jul 2011 01:25:41 -0000 Received: from [127.0.0.1] by smtp102.mail.gq1.yahoo.com with NNFMP; 08 Jul 2011 01:25:41 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.ca; s=s1024; t=1310088341; bh=TNhuNKdgDCceSVVX8jXb0VQFOeVTmorFtDpYNBz4Oec=; h=X-Yahoo-Newman-Id:Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Received:MIME-Version:Received:Received:In-Reply-To:References:Date:Message-ID:Subject:From:To:Cc:Content-Type:Content-Transfer-Encoding; b=rwl1iyVfFnIaKzxMjpt9V7LfsN4iB62NrM1YyPjLuJv1D3mxmdfuY22NxsB5jQUr7s6qK148Cp26+OF6FYeIBEi5S5cMqwyHmVbAA7+qrrfGB0BBiipWAEG2bPLPtn6ZuVY/BqzCi2vgbXHg0Fy5+fzaF3FOICkIJ/3IqNZ4jC8= X-Yahoo-Newman-Id: 241197.82562.bm@smtp102.mail.gq1.yahoo.com Received: from mail-vx0-f182.google.com (moonlightakkiy@209.85.220.182 with plain) by smtp102.mail.gq1.yahoo.com with SMTP; 07 Jul 2011 18:25:40 -0700 PDT X-Yahoo-SMTP: Xr6qjFWswBAEmd20sAvB4Q3keqXvXsIH9TjJ X-YMail-OSG: uWPVWqwVM1nhy5ASmqxgKL4UTl_AUG0T8N097CjsxA7HWgy l.wzzwBv3eIZ1H00QWYuSj9lz3QH5rLHKOkM7KFRt8PaHfvANjQM8QtZVJ7d 72bUQTojH5jXiQK38vGH.lkf699OvizKRbl_pUrUyiUZCA8rU7LHm8egfC2P 56bjFLmiOk_gMJh3mKl_5vP4zUlgCBU4bs1QbgOoCTzVOYo2PDkFkxOORnIG TO6fZWpHMuREILp1cmJQSROOSO_W2kEKXqrPY5JLy0P4j0_aguQ9pyEEX.Gv tR6FhdSLHsqqu0YuqyrqG1uWmMMiwcdmbT3QRjtNFYjo43A7r4.U5ZIVnSo7 MhrrG.BFxGlZG26kiFnhB6WDSOlpWd5QtdMYYfLR35_R1MFMjI0UUWZVV3Lh 9yTzeolWOi2bZsPPTfG_xB0bhHbuTlN8bmE0U4yaTyqx.Cim6oig0dXRix31 jz09.hMF2HCgzSOhupmpevjZ2PYBHwkA4XwO9tUV4KGYdMD9UYpYozRiu1Zh 7RH3ARstJLJI2mxDg4t1Si2MlEK6xNwcMpfEsOShBqoBM8nyKzQ-- X-Yahoo-Newman-Property: ymail-3 Received: by vxg33 with SMTP id 33so1489179vxg.13 for ; Thu, 07 Jul 2011 18:25:39 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.179.131 with SMTP id dg3mr2144865vdc.9.1310088339378; Thu, 07 Jul 2011 18:25:39 -0700 (PDT) Received: by 10.52.108.229 with HTTP; Thu, 7 Jul 2011 18:25:39 -0700 (PDT) In-Reply-To: <201107071447.53041.hselasky@c2i.net> References: <1309237117.88943.YahooMailNeo@web39307.mail.mud.yahoo.com> <201107061719.38445.hselasky@c2i.net> <201107071447.53041.hselasky@c2i.net> Date: Thu, 7 Jul 2011 19:25:39 -0600 Message-ID: From: PseudoCylon To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org, "freebsd-wireless@freebsd.org" Subject: Re: [CFT] Sierra Wireless HSPA+ USB modem 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: Fri, 08 Jul 2011 01:25:42 -0000 On Thu, Jul 7, 2011 at 6:47 AM, Hans Petter Selasky wrot= e: > On Thursday 07 July 2011 14:43:22 PseudoCylon wrote: >> On Wed, Jul 6, 2011 at 9:19 AM, Hans Petter Selasky > wrote: >> >> Hi, >> >> >> >> I'm going to review and import your driver. >> >> >> >> --HPS >> > >> > Hi, >> > >> > The intial patch had some bad code and didn't compile on 9-current. I'= ve >> > tried to clean it up. Please test and report back if I didn't break >> > anything. >> > >> > http://hselasky.homeunix.org:8192/usie_for_FreeBSD_9_current.patch >> > >> > --HPS >> >> Hello, >> >> Thanks for the patch. >> >> if_usie.c >> 241 =A0 if (usbd_lookup_id_by_uaa(usie_devs, sizeof(usie_devs), uaa) != =3D 0) >> 242 =A0 =A0 =A0 =A0 =A0 return; =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /* no de= vice match */ >> >> It should return non-zero on success, but somehow this caused the >> process to exit, and modem stayed being a CD-ROM. > > Hi, > > Is this device changing its USB vendor and product ID ? > Yes, it does. So I added the device id for cd-rom, SIERRA, TRUINSTALL (already in usbdevs). static const STRUCT_USB_HOST_ID usie_devs[] =3D { #define USIE_DEV(v, d) { \ USB_VP(USB_VENDOR_##v, USB_PRODUCT_##v##_##d) } USIE_DEV(SIERRA, MC8700), USIE_DEV(AIRPRIME, USB308), + USIE_DEV(SIERRA, TRUINSTALL), #undef USIE_DEV }; Now it works even if the modem is plugged in before loading the driver. The device id 0x0fff is for cd-rom, but sierra didn't specify the vendor id. So, there might be (AIRPRIME, TRUINSTALL). With your "uint8_t pad" fix, the driver works fine. Thanks AK Here is a patch. diff --git a/sys/dev/usb/net/if_usie.c b/sys/dev/usb/net/if_usie.c index 552765b..f6f6c60 100644 --- a/sys/dev/usb/net/if_usie.c +++ b/sys/dev/usb/net/if_usie.c @@ -88,6 +88,7 @@ static const STRUCT_USB_HOST_ID usie_devs[] =3D { USB_VP(USB_VENDOR_##v, USB_PRODUCT_##v##_##d) } USIE_DEV(SIERRA, MC8700), USIE_DEV(AIRPRIME, USB308), + USIE_DEV(SIERRA, TRUINSTALL), #undef USIE_DEV }; @@ -1522,8 +1523,9 @@ usie_hip_rsp(struct usie_softc *sc, uint8_t *rsp, uint32_t len) DPRINTF("hip: len=3D%d msgID=3D%02x, param=3D%02x\n", be16toh(hip->len), hip->id, hip->param); + pad =3D (hip->id & USIE_HIP_PAD) ? 1 : 0; + if ((hip->id & USIE_HIP_MASK) =3D=3D USIE_HIP_CNS2H) { - pad =3D (hip->id & USIE_HIP_PAD) ? 1 : 0; cns =3D (struct usie_cns *)(((uint8_t *)(hip + 1)) + pad); if (j < (sizeof(struct usie_cns) + From owner-freebsd-wireless@FreeBSD.ORG Fri Jul 8 07:37:53 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 09E97106566B; Fri, 8 Jul 2011 07:37:53 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe08.c2i.net [212.247.154.226]) by mx1.freebsd.org (Postfix) with ESMTP id 609508FC08; Fri, 8 Jul 2011 07:37:51 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=0STrgBBJ/IeSzGUncdVPgrlXwYQACyAaeTEJnWJdz8Q= c=1 sm=1 a=SvYTsOw2Z4kA:10 a=8GCaWQNJa_IA:10 a=WQU8e4WWZSUA:10 a=8nJEP1OIZ-IA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=8kQB0OdkAAAA:8 a=N3vH5299AAAA:8 a=j57HFelR7c5eax5xvCcA:9 a=mf3W9SHYvq4Z4mZeRX8A:7 a=wPNLvfGTeEIA:10 a=9aOQ2cSd83gA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe08.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 150414763; Fri, 08 Jul 2011 09:37:50 +0200 From: Hans Petter Selasky To: freebsd-current@freebsd.org Date: Fri, 8 Jul 2011 09:35:58 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <1309237117.88943.YahooMailNeo@web39307.mail.mud.yahoo.com> <201107071447.53041.hselasky@c2i.net> In-Reply-To: X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq,NwSZ4V" =?iso-8859-1?q?=7CLR=2E+tj=7Dg5=0A=09=25V?=,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( =?iso-8859-1?q?=0A=09=3AAuzV9=3A=2EhESm-x4h240C=609=3Dw?= MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201107080935.58680.hselasky@c2i.net> Cc: PseudoCylon , "freebsd-wireless@freebsd.org" Subject: Re: [CFT] Sierra Wireless HSPA+ USB modem 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: Fri, 08 Jul 2011 07:37:53 -0000 On Friday 08 July 2011 03:25:39 PseudoCylon wrote: > On Thu, Jul 7, 2011 at 6:47 AM, Hans Petter Selasky wrote: > > On Thursday 07 July 2011 14:43:22 PseudoCylon wrote: > >> On Wed, Jul 6, 2011 at 9:19 AM, Hans Petter Selasky > > > > wrote: > >> >> Hi, > >> >> > >> >> I'm going to review and import your driver. > >> >> > >> >> --HPS > >> > > >> > Hi, > >> > > >> > The intial patch had some bad code and didn't compile on 9-current. > >> > I've tried to clean it up. Please test and report back if I didn't > >> > break anything. > >> > > >> > http://hselasky.homeunix.org:8192/usie_for_FreeBSD_9_current.patch > >> > > >> > --HPS > >> > >> Hello, > >> Hi, Can I remove the mock DHCP client? It does not appear to be sending the DHCP frames anywhere, except BPF ? --HPS From owner-freebsd-wireless@FreeBSD.ORG Fri Jul 8 11:00:33 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 7B505106566B; Fri, 8 Jul 2011 11:00:33 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe07.c2i.net [212.247.154.194]) by mx1.freebsd.org (Postfix) with ESMTP id CAADB8FC0A; Fri, 8 Jul 2011 11:00:32 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=SJA03SmFjIOBaRUqQpAxZTuC3Mg0Qr8luS0qYjfHCY4= c=1 sm=1 a=SvYTsOw2Z4kA:10 a=8GCaWQNJa_IA:10 a=WQU8e4WWZSUA:10 a=8nJEP1OIZ-IA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=6I5d2MoRAAAA:8 a=LaiKOz6ysApxJTeDc58A:9 a=wPNLvfGTeEIA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe07.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 150239985; Fri, 08 Jul 2011 13:00:30 +0200 From: Hans Petter Selasky To: freebsd-current@freebsd.org Date: Fri, 8 Jul 2011 12:58:39 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <1309237117.88943.YahooMailNeo@web39307.mail.mud.yahoo.com> <201107071447.53041.hselasky@c2i.net> In-Reply-To: X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq,NwSZ4V" =?iso-8859-1?q?=7CLR=2E+tj=7Dg5=0A=09=25V?=,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( =?iso-8859-1?q?=0A=09=3AAuzV9=3A=2EhESm-x4h240C=609=3Dw?= MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201107081258.39300.hselasky@c2i.net> Cc: PseudoCylon , "freebsd-wireless@freebsd.org" Subject: Re: [CFT] Sierra Wireless HSPA+ USB modem 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: Fri, 08 Jul 2011 11:00:33 -0000 Hi, I found some more bugs/issues before I committed the driver. Please verify: http://svn.freebsd.org/changeset/base/223864 --HPS From owner-freebsd-wireless@FreeBSD.ORG Fri Jul 8 13:05:45 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 6D6F91065672 for ; Fri, 8 Jul 2011 13:05:45 +0000 (UTC) (envelope-from moonlightakkiy@yahoo.ca) Received: from nm12-vm0.bullet.mail.ne1.yahoo.com (nm12-vm0.bullet.mail.ne1.yahoo.com [98.138.91.51]) by mx1.freebsd.org (Postfix) with SMTP id 218498FC15 for ; Fri, 8 Jul 2011 13:05:45 +0000 (UTC) Received: from [98.138.90.51] by nm12.bullet.mail.ne1.yahoo.com with NNFMP; 08 Jul 2011 13:05:44 -0000 Received: from [98.138.84.37] by tm4.bullet.mail.ne1.yahoo.com with NNFMP; 08 Jul 2011 13:05:44 -0000 Received: from [127.0.0.1] by smtp105.mail.ne1.yahoo.com with NNFMP; 08 Jul 2011 13:05:44 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.ca; s=s1024; t=1310130344; bh=V5RQZntOgadmuSlTCtkhciID77DGV2sLc3mDm/dR4iA=; h=X-Yahoo-Newman-Id:Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Received:MIME-Version:Received:Received:In-Reply-To:References:Date:Message-ID:Subject:From:To:Cc:Content-Type; b=Q4JTPAAW/bYh8HlEWZ+rdZvWR1ckjMuAnPfCSdPWZMcLwOQlBzi8++nGiNvkrOHNAGZBOIa6XBxa3Buvs9Uq9MzA+deaUbJ8HaXADWgz+hKqvpXEaNdfYH4G/DxaV51g14+jskHszUTEoUhU3sHUiCdj4GhlTozvk4fWib8ZLXA= X-Yahoo-Newman-Id: 522401.51087.bm@smtp105.mail.ne1.yahoo.com Received: from mail-vw0-f54.google.com (moonlightakkiy@209.85.212.54 with plain) by smtp105.mail.ne1.yahoo.com with SMTP; 08 Jul 2011 06:05:43 -0700 PDT X-Yahoo-SMTP: Xr6qjFWswBAEmd20sAvB4Q3keqXvXsIH9TjJ X-YMail-OSG: yQpvkHwVM1nrWuntocx4RH0BY6ez.MDVTkIHXRl2lkCVExZ g6uQrFLBh93LBR_zDUAxNWjAPANCZrDrNr97LDmM2HEqgcDKWxNuY0gJg1SB eYg_MMhahAbACrpZHDW6Oe6Xd9GF93vnxQUl7Bxv13yDUILEHBoiOgi9046s vpLDtKueCkAyCu.XdCXx7JFBqVpuJJF0EvjComUUzyD54fj.FVtt0Nnz3MUn oELQjb6UgDYvxsNMRFx_UGDpccu9HcledkxNd6qx4kJW_P9.LJo7iZJeUlH7 a1dQcSavPQKTD9Y6IElFDTj.OWj1DXRumEq2lus7f.BjSzaCeZXFqGdD_V_1 OBaZI6hASnuTNnlG3zpd4JGbVZsUkLjfj8OYpHT_0bnAfTFHw3.bS6iNzovF Nai52_kwCLbynUuY_b5hBqD4TrCfmS28BBRhTdb5SvwetVEiGeLd4pjE7ppw hJqlizdMJnhdIEEkzS_Dd3ZxXilIcTW6ffNc_cLJD774- X-Yahoo-Newman-Property: ymail-3 Received: by vws18 with SMTP id 18so1888079vws.13 for ; Fri, 08 Jul 2011 06:05:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.179.131 with SMTP id dg3mr2879930vdc.9.1310128823094; Fri, 08 Jul 2011 05:40:23 -0700 (PDT) Received: by 10.52.108.229 with HTTP; Fri, 8 Jul 2011 05:40:23 -0700 (PDT) In-Reply-To: <201107080935.58680.hselasky@c2i.net> References: <1309237117.88943.YahooMailNeo@web39307.mail.mud.yahoo.com> <201107071447.53041.hselasky@c2i.net> <201107080935.58680.hselasky@c2i.net> Date: Fri, 8 Jul 2011 06:40:23 -0600 Message-ID: From: PseudoCylon To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current@freebsd.org, "freebsd-wireless@freebsd.org" Subject: Re: [CFT] Sierra Wireless HSPA+ USB modem 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: Fri, 08 Jul 2011 13:05:45 -0000 On Fri, Jul 8, 2011 at 1:35 AM, Hans Petter Selasky wrote: > On Friday 08 July 2011 03:25:39 PseudoCylon wrote: >> On Thu, Jul 7, 2011 at 6:47 AM, Hans Petter Selasky > wrote: >> > On Thursday 07 July 2011 14:43:22 PseudoCylon wrote: >> >> On Wed, Jul 6, 2011 at 9:19 AM, Hans Petter Selasky >> > >> > wrote: >> >> >> Hi, >> >> >> >> >> >> I'm going to review and import your driver. >> >> >> >> >> >> --HPS >> >> > >> >> > Hi, >> >> > >> >> > The intial patch had some bad code and didn't compile on 9-current. >> >> > I've tried to clean it up. Please test and report back if I didn't >> >> > break anything. >> >> > >> >> > http://hselasky.homeunix.org:8192/usie_for_FreeBSD_9_current.patch >> >> > >> >> > --HPS >> >> >> >> Hello, >> >> > > Hi, > > Can I remove the mock DHCP client? > Yes, you can. I had a feeling of it won't go into the src tree. That's why it was in a separate file. The only drawback is now users have to manually set up the connection. Here is an updated how-to-use #ifconfig usie0 up IP and DNS addr will be printed on the console. Using those addr, #ifconfig usie0 inet N.N.N.N #ifconfig usie0 defaultif #echo "nameserver N.N.N.N" > /etc/resolv.conf One nemaserve is sufficient. #echo "nameserver N.N.N.N" >> /etc/resolv.conf And, I have tried the committed version of the driver, and it is working fine. Thanks for committing. AK