Hi!

We are using TPC per packet with the ath9k driver for AR5416/AR5418 and
AR9280 chipsets. All these chipsets work as expected if you

1. add "REG_WRITE(ah, AR_PHY_POWER_TX_RATE_MAX, MAX_RATE_POWER |
AR_PHY_POWER_TX_RATE_MAX_TPC_ENABLE); " to "ar5008_hw_process_ini" in
"ar5008_phy.c" after " ah->eep_ops->set_txpower"
2. replace "MAX_RATE_POWER" in "ath9k_hw_set11n_txdesc(ah, ds, fi->framelen,
frm_type, MAX_RATE_POWER, fi->keyix, fi->keytype, bf->bf_flags);" in
function "ath_tx_setup_buffer" of "xmit.c" with some arbitrary value between
1 and 20

You can observe how the tx power changes accordingly when altering the
power-value.

Enabling the TPC the same way in "ar9003_phy.c" (see step 1) does not change
anything. The tx power is always maximum, no matter what is written to the
tx descriptor. Cards are Sparklan WPEA-127N. Regarding the EEPROM we think
that it should work by writing to the tx descriptor no matter what is stored
in the EEPROM. Further, as we are also not able to REDUCE the tx-power, it
looks uncertain that this problem is caused by the EEPROM.

Best regards
Robert
 
-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von Mohammed Shafi
Gesendet: Freitag, 8. Juli 2011 14:00
An: Robert Budde
Cc: [email protected]
Betreff: Re: [ath9k-devel] AR9380 - Transmit power control per packet

On Fri, Jul 8, 2011 at 2:54 PM, Robert Budde <[email protected]> wrote:
> Does nobody have a clue about the problem? Reproducing the issue is 
> totally
> easy: Just set the AR_PHY_POWER_TX_RATE_MAX_TPC_ENABLE bit in the 
> AR_PHY_POWER_TX_RATE_MAX register and write a tx-power to the packet 
> descriptor - it won't work! Is nobody at Atheros bothered by the fact 
> that transmit control per packet is obviously not working with their 
> latest product on the market?

can you please elaborate on this more and in detail. I have not looked into
this previously and it will be help me read some docs and fix the issue.  I
understand AR9300 has a different TPC.

>
> Best regards,
> Robert
>
> _______________________________________________
> ath9k-devel mailing list
> [email protected]
> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>
> _______________________________________________
> ath9k-devel mailing list
> [email protected]
> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>



--
shafi
_______________________________________________
ath9k-devel mailing list
[email protected]
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

_______________________________________________
ath9k-devel mailing list
[email protected]
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Reply via email to