From: Falk-Moritz Schaefer Date: Wed, 25 May 2011 17:43:18 +0200 Subject: [ath9k-devel] AR93xx TX Descriptor In-Reply-To: References: <000001cc1ae7$4848f450$d8dadcf0$@tu-dortmund.de> Message-ID: <000501cc1af2$7af36100$70da2300$@tu-dortmund.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Doesnt this function set the default values that are used (e.g. triggered by "set iw txpower"). What I am wondering, is how I can configure the chip not to use the default values, but to use the information in the control descriptor of the packet. > -----Original Message----- > From: Mohammed Shafi [mailto:shafi.ath9k at gmail.com] > Sent: Wednesday, May 25, 2011 4:52 PM > To: Falk-Moritz Schaefer > Cc: ath9k-devel at venema.h4ckr.net > Subject: Re: [ath9k-devel] AR93xx TX Descriptor > > On Wed, May 25, 2011 at 7:53 PM, Falk-Moritz Schaefer dortmund.de> wrote: > > Does anybody has a clue, what might be preventing AR93xx to use the > > transmit power given in the tx descriptor? > > > looking at this function may help ar9003_eeprom.c > /* Set tx power registers to array of values passed in */ static int > ar9003_hw_tx_power_regwrite(struct ath_hw *ah, u8 * pPwrArray) { > > > > > > > Regards, Falk > > > >> -----Original Message----- > >> From: ath9k-devel-bounces at venema.h4ckr.net [mailto:ath9k-devel- > >> bounces at venema.h4ckr.net] On Behalf Of Falk-Moritz Schaefer > >> Sent: Thursday, May 19, 2011 1:13 PM > >> To: ath9k-devel at venema.h4ckr.net > >> Subject: [ath9k-devel] TxPower setting on per packet basis for > >> 9003_phy > >> (AR9382) > >> > >> Hi, > >> > >> it is possible to set the default txpower limits with iw for my > >> WPEA-121N > >> AR9382 card, but not to set the txpower on per packet basis. I want > >> the > >> AR9382 to use the TxPower settings in the tx control descriptor. > >> > >> With 9002 it was enough to write: > >> REG_WRITE(ah, AR_PHY_POWER_TX_RATE_MAX, MAX_RATE_POWER | > >> AR_PHY_POWER_TX_RATE_MAX_TPC_ENABLE); > >> > >> But with 9003 somehow it does not use the information in the tx > > descpritor. > >> What am I missing? > >> > >> BR, > >> Falk > >> > >> _______________________________________________ > >> ath9k-devel mailing list > >> ath9k-devel at lists.ath9k.org > >> https://lists.ath9k.org/mailman/listinfo/ath9k-devel > > > > _______________________________________________ > > ath9k-devel mailing list > > ath9k-devel at lists.ath9k.org > > https://lists.ath9k.org/mailman/listinfo/ath9k-devel > >