All of lore.kernel.org
 help / color / mirror / Atom feed
* [ath9k-devel] Help clarifying TX power setting
@ 2011-09-14 20:57 Daniel Smith
  2011-09-15 11:25 ` Peter Stuge
  0 siblings, 1 reply; 7+ messages in thread
From: Daniel Smith @ 2011-09-14 20:57 UTC (permalink / raw)
  To: ath9k-devel


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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-09-16 12:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-14 20:57 [ath9k-devel] Help clarifying TX power setting Daniel Smith
2011-09-15 11:25 ` 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

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.