From: Ben Greear <greearb@candelatech.com>
To: "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: Re: Setting legacy bit-rates no longer works?
Date: Wed, 01 Oct 2014 16:50:13 -0700 [thread overview]
Message-ID: <542C9335.6050900@candelatech.com> (raw)
In-Reply-To: <542C8798.30807@candelatech.com>
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
prev parent reply other threads:[~2014-10-01 23:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-01 23:00 Setting legacy bit-rates no longer works? Ben Greear
2014-10-01 23:50 ` Ben Greear [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=542C9335.6050900@candelatech.com \
--to=greearb@candelatech.com \
--cc=linux-wireless@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).