All of lore.kernel.org
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Cc: "John Linville" <linville@tuxdriver.com>,
	linux-wireless <linux-wireless@vger.kernel.org>,
	"Felix Fietkau" <nbd@openwrt.org>,
	"Thomas Hühn" <thomas@net.t-labs.tu-berlin.de>,
	adrian@freebsd.org
Subject: Re: [PATCH] mac80211: enable TPC through mac80211 stack
Date: Fri, 28 Nov 2014 14:23:34 +0100	[thread overview]
Message-ID: <1417181014.27562.4.camel@sipsolutions.net> (raw)
In-Reply-To: <CAA2SeNJuMYXRAU3NFABsKk27_ojZARBByRx4oU3xApaDnBJYug@mail.gmail.com> (sfid-20141127_160027_454217_BB20D2B6)


> I would like to enable TPC in ath9k using iw command:
> 
> iw dev wlan0 set txpower auto
> 
> I knew user_power_level is set to IEEE80211_UNSET_POWER_LEVEL in that
> case. Is there a better way than to check user_power_level?

But ... the API already allows for that flexibility? I think if anything
you should expose the "TX power type" that the nl80211 API has.

johannes


  reply	other threads:[~2014-11-28 13:23 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-27 13:39 [PATCH] mac80211: enable TPC through mac80211 stack Lorenzo Bianconi
2014-11-27 14:48 ` Johannes Berg
2014-11-27 15:00   ` Lorenzo Bianconi
2014-11-28 13:23     ` Johannes Berg [this message]
2014-11-28 15:02       ` Lorenzo Bianconi
2014-11-28 15:11         ` Johannes Berg
2014-11-29 14:13           ` Lorenzo Bianconi

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=1417181014.27562.4.camel@sipsolutions.net \
    --to=johannes@sipsolutions.net \
    --cc=adrian@freebsd.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=lorenzo.bianconi83@gmail.com \
    --cc=nbd@openwrt.org \
    --cc=thomas@net.t-labs.tu-berlin.de \
    /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.