* Setting legacy bit-rates no longer works?
@ 2014-10-01 23:00 Ben Greear
2014-10-01 23:50 ` Ben Greear
0 siblings, 1 reply; 2+ messages in thread
From: Ben Greear @ 2014-10-01 23:00 UTC (permalink / raw)
To: linux-wireless@vger.kernel.org
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
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Setting legacy bit-rates no longer works?
2014-10-01 23:00 Setting legacy bit-rates no longer works? Ben Greear
@ 2014-10-01 23:50 ` Ben Greear
0 siblings, 0 replies; 2+ messages in thread
From: Ben Greear @ 2014-10-01 23:50 UTC (permalink / raw)
To: linux-wireless@vger.kernel.org
On 10/01/2014 04:00 PM, Ben Greear wrote:
> 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
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-10-01 23:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-01 23:00 Setting legacy bit-rates no longer works? Ben Greear
2014-10-01 23:50 ` Ben Greear
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).