All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthias May <matthias.may@neratec.com>
To: "Christopher M. Penalver" <christopher.m.penalver@gmail.com>,
	linux-wireless@vger.kernel.org
Subject: Re: Inquiry on sudo iw dev wlan1 set txpower fixed 14 -> command failed: Invalid argument (-22)
Date: Mon, 26 Jan 2015 09:45:36 +0100	[thread overview]
Message-ID: <54C5FEB0.1000609@neratec.com> (raw)
In-Reply-To: <CAF4BKcCggD23NHD_1156bqLsqMjDWp+8ASJaxJdLXUXcXaaddQ@mail.gmail.com>

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.

  reply	other threads:[~2015-01-26  8:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-26  2:00 Inquiry on sudo iw dev wlan1 set txpower fixed 14 -> command failed: Invalid argument (-22) Christopher M. Penalver
2015-01-26  8:45 ` Matthias May [this message]
2015-01-26 11:35   ` Christopher M. Penalver

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=54C5FEB0.1000609@neratec.com \
    --to=matthias.may@neratec.com \
    --cc=christopher.m.penalver@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.