Skip to contentSkip to conversation

Setting legacy bit-rates no longer works?

DISCUSSION Ben Greear 1 participant 2 messages Oct 1, 2014

lore
Share & tools
lore

Ben Greear

author
#0 lore raw

I tried this on a 3.17.0-rc7+ kernel, but reported tx-rate stays at 54Mbps

iw dev sta1 set bitrates legacy-5 24

Driver is ath9k, but wpa_supplicant is configured to disable HT.

I'm going to go dig into this, but if someone has any suggestions, please let me know.

Thanks,
Ben

Signature · 2 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com
author
#1 lore raw
Quoted 8 lines · Ben Greear

I tried this on a 3.17.0-rc7+ kernel, but reported tx-rate stays at 54Mbps

iw dev sta1 set bitrates legacy-5 24

Driver is ath9k, but wpa_supplicant is configured to disable HT.

I'm going to go dig into this, but if someone has any suggestions, please let me know.

Ok, so my problem is that I was trying to set legacy-2.4 rates with one call to iw, and legacy-5 rates with another. Any non-specified rates get set to full bit-rate, so that is why it wasn't working.

You have to do something like:

iw dev sta1 set bitrates legacy-2.4 24 legacy-5 24

Probably any time supplicant sets the rates, even if not specifying legacy, it is going to over-write your previously set legacy rates.

I think the kernel should just not make any changes if the user does not specify that entry in the netlink message, but that is a problem for another day.

Thanks,
Ben

Signature · 2 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com