ath_rate_sample: only sample/try HT rates for HT nodes

Adrian Chadd adrian at freebsd.org
Wed May 18 07:23:05 UTC 2011


I've committed this to -HEAD. Please let me know if if_ath breaks for
you, especially if you're using non-11n stuff. :)



Adrian

On 18 May 2011 14:02, Adrian Chadd <adrian at freebsd.org> wrote:
> Hi,
>
> The initial sample rate 11n code that I merged in from Rui didn't
> properly disable the non-HT rates when sampling and choosing a rate
> for a HT node.
>
> This meant that time was spent trying to sample non-11n rates.
>
> This patch disables this behaviour whilst leaving the non-11n rates in
> the 11na/11ng TX schedules. Since the management rate in an 11na
> network is a legacy rate (6mbit, not MCS0) then there will be
> instances of legacy TXing occuring. If the legacy rates are simply
> removed from the TX schedule, the sample rate module logs a complaint.
> I'd rather this not happen.
>
> This seems to work in legacy and non-legacy modes but I admit I
> haven't given it much testing yet in 11bg and 11a modes. I'd
> appreciate some testing and feedback.
>
> Thanks!
>
>
> Adrian
>


More information about the freebsd-wireless mailing list