linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Howard Chu <hyc@highlandsun.com>
To: linux-wireless@vger.kernel.org
Subject: ath9k ath_ani_calibrate
Date: Thu, 06 Aug 2009 20:56:22 -0700	[thread overview]
Message-ID: <4A7BA5E6.7050808@highlandsun.com> (raw)

I was seeing this function showing up consistently while running powertop. It 
seems that ANI is always enabled by default, and I didn't see any ioctl or 
config option to disable it. It sets a timer to wakeup every 100ms and do 
whatever calibration it's trying to do. I changed the ANI_POLLINTERVAL to 
1000ms and recompiled, and haven't noticed any ill effect yet. Is there any 
reason why this calibration needs to happen 10 times a second? Will it still 
be useful if it were toned down, to 250ms, or 500ms? (Note - because the 
driver takes the minimum of the active calibration intervals, and 
ANI_POLLINTERVAL is the smallest, it is always the one that wins...)

With this changed to 1sec, I still see the ath9k driver waking up 10-12 
times/second but I presume that's in response to random packets from the AP.
-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/

                 reply	other threads:[~2009-08-07  3:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4A7BA5E6.7050808@highlandsun.com \
    --to=hyc@highlandsun.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).