From: Robert Budde <Robert.Budde@gmx.net>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] AR9380 - Transmit power control per packet
Date: Tue, 12 Jul 2011 09:33:01 +0200 [thread overview]
Message-ID: <001101cc4065$ef22eda0$cd68c8e0$@gmx.net> (raw)
In-Reply-To: <20110712070355.GA7162@infinet.ru>
Alex, you are GREAT! Thank you so much!
For some reason whatsoever we missed checking the AR_PHY_PWRTX_MAX register.
We checked everything regarding power settings, but as the AR_PHY_PWRTX_MAX
is never used we must have missed that. After a quick check, everything
works perfect. Great job!
Best regards,
Robert
-----Urspr?ngliche Nachricht-----
Von: ath9k-devel-bounces at lists.ath9k.org
[mailto:ath9k-devel-bounces at lists.ath9k.org] Im Auftrag von Alex Hacker
Gesendet: Dienstag, 12. Juli 2011 09:04
An: ath9k-devel at venema.h4ckr.net
Betreff: Re: [ath9k-devel] AR9380 - Transmit power control per packet
I found the cause of TPC malfunction. As I assumed early, usage of
AR_PHY_POWER_TX_RATE_MAX register in AR9380 is incorrect. The following
lines should be removed from ar9003_phy.h file.
These registers does not exists:
--- ar9003_phy.h.orig 2011-03-30 16:25:00.000000000 +0600
+++ ar9003_phy.h 2011-07-12 12:53:30.000000000 +0600
@@ -733,9 +733,6 @@
#define AR_PHY_TXGAIN_FORCED_TXBB1DBGAIN 0x0000000e #define
AR_PHY_TXGAIN_FORCED_TXBB1DBGAIN_S 1
-#define AR_PHY_POWER_TX_RATE1 0x9934
-#define AR_PHY_POWER_TX_RATE2 0x9938
-#define AR_PHY_POWER_TX_RATE_MAX 0x993c
#define AR_PHY_POWER_TX_RATE_MAX_TPC_ENABLE 0x00000040
#define PHY_AGC_CLR 0x10000000
#define RFSILENT_BB 0x00002000
The AR_PHY_PWRTX_MAX register should be used instead. This register
currently do not hold MAX_RATE_POWER value, but 6th bit controls the TPC
enable.
Now all works as expected for AR9380.
Best regards,
Alex.
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
next prev parent reply other threads:[~2011-07-12 7:33 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-04 8:18 [ath9k-devel] AR9380 - Transmit power control per packet Robert Budde
2011-07-08 9:24 ` Robert Budde
2011-07-08 10:49 ` Mohammed Shafi
2011-07-08 11:27 ` Alex Hacker
2011-07-08 14:19 ` Alex Hacker
2011-07-09 0:21 ` Adrian Chadd
2011-07-11 10:48 ` Aleksey Shevkov
2011-07-11 14:39 ` Adrian Chadd
2011-07-11 15:13 ` Alex Hacker
2011-07-11 15:21 ` Mohammed Shafi
2011-07-11 15:23 ` Adrian Chadd
2011-07-11 16:37 ` Alex Hacker
2011-07-11 16:27 ` Alex Hacker
2011-07-12 7:03 ` Alex Hacker
2011-07-12 7:26 ` Adrian Chadd
2011-07-12 7:33 ` Robert Budde [this message]
2011-07-12 7:39 ` Mohammed Shafi
2011-07-11 15:11 ` Mohammed Shafi
2011-07-08 11:59 ` Mohammed Shafi
2011-07-08 12:57 ` Robert Budde
2011-07-08 13:06 ` Mohammed Shafi
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='001101cc4065$ef22eda0$cd68c8e0$@gmx.net' \
--to=robert.budde@gmx.net \
--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.