* ATH10K set bitrates problem
@ 2014-06-06 16:43 Frank Agius
2014-06-06 18:43 ` Janusz Dziedzic
0 siblings, 1 reply; 4+ messages in thread
From: Frank Agius @ 2014-06-06 16:43 UTC (permalink / raw)
To: ath10k
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?
frank agius
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: ATH10K set bitrates problem
2014-06-06 16:43 Frank Agius
@ 2014-06-06 18:43 ` Janusz Dziedzic
2014-06-06 19:35 ` frank agius
0 siblings, 1 reply; 4+ messages in thread
From: Janusz Dziedzic @ 2014-06-06 18:43 UTC (permalink / raw)
To: Frank Agius; +Cc: ath10k@lists.infradead.org
On 6 June 2014 18:43, Frank Agius <ftagius@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.
BR
Janusz
>
> frank agius
>
>
> _______________________________________________
> ath10k mailing list
> ath10k@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/ath10k
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: ATH10K set bitrates problem
2014-06-06 18:43 ` Janusz Dziedzic
@ 2014-06-06 19:35 ` frank agius
0 siblings, 0 replies; 4+ messages in thread
From: frank agius @ 2014-06-06 19:35 UTC (permalink / raw)
To: Janusz Dziedzic; +Cc: ath10k@lists.infradead.org
On 6/6/2014 2:43 PM, Janusz Dziedzic wrote:
> On 6 June 2014 18:43, Frank Agius <ftagius@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
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: ATH10K set bitrates problem
@ 2014-06-09 11:43 frank agius
0 siblings, 0 replies; 4+ messages in thread
From: frank agius @ 2014-06-09 11:43 UTC (permalink / raw)
To: Janusz Dziedzic; +Cc: ath10k@lists.infradead.org
On 6/6/2014 2:43 PM, Janusz Dziedzic wrote:
> On 6 June 2014 18:43, Frank Agius <ftagius@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
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-06-09 11:43 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-09 11:43 ATH10K set bitrates problem frank agius
-- strict thread matches above, loose matches on Subject: below --
2014-06-06 16:43 Frank Agius
2014-06-06 18:43 ` Janusz Dziedzic
2014-06-06 19:35 ` frank agius
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox