Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jul 2014 13:52:06 -0700
From:      Adrian Chadd <adrian@freebsd.org>
To:        Hans Petter Selasky <hps@selasky.org>
Cc:        "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "src-committers@freebsd.org" <src-committers@freebsd.org>
Subject:   Re: svn commit: r269127 - head/sys/dev/usb/wlan
Message-ID:  <CAJ-Vmo=rgrXab5XUg93uQPYkpq362P4WALU3SCZR2XYiUvLjYA@mail.gmail.com>
In-Reply-To: <53D6B784.6080102@selasky.org>
References:  <201407261606.s6QG61le092895@svn.freebsd.org> <CAJ-Vmo=gy99iyOwoeCBKKMTAba1CycJgQBO2ti2=eFR_9ht-UQ@mail.gmail.com> <53D3FDEC.5040000@selasky.org> <CAJ-VmonefZWYRdF2mbhKQ-GVhUn-32nop1TsXKq=ZT3xP5mmsA@mail.gmail.com> <53D55CD9.4000408@selasky.org> <CAJ-VmonV=mt5_6xZa-naD%2BS3mPKE14wTUnTyFJrBnE3aA8MRMw@mail.gmail.com> <53D6B784.6080102@selasky.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 28 July 2014 13:50, Hans Petter Selasky <hps@selasky.org> wrote:
> On 07/27/14 22:15, Adrian Chadd wrote:
>>
>> Ok. So, which one of those is showing up as 0?
>
>
> Hi,
>
> I think it is the last one. I cannot test this again until later this year,
> because I don't have access to the AP which is causing this :-(
>
> Is it possible you can add a function to the net80211 stack, which gets the
> rate from the "ni" in a safe manner?

The whole rate control thing from net80211 has to be upgraded. Drivers
shouldn't be using ni->ni_txrate for anything other than informational
purposes, yet .. well, that's not the case.


-a



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmo=rgrXab5XUg93uQPYkpq362P4WALU3SCZR2XYiUvLjYA>