Only Lowest Legacy Rate 6Mbps used by Adhoc Mode

Michal Kazior michal.kazior at tieto.com
Tue Mar 4 04:31:14 EST 2014


On 4 March 2014 10:18, Yeoh Chun-Yeow <yeohchunyeow at gmail.com> wrote:
>> You can try to set/force tx rate using iw:
>>
>> Eg. setup legacy 18Mbps
>> iw wlanX set bitrates legacy-5 18 ht-mcs-5 vht-mcs-5
>>
>> Set nss=1
>> iw wlanX set bitrates legacy-5 ht-mcs-5 vht-mcs-5 1:0-9
>>
>> And check using sniffer if that will work - I didn't check adhoc.
>>
>
> Yes, this work. I can even force the HT rate.
> [ 559.410000] ath10k: rx skb 86feec00 len 116 ht rate_idx 7 vht_nss 0
> freq 5180 band 1 flag 0x200200 fcs-err 0
> [  560.410000] ath10k: rx skb 86884900 len 116 ht rate_idx 7 vht_nss 0
> freq 5180 band 1 flag 0x200200 fcs-err 0
>
> Hmm, it seems that rate control is not working for adhoc. Where to
> look for a fix?

Hmm.. if I assume ath10k_sta_state() isn't called for AUTH->ASSOC
(which probably isn't unreasonable to consider since IBSS doesn't have
an association sequence, does it?) then ath10k_station_assoc() isn't
called and neither is ath10k_wmi_peer_assoc() which I suspect setups
HW rate control.

Can you check if the ath10k_wmi_peer_assoc() is called or not and what
are the station state transitions (I think mac80211 traces provide the
transition debug)?


Michał



More information about the ath10k mailing list