Please Test: Updated Ral Driver Patch for rt2860/rt3090

matt sendtomatt at gmail.com
Sat Mar 17 23:03:53 UTC 2012


On 03/14/12 11:07, Aleksandr Rybalko wrote:
> On Tue, 13 Mar 2012 17:38:41 -0700
> matt<sendtomatt at gmail.com>  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


More information about the freebsd-wireless mailing list