Linux wireless drivers development
 help / color / mirror / Atom feed
From: Stefano Brivio <stefano.brivio@polimi.it>
To: Matthieu PATOU <mat@matws.net>
Cc: Larry Finger <larry.finger@lwfinger.net>, linux-wireless@vger.kernel.org
Subject: Re: BCM4312 status
Date: Sun, 25 Nov 2007 21:06:03 +0100	[thread overview]
Message-ID: <20071125210603.2e368028@morte> (raw)
In-Reply-To: <4749BE06.8050601@matws.net>

Weird, it looks like your PHY revision isn't even 9. Please try this (it
should apply on top of Larry's patches) and report debug information,
thanks.

---

Index: wireless-2.6/drivers/net/wireless/b43/wa.c
===================================================================
--- wireless-2.6.orig/drivers/net/wireless/b43/wa.c
+++ wireless-2.6/drivers/net/wireless/b43/wa.c
@@ -642,6 +642,7 @@ void b43_wa_all(struct b43_wldev *dev)
 		case 6:
 		case 7:
 		case 8:
+		case 9:
 			b43_wa_tr_ltov(dev);
 			b43_wa_crs_ed(dev);
 			b43_wa_rssi_lt(dev);
@@ -654,6 +655,19 @@ void b43_wa_all(struct b43_wldev *dev)
 			b43_wa_txpuoff_rxpuon(dev);
 			break;
 		default:
+			b43err(dev->wl, "Unknown PHY revision %i, "
+					"applying rev9 workarounds\n",
+					phy->rev);
+			b43_wa_tr_ltov(dev);
+			b43_wa_crs_ed(dev);
+			b43_wa_rssi_lt(dev);
+			b43_wa_nft(dev);
+			b43_wa_nst(dev);
+			b43_wa_msst(dev);
+			b43_wa_wrssi_offset(dev);
+			b43_wa_altagc(dev);
+			b43_wa_analog(dev);
+			b43_wa_txpuoff_rxpuon(dev);
 			B43_WARN_ON(1);
 		}
 		b43_wa_boards_g(dev);



-- 
Ciao
Stefano

      reply	other threads:[~2007-11-25 20:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-23  9:32 BCM4312 status Matthieu PATOU
2007-11-25 14:20 ` Matthieu PATOU
2007-11-25 15:51   ` Larry Finger
2007-11-25 18:25     ` Matthieu PATOU
2007-11-25 20:06       ` Stefano Brivio [this message]

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=20071125210603.2e368028@morte \
    --to=stefano.brivio@polimi.it \
    --cc=larry.finger@lwfinger.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=mat@matws.net \
    /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