All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Smith <viscous.liquid@gmail.com>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] Help clarifying TX power setting
Date: Wed, 14 Sep 2011 16:57:31 -0400	[thread overview]
Message-ID: <j4r4fs$ran$1@dough.gmane.org> (raw)


I would appreciate if some clarification could be provided on how the 
chip determines it's tx power. I have reviewed the code and see that 
when the card is initialized it gets the power level from the reg dom 
and sets that value in the eeprom. Later when a packet is passed down 
the value MAX_RATE _POWER is used for the txpower in the tx descriptor. 
Can I assume that the actually power used will be MAX_RATE_POWER unless 
a lower power has been set in the eeprom?

Finally and the reason I ask, is that I do not see anywhere in the code 
where the radio tap field for tx power is used, would expect it to be 
processed by the function __ieee80211_parse_tx_radiotap. So if I want to 
limit tx power via radiotap I will have to parse it in mac80211, in 
someway ensure it gets passed down to ath9k, and then make ath9k act on it?

I would appreciate any help. Thanks!

v/r,
Daniel Smith

             reply	other threads:[~2011-09-14 20:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-14 20:57 Daniel Smith [this message]
2011-09-15 11:25 ` [ath9k-devel] Help clarifying TX power setting Peter Stuge
2011-09-15 14:32   ` Adrian Chadd
     [not found]     ` <CADGLRP=_qQ-1j+-m=27rcJpNq__i23yGu=XyMcGYXLGocGepRg@mail.gmail.com>
2011-09-15 17:00       ` Daniel Smith
2011-09-15 17:10         ` Adrian Chadd
2011-09-16 12:37           ` Daniel Smith
2011-09-16 12:43             ` Adrian Chadd

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='j4r4fs$ran$1@dough.gmane.org' \
    --to=viscous.liquid@gmail.com \
    --cc=ath9k-devel@lists.ath9k.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.