ATH10K set bitrates problem

frank agius ftagius at yahoo.com
Fri Jun 6 12:35:31 PDT 2014


On 6/6/2014 2:43 PM, Janusz Dziedzic wrote:
> On 6 June 2014 18:43, Frank Agius <ftagius at yahoo.com> wrote:
>> I am unable to set the bitrates for devices using the ath10k driver,
>> regardless of the arguments I pass:
>>
>>
>> # iw wlan0 set bitrates legacy-2.4 6 12 24
>> command failed: Invalid argument (-22)
>> # iw dev wlan0 set bitrates mcs-2.4 10
>> command failed: Invalid argument (-22)
>>
>>
>> The ath10k drivers were built from stable backports v3.15-rc1.   I am using
>> firmware file firmware-2.bin_999.999.0.636
>>
>>
>> Is this a known issue?
>>
> This is expected.
> ath10k support only single rate setting (or single nss). So, please
> check commit message,
> ath10k: add set_bitrate_mask callback
>
> Try this:
> iw wlan0 set bitrates legacy-2.4 18 ht-mcs-2.4
> iw wlan0 set bitrates legacy-2.4 ht-mcs-2.4 6
> iw wlan0 set bitrates - back to default mask.


Thanks, using the bitrate option ht-mcs-2.4 instead of mcs-2.4 worked.  
Note that I did have to upgrade the iw tools package.  The version I was 
using (3.11) does not have support for bitrate option ht-mcs.  Version 
3.15 of iw tools does support the new options.

frank agius



More information about the ath10k mailing list