From: Alex Hacker <hacker@epn.ru>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] AR9380 - Transmit power control per packet
Date: Tue, 12 Jul 2011 13:03:55 +0600 [thread overview]
Message-ID: <20110712070355.GA7162@infinet.ru> (raw)
In-Reply-To: <CAD2nsn1AgTZVVF7W5-iVFOT6nF-w0RFxkvNRJzhnQjyU5Pr6Og@mail.gmail.com>
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.
next prev parent reply other threads:[~2011-07-12 7:03 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 [this message]
2011-07-12 7:26 ` Adrian Chadd
2011-07-12 7:33 ` Robert Budde
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=20110712070355.GA7162@infinet.ru \
--to=hacker@epn.ru \
--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.