Auto TX rate adaption

Olof Johansson dev at skyshaper.net
Thu May 30 15:25:32 EDT 2013


Thanks for the reply!

However, I'm a bit confused :)

In the tx_bd struct there is a bd_rate:2 bit field. Is this the
data_rate index you mean?

Could you explain what the possible values here does, 0, 1, 2?

>From what I can tell, there is no field in the tx_db struct thats
contains the rate, but I haven't looked at the dumps here so I might
be wrong?

Where can the firmware pick rates from? BD and TPE? What are these and
how do I set them? Where does the firmware get it's rate values? I
guess they must match something in the nv-file?

I know these are basic questions, but other wlan hw I've worked with
has had quite straightforward ways of enabling the autorate and fixing
rates if required. So I'm a bit stumped... :)

Cheers
--
Olof

On Thu, May 30, 2013 at 6:05 PM, YanBo <dreamfly281 at gmail.com> wrote:
> Some rough idea about this, hope helpful to inspire you.
> The TX  BD has a data_rate index, set to 0 to used the Station
> descriptor rate, 1 or 2 use the BD rate
>
> The station descriptor has filed about BD rate which can be set if the
> 1 or 2 be set in the TX BD,
>
> If use the station descriptor data rate, the data rate relative filed
> of it should be set correctly at firstly.
> especially the TPE rate table.
>
>
> BR /Yanbo
>
>
>
>
>
> On Wed, May 29, 2013 at 7:49 PM, Olof Johansson <dev at skyshaper.net> wrote:
>> Hey everyone.
>>
>> I've been trying to figure out how to make the firmware send packets
>> with something else than the lowest basic rate (1 and 6 respectively)
>> but I seem to be hitting a dead end.
>>
>> First I thought it was due to rateset missing in the bss_config. But
>> looking at packet dumps from the working driver this just seems to be
>> either zeroes or random memory data.
>>
>> Then I found the CFG parameters which are sent at startup which
>> contains some rate parameter as well. Trying these out got me nowhere
>> either... and judging from packet dumps this CFG is not used anyway.
>>
>> Does anyone have any hints that could get me in the right direction? :)
>>
>> Cheers
>> --
>> Olof
>>
>> _______________________________________________
>> wcn36xx mailing list
>> wcn36xx at lists.infradead.org
>> http://lists.infradead.org/mailman/listinfo/wcn36xx



More information about the wcn36xx mailing list