[PATCH] ath10k: implement more versatile set_bitrate_mask
Kalle Valo
kvalo at qca.qualcomm.com
Tue Apr 21 23:27:17 PDT 2015
Kalle Valo <kvalo at qca.qualcomm.com> writes:
> Michal Kazior <michal.kazior at tieto.com> writes:
>
>>> To reduce support questions from the users it would be nice to give few
>>> good examples how to use this with iw. And also it makes it easier to
>>> test the patch. If you could send something I can add it to the commit
>>> log.
>>
>> Should work:
>>
>> iw wlan0 set bitrates legacy 1 6 12 ht-mcs 1 2 3
>> iw wlan0 set bitrates legacy-5 mcs-5 7 8 9
>> iw wlan0 set bitrates legacy-5 24 ht-mcs-5 vht-mcs-5 1:0-9
>>
>> Won't work:
>>
>> iw wlan0 set bitrates legacy-5 ht-mcs-5 vht-mcs-5 1:0-5
>> iw wlan0 set bitrates vht-mcs-5 2:7-9
>>
>> (note the invalid VHT MCS ranges)
>
> Thanks, I added these to the commit log.
Actually, I had some problems:
# iw wlan0 set bitrates legacy-2.4 1 6 12 ht-mcs-2.4 1 2 3
command failed: Invalid argument (-22)
# iw wlan0 set bitrates legacy-5 1 6 12 ht-mcs-5 1 2 3
command failed: Invalid argument (-22)
# iw wlan0 set bitrates legacy-5 vht-mcs-5 7 8 9
command failed: Invalid argument (-22)
# iw wlan0 set bitrates legacy-5 24 ht-mcs-5 vht-mcs-5 1:0-9
#
The first one I understand as this CUS223 board only supports 5G. But
why did the second and third command fail?
--
Kalle Valo
More information about the ath10k
mailing list