From owner-freebsd-wireless@FreeBSD.ORG Wed Mar 14 18:20:24 2012 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 6CBC91065686; Wed, 14 Mar 2012 18:20:24 +0000 (UTC) (envelope-from sendtomatt@gmail.com) Received: from mail-pz0-f45.google.com (mail-pz0-f45.google.com [209.85.210.45]) by mx1.freebsd.org (Postfix) with ESMTP id 29A678FC12; Wed, 14 Mar 2012 18:20:24 +0000 (UTC) Received: by dadp14 with SMTP id p14so8784717dad.18 for ; Wed, 14 Mar 2012 11:20:23 -0700 (PDT) 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=YYNfRzeIaMrqkLLvoC8KomleHEN1FKedaHSMJF3I2FY=; b=JDwRynYOePb1mxczQYia3dvVf/nD/prN3YcAW4/AEffTBmnYZEq8SZPIENmm4xfIqo Uu5W6P6ftdfREoSoXiOhH5lpOYpXWRFxkt6TSRWjhUP+OGAAwZ+tk6E4WUvkE1l8ncJm vEgpgD8y5QdyqeC2y/1oa7v9M7SdEQ1MExq2bpPS9EDNOimRX4BS5h+Xl5JsZAQtkkbt ktQpOpPuliPKlPoSHZghKsKWnwO2b44xyQnaI89viYzzy+CEB6oSclG215yhUTvAtATh 06GRUJgYE4Oq5eZUm1gqeOhRf2nyd1skrFni5EiUXxgXNBCZskt1ZuRgGax98C5Y2ihv ouqw== Received: by 10.68.242.169 with SMTP id wr9mr4229074pbc.36.1331749223846; Wed, 14 Mar 2012 11:20:23 -0700 (PDT) Received: from flatline.local (70-36-223-154.dsl.dynamic.sonic.net. [70.36.223.154]) by mx.google.com with ESMTPS id z5sm2796485pbn.35.2012.03.14.11.20.21 (version=SSLv3 cipher=OTHER); Wed, 14 Mar 2012 11:20:22 -0700 (PDT) Message-ID: <4F60E163.8020304@gmail.com> Date: Wed, 14 Mar 2012 11:20:19 -0700 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: Aleksandr Rybalko References: <4F4828C0.6020705@gmail.com> <4F5A8023.1090705@gmail.com> <4F5AC7CF.3090409@gmail.com> <4F5C0C86.7040503@gmail.com> <4F5C24ED.3090601@gmail.com> <4F5CD920.2000905@gmail.com> <4F5D0876.5040409@gmail.com> <4F5D14E0.3050301@gmail.com> <20120312001625.4d9b3b52.ray@ddteam.net> <4F5E7D17.7000102@gmail.com> <4F5E9814.7010803@gmail.com> <4F5E9BA3.2000401@gmail.com> <20120313131415.36ecd761.ray@dlink.ua> <4F5FE891.7050306@gmail.com> <20120314200718.b6b51452.ray@ddteam.net> In-Reply-To: <20120314200718.b6b51452.ray@ddteam.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Aleksandr Rybalko , 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: Wed, 14 Mar 2012 18:20:24 -0000 On 03/14/12 11:07, Aleksandr Rybalko wrote: > On Tue, 13 Mar 2012 17:38:41 -0700 > matt wrote: > >> On 03/13/12 08:03, Adrian Chadd wrote: >>> Hi, >>> >>> Matt - you said your RT driver worked fine with CCMP, but the >>> zrouter one didn't? Did I get that right? >>> >>> >>> Adrian >>> . >>> >> Yes, but it sounded like Alexandr knew why? > Not found yet :) > Matt, can you please check it in different combination? > Two possible cases: > 1. Something different in net80211 crypto between HEAD and 8.X-RELEASE. > 2. It is possible that driver works with crypto only in STA mode. > > Hope, it will help to find problem source. > >> Regarding crash, >> I'm just now in sync on this machine with the src tree it has, so I >> can rule out future kernel vs old-time userland issues. >> >> Not sure whether that was the hw/sw ifdef, or something he said he >> broke and was looking at. > I add a couple of #ifndef RT2860_NO_HW_CRYPTO, so if > RT2860_NO_HW_CRYPTO is defined, then used net80211 software crypto. > >> Alexandr-- Thanks for posting a repo& adding commit bits. > Welcome :) > >> We'll have a working ral soon for the folks that have those only, >> which is the important part! >> No wifi is no FreeBSD for a lot of prospective users, I'm sure. > Yeah, agree with you. > >> Thanks! >> Matt > WBW I won't get to look at this until tomorrow, but I do remember having to make a few changes after the "panics on kldload" phase before it passed ccmp traffic in STA mode. I never tested hostap (or adhoc, or ahdemo, etc). I feel like some of the callbacks weren't there and were issuing complaints, but I'm not sure I saw that in the recent edition. Have you tested CCMP in STA mode? I can do that tomorrow as well...like I said source was out of sync with world & kernel until yesterday. If sta works for you then all bets are off, because I didn't test hostap. Matt