Search Linux Wireless

Re: Inquiry on sudo iw dev wlan1 set txpower fixed 14 -> command failed: Invalid argument (-22)

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

 



Matthias May, thanks for the quick response.

I was already aware that it's mBm, not dBm, and had previously tried
140, instead of 14 and lower before my initial e-mail.

However, 1400, 14000, and 140000 all produce the same error message.

Not to tangent off topic, but the way the article/man page reads, one
should be able to adjust the txpower from the maximum the chipset
could handle or maximum for the regulatory domain, whichever is lower,
all the way down to just above 0, if not 0 itself.

Christopher M. Penalver
E-Mail: christopher.m.penalver@xxxxxxxxx


On Mon, Jan 26, 2015 at 2:45 AM, Matthias May <matthias.may@xxxxxxxxxxx> wrote:
> On 26/01/15 03:00, Christopher M. Penalver wrote:
>>
>> Attempting to follow
>> http://wireless.kernel.org/en/users/Documentation/iw#Setting_TX_power
>> I get:
>> sudo iw dev wlan1 set txpower fixed 14
>> command failed: Invalid argument (-22)
>>
>>
>
> iw dev <devname> set txpower <auto|fixed|limit> [<tx power in mBm>]
>
> This is set in mBm and not in dBm.
> Try sudo iw dev wlan1 set txpower fixed 1400.
--
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