Hi Luiz,

I am working on per packet power control and introduce therfore additional data 
structureswithin
the mac80211 ieee80211_tx_info struct to have the power control algorith 
running in the mac layer, I had also
to change the drivers in order to set the power level in the driver 
accordingly. In your case the global power level
rather the a per paket level should be sufficent .. right ? Are you saying when 
you set the global power level via
letlink/iw it is not repsected in the actual attenuation you see at the antenna 
ports ?

Greetings THomas

> Am 11.02.2016 um 23:31 schrieb Luiz de Barros Oliveira Neto 
> <lbon...@gmail.com>:
> 
> Hello, John,
> 
> Thanks for shedding some light on this matter.
> This file is where all the TX99 configuration is made (packet header seems to 
> be configured on line 40):
> http://lxr.free-electrons.com/source/drivers/net/wireless/ath/ath9k/tx99.c 
> <http://lxr.free-electrons.com/source/drivers/net/wireless/ath/ath9k/tx99.c>
> 
> I was able to change the tx data rate on line 84.
> But i could not find where to change the TXPower (I will keep searching).
> 
> Luiz
> 
> On Thu, Feb 11, 2016 at 3:13 PM, John Clark <jeclark2...@aim.com 
> <mailto:jeclark2...@aim.com>> wrote:
> I’ve not dealt with Atheros of late, since switching to a completely 
> different radio, which reduced any number of issues I had with Atheros 
> devices.
> 
> The issues were mainly due to the complete and abysmal lack of documentation 
> on the radio control portions of any set of chips, and any inquires directly 
> to Qualcom stonewalled… There were a few helpful hints from people on this 
> and other lists… but the ‘official’ 3rd party entities that did have more 
> intimate knowledge, have a vested interest in keeping small developments in 
> the dark, so as to be able to charge outrageous sums for small ‘changes’ to 
> the code set.
> 
> But after that unpaid public service announcement…
> 
> I recall... I was able to set TX power by setting the value that is put in 
> the packet header just before being put into a transmit queue. I don’t have 
> the code handy so you will have to sleuth out where in the code the packet 
> header values are setup. I did make it a /sys/…/debug/ath node so I could 
> change it easily at the command level. Since my use of TX99 was for 
> regulatory testing, that was sufficient for my needs.
> 
> John Clark.
> 
> On Feb 11, 2016, at 1:13 PM, Luiz de Barros Oliveira Neto <lbon...@gmail.com 
> <mailto:lbon...@gmail.com>> wrote:
> 
> > Hello, All,
> >
> > After doing some hacking on the ath9k code that is part of 
> > compaq-wireless-2015-03-09, I have being doing some verifications of an 
> > AR9280 based embedded radio using the TX99 feature (used for regulatory 
> > certification).
> > I was able to turn the functionality on/off, change data rates, 
> > enable/disable antenna ports, change channel type (20MHz, 40MHz-, 40MHz+).
> > But looks like I do not have control of the TXPower via the netlink 
> > interface when using TX99 mode.
> > Unlike AR9003 based devices (AR93XX, AR94XX, AR95XX), AR9002 based devices 
> > (AR928X, AR922X) do not seem to implement the hw_tx99_set_txpower function.
> >
> > I could not find any information on how to implement the power control on 
> > TX99 for AR9280....
> > Are there any patches around that would allow me to set the output power of 
> > AR9280 on TX99 mode?
> > How is the power control made on TX99 mode for AR9280?
> >
> > Thanks in Advance,
> >
> > Luiz Oliveira Neto
> > _______________________________________________
> > ath9k-devel mailing list
> > ath9k-devel@lists.ath9k.org <mailto:ath9k-devel@lists.ath9k.org>
> > https://lists.ath9k.org/mailman/listinfo/ath9k-devel 
> > <https://lists.ath9k.org/mailman/listinfo/ath9k-devel>
> 
> 
> _______________________________________________
> ath9k-devel mailing list
> ath9k-devel@lists.ath9k.org
> https://lists.ath9k.org/mailman/listinfo/ath9k-devel

_______________________________________________
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Reply via email to