ath_rate_sample: only sample/try HT rates for HT nodes

Adrian Chadd adrian at freebsd.org
Wed May 18 06:02:58 UTC 2011


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sample-rate-11n.diff
Type: application/octet-stream
Size: 3395 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-wireless/attachments/20110518/ad026915/sample-rate-11n.obj


More information about the freebsd-wireless mailing list