linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michael Buesch <mb@bu3sch.de>
To: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Bcm43xx-dev@lists.berlios.de, linux-wireless@vger.kernel.org
Subject: Re: [PATCH] bcm43xx-mac80211: Fix for tx_bias equal to 0xFF
Date: Sat, 26 May 2007 19:19:38 +0200	[thread overview]
Message-ID: <200705261919.39143.mb@bu3sch.de> (raw)
In-Reply-To: <465869ce.8wcEX9q9ZmHxX2m3%Larry.Finger@lwfinger.net>

On Saturday 26 May 2007 19:09:34 Larry Finger wrote:
> Index: wireless-mb/drivers/net/wireless/mac80211/bcm43xx/bcm43xx_phy.c
> ===================================================================
> --- wireless-mb.orig/drivers/net/wireless/mac80211/bcm43xx/bcm43xx_phy.c
> +++ wireless-mb/drivers/net/wireless/mac80211/bcm43xx/bcm43xx_phy.c
> @@ -4122,6 +4122,10 @@ void bcm43xx_radio_set_txpower_bg(struct
>  	tx_magn = _tx_magn;
>  	phy->bbatt = baseband_attenuation;
>  	phy->rfatt = radio_attenuation;
> +	if (tx_bias == 0xFF) {
> +		bcm43xx_lo_g_measure(dev);
> +		tx_bias = phy->lo_control->tx_bias;
> +	}
>  
>  	/* Set Baseband Attenuation on device. */
>  	bcm43xx_phy_set_baseband_attenuation(dev, baseband_attenuation);

Ok, on which specification bits is this actually based? :)
txpower_bg still needs a rewrite, and I have a patch for that in
the pipeline, but it's still buggy due to missing specs stuff.

-- 
Greetings Michael.

  reply	other threads:[~2007-05-26 17:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-26 17:09 [PATCH] bcm43xx-mac80211: Fix for tx_bias equal to 0xFF Larry Finger
2007-05-26 17:19 ` Michael Buesch [this message]
2007-05-26 17:55   ` Larry Finger
2007-05-26 17:56     ` Michael Buesch
2007-05-26 20:06     ` Michael Buesch
2007-05-26 21:11       ` Larry Finger
2007-05-26 21:13         ` Michael Buesch
2007-05-26 21:41           ` Joseph Jezak
2007-05-26 20:18     ` Michael Buesch

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=200705261919.39143.mb@bu3sch.de \
    --to=mb@bu3sch.de \
    --cc=Bcm43xx-dev@lists.berlios.de \
    --cc=Larry.Finger@lwfinger.net \
    --cc=linux-wireless@vger.kernel.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).