On Wednesday 21 March 2007 16:29, Larry Finger wrote:
> Michael Buesch wrote:
> > On Tuesday 20 March 2007 21:49, Larry Finger wrote:
> >> The code in the mac80211 version of radio_init2050 differs from the specs
> >> in two places.
> >>
> >> Signed-off-by: Larry Finger <[EMAIL PROTECTED]>
> >> ---
> >>
> >> 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
> >> @@ -3444,9 +3444,9 @@ static u16 radio2050_rfover_val(struct b
> >>                    if (phy_register == BCM43xx_PHY_RFOVER) {
> >>                            return 0x9B3;
> >>                    } else if (phy_register == BCM43xx_PHY_RFOVERVAL) {
> >> -                          extlna |= (i << 8);
> >>                            if (extlna)
> >>                                    extlna |= 0x8000;
> >> +                          extlna |= (i << 8);
> > 
> > What's the difference?
> 
> The nonzero test for extlna should be made on the table value, not the table 
> value or'd with i << 8.

Eh, wait.
The spec is not clear (at least to me) on this point:

# OR the loop position value left shifted by 8 with the External LNA Control 
Value
# If the External LNA Value isn't 0
   1. OR the value with 0x8000 
# OR this value with the table values below which are marked with Yes

>From my understanding current code is correct.
But I see that one could interpret the spec in your way as well.
Joseph?

-- 
Greetings Michael.
_______________________________________________
Bcm43xx-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev

Reply via email to