Search Linux Wireless

Re: Setting legacy bit-rates no longer works?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx>
Candela Technologies Inc  http://www.candelatech.com

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux