Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Aug 2013 20:24:15 -0700
From:      Adrian Chadd <adrian@freebsd.org>
To:        Julio Merino <julio@meroh.net>
Cc:        freebsd-wireless@freebsd.org
Subject:   Re: kern/181100: [bwi] Turning up bwi0 crashes / deadlocks the kernel
Message-ID:  <CAJ-VmonqB0TfY1wxC4zcr4-03sW4J_uTfgnAeAeTJmcRvnmvEA@mail.gmail.com>
In-Reply-To: <52099CF4.7050101@meroh.net>
References:  <201308111650.r7BGo1Qt048071@freefall.freebsd.org> <CAJ-Vmo=u7VZjs0Nd0dGkaHNboNwUU=5N%2B25CT=0RfcT7kG0oVg@mail.gmail.com> <CADyfeQWv6t8TuKZqTvtVUiQMNDcAsDZjsDzG_ooRxLgTSUuvcQ@mail.gmail.com> <CAJ-Vmonc0NiZXnvCLSsceFgwQ-f3qiRBG2yxgk5%2BL8BhSQD5bQ@mail.gmail.com> <CADyfeQXsa1NoCthcQqobvwCuuBzP%2BXVp87dBU=QN1FCEevz0kg@mail.gmail.com> <CAJ-Vmo=Zp4s_vkDSUNkO3ekC2A9NdGqDoA2MxCgvbXFUhQDkdw@mail.gmail.com> <52099CF4.7050101@meroh.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Oh, god damnit!

On 12 August 2013 19:41, Julio Merino <julio@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmonqB0TfY1wxC4zcr4-03sW4J_uTfgnAeAeTJmcRvnmvEA>