kern/181100: [bwi] Turning up bwi0 crashes / deadlocks the kernel

Adrian Chadd adrian at freebsd.org
Tue Aug 13 03:24:17 UTC 2013


Oh, god damnit!

On 12 August 2013 19:41, Julio Merino <julio at meroh.net> wrote:
> On 2013-08-11 23:19 , Adrian Chadd wrote:
>> Try this patch in sys/dev/bwi/ :
>
> This is what I got:
>
> bwi_mac_set_ackrates: i=0 (of 12); rs->rs_rates = 130

Oh hm, the problem is that rs_rates[] shouldn't be directly used anymore.

The rate table value has the basic rate bit set, so it's rate ==
1mbit, it's stored as 2*throughput; and the basic rate (128) is set,
so:

128 + 2*1 == 130

Sigh.

Lemme go through my patch archive to see where the code went. I
thought I committed it when I threw the 11n code into ieee80211_phy.c
. Grr!

Thanks!




-adrian


More information about the freebsd-wireless mailing list