Skip to contentSkip to conversation

ATH10K set bitrates problem

DISCUSSION Frank Agius 2 participants 3 messages Jun 6, 2014 Qualcomm Atheros ATH10K wireless driver

lore
Share & tools
lore
#0 lore raw

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
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

#1 lore raw
Quoted 10 lines · Frank Agius

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)
Quoted 6 lines

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

Quoted 8 lines

frank agius

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

#2 lore raw
Quoted 22 lines · Janusz Dziedzic
Quoted 10 lines · Frank Agius

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)
Quoted 6 lines

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

Quoted 4 lines

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
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k