Skip to contentSkip to conversation

problem clearing bit-rates with 'iw'

DISCUSSION Ben Greear 2 participants 2 messages Oct 31, 2011 – Nov 2, 2011

lore
Share & tools
lore

Ben Greear

author
#0 lore raw

According to the help, it seems I should be able to pass no rates and have it clear the mask. But, it seems that is not actually working:

[root@lec2010-ath9k-1 lanforge]# ./local/sbin/iw dev sta4 set bitrates legacy-2.4 command failed: Invalid argument (-22)
[root@lec2010-ath9k-1 lanforge]# ./local/sbin/iw dev sta4 set bitrates legacy-2.4 ""
Usage: ./local/sbin/iw [options] dev <devname> set bitrates [legacy-<2.4|5> <legacy rate in Mbps>*]

Sets up the specified rate masks.
Not passing any arguments would clear the existing mask (if any).

Options:
--debug enable netlink debugging
[root@lec2010-ath9k-1 lanforge]# ./local/sbin/iw dev sta4 set bitrates command failed: Invalid argument (-22)

Thanks,
Ben

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

According to the help, it seems I should be able to pass no rates and have it clear the mask. But, it seems that is not actually working:

[root@lec2010-ath9k-1 lanforge]# ./local/sbin/iw dev sta4 set bitrates legacy-2.4 command failed: Invalid argument (-22)

remove the "legacy-2.4" thing.

johannes