b43-dev.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: "Rafał Miłecki" <zajec5@gmail.com>
To: b43-dev@lists.infradead.org
Subject: [RFT][PATCH] b43: HT-PHY: disable TX power control on BCM94331X19
Date: Tue, 19 Mar 2013 13:41:31 +0100	[thread overview]
Message-ID: <1363696891-22522-1-git-send-email-zajec5@gmail.com> (raw)

In case of BCM94331X19 default TX state seems to perform better than
after our configuration. Disable TX power control for now on this card
(until fixing power control).
---
David: could you test this for me, please? Can you see that
> BCM94331X19 detected, disabling TX power control for better performace
message in dmesg? Does it brings you back a better perofmrnce?

Simply apply it on top of wireless-testing.
---
 drivers/net/wireless/b43/phy_ht.c |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/net/wireless/b43/phy_ht.c b/drivers/net/wireless/b43/phy_ht.c
index b866770..e5cbe26 100644
--- a/drivers/net/wireless/b43/phy_ht.c
+++ b/drivers/net/wireless/b43/phy_ht.c
@@ -807,6 +807,11 @@ static void b43_phy_ht_op_prepare_structs(struct b43_wldev *dev)
 
 	for (i = 0; i < 3; i++)
 		phy_ht->bb_mult_save[i] = -1;
+
+	if (dev->dev->board_type == 0x00D6) {
+		pr_warn("BCM94331X19 detected, disabling TX power control for better performace\n");
+		phy_ht->tx_pwr_ctl = false;
+	}
 }
 
 static int b43_phy_ht_op_init(struct b43_wldev *dev)
-- 
1.7.10.4

                 reply	other threads:[~2013-03-19 12:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1363696891-22522-1-git-send-email-zajec5@gmail.com \
    --to=zajec5@gmail.com \
    --cc=b43-dev@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).