From owner-freebsd-wireless@FreeBSD.ORG Sat Mar 17 23:03:53 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 E37AE106566B; Sat, 17 Mar 2012 23:03:52 +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 9D4B98FC14; Sat, 17 Mar 2012 23:03:52 +0000 (UTC) Received: by dald2 with SMTP id d2so8529062dal.13 for ; Sat, 17 Mar 2012 16:03:52 -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=h8y7FHy7gpIU60SjN8cRQIAXixUG2xk7zTZZptxs7vM=; b=vBn015dmwkAT+wQjy6V9WuPuV33Dy5W6+Wd22prnvkKVJ9kl3AryKdrwPOD9qS5zDt UCUKy2QSkv8NWeCJOx8kmAjqef5qWevbOcuatHex2zQQfJ/+enespt864MpP7RHEr2e7 wXEf1scyo3NQu8CxcCpJPI/iMU2JkzuM9+BIFhEEK8eoWP1x6yx+bjZHotApCRVkTVNz UVrXEQ8jg3zuulZKJfNEHMaFKPCKJl1U7qZ1jcnSmDCf6GYSxJUtmMDRnmuingJSoD6J z1H/60ZSWjv2nsEPJr85xKN90JcMeHV4+dMTs3ksh5xC1/iMmysJouBuNLTXy2AfTrhb NE2w== Received: by 10.68.204.10 with SMTP id ku10mr6479053pbc.101.1332025432124; Sat, 17 Mar 2012 16:03:52 -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 3sm4624591pbf.47.2012.03.17.16.03.49 (version=SSLv3 cipher=OTHER); Sat, 17 Mar 2012 16:03:50 -0700 (PDT) Message-ID: <4F651853.2050409@gmail.com> Date: Sat, 17 Mar 2012 16:03:47 -0700 From: matt User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0.3) Gecko/20120314 Thunderbird/10.0.3 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: Sat, 17 Mar 2012 23:03:53 -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 Haven't got to comparing what my rt2860.c was doing vs. the one in the google code, but the google code source is definitely getting a panic in rt2860_rx_queue_done (sorry from memory, maybe fewer underscores) trying to run CCMP. It scans and goes up just fine, and wpa_supplicant exits without error...I suppose I should have run wpa_cli and gotten a little more than "exits without error" :). I ruled out panics specific to a DHCP packet by running the interface static. This time at least I saw a backtrace. I'll keep looking at it. If anyone hasn't seen it before, I found "meld" in ports which is pretty nice for doing line by line comparisons where things are mostly similar, reminds me of the visual patch tool in Xcode. Matt