linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Michal Kudelski" <michal@idsia.ch>
To: "Christian Lamparter" <chunkeey@googlemail.com>
Cc: <linux-wireless@vger.kernel.org>
Subject: Re: carl9170 driver - reducing the output power
Date: Tue, 26 Jun 2012 14:10:25 +0200	[thread overview]
Message-ID: <web-69401031@ti-edu.ch> (raw)
In-Reply-To: <201206251933.10999.chunkeey@googlemail.com>

Dear Christian,

Thank you for the response! Indeed, when I used the latest 
compat-wireless, I was able to control the output power.

Now, another question arises: what is the lowest supported 
power level? Do you have any hardware specifications of 
AR9170 that would say what is the lowest power level 
supported by the hardware?

With iw/iwconfig commands, the lowest achievable power is 
1 dbm. But I'm thinking about modifying your code in order 
to write fixed values to the corresponding registers. And 
I need to know what to write into the registers in order 
to obtain the lowest possible power :-) . I know that 
there exist wifi cards that accept -12 dbm (e.g., Intel 
Pro-Wireless 2200 with ipw2200 driver under linux), so it 
would be really nice to know what I can get with 
Atheros...

Cheers,
Michal



On Mon, 25 Jun 2012 19:33:10 +0200
  Christian Lamparter <chunkeey@googlemail.com> wrote:
> On Monday, June 25, 2012 12:38:50 PM Michal Kudelski 
>wrote:
>> Thus, my question is: is the function of changing the 
>> txpower really supported? If it is, what steps should I 
>> take to make it work? I tried with ifconfig up/down when 
>>I 
>> change the txpower, but it does not change anything. 
>>Maybe 
>> I do something wrong? Do I use the correct versions of 
>>the 
>> firmware and the driver?
> No special firmware or driver is required. Just as long
> as the driver supports the feature.  
> 
>> I've noticed a patch related to this issue, published on 
>> 2012-01-27 by Christian Lamparter. It seems that it is 
>> included in my driver version, but maybe I'm wrong and I 
>> should apply some additional patch?
>> 
>> We use NetGear WNDA3100(v1) hardware [Atheros 
>> AR9001U-(2)NG] and carl9170 driver 
>> (driverversion=3.0.0-21-generic firmware=1.9.2).
> That's probably too old. The patch you are talking about
> is not a -stable patch so it's not backported to 3.3.x
> (or older) kernels.
> 
> So, either you can upgrade to 3.4, use compat-wireless
> <http://linuxwireless.org/en/users/Download/#Getting_compat-wireless_on_Ubuntu>
> or backport the patch yourself (however, this could be 
>diffcult).
> 
> Regards,
> 	Christian


  reply	other threads:[~2012-06-26 12:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-25 10:38 carl9170 driver - reducing the output power Michal Kudelski
2012-06-25 17:33 ` Christian Lamparter
2012-06-26 12:10   ` Michal Kudelski [this message]
2012-06-26 17:45     ` Christian Lamparter

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=web-69401031@ti-edu.ch \
    --to=michal@idsia.ch \
    --cc=chunkeey@googlemail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).