[PATCH 1/4] b43: N-PHY: fix values for PHY regs in channel tables of 2055 radio

Larry Finger Larry.Finger at lwfinger.net
Thu Nov 18 10:53:06 EST 2010


On 11/18/2010 06:27 AM, Rafał Miłecki wrote:
> Signed-off-by: Rafał Miłecki <zajec5 at gmail.com>
> ---

This change deserves a bit more explanation. You might include something like
"These tables came from reverse engineering the 5.10.56.46 version of the
Broadcom driver. Trace comparisons between b43 and the current Broadcom driver
(5.10.120.0) show byte reversals for the PHY register writes."

Larry

>  drivers/net/wireless/b43/radio_2055.c |  248 ++++++++++++++++----------------
>  1 files changed, 124 insertions(+), 124 deletions(-)
> 
> diff --git a/drivers/net/wireless/b43/radio_2055.c b/drivers/net/wireless/b43/radio_2055.c
> index 0d67715..10910dc 100644
> --- a/drivers/net/wireless/b43/radio_2055.c
> +++ b/drivers/net/wireless/b43/radio_2055.c
> @@ -307,7 +307,7 @@ static const struct b43_nphy_channeltab_entry_rev2 b43_nphy_channeltab_rev2[] =
>  	RADIOREGS(0x71, 0x01, 0xEC, 0x0F, 0xFF, 0x01, 0x04, 0x0A,
>  		  0x00, 0x8F, 0xFF, 0xFF, 0xFF, 0x00, 0x0F, 0x0F,
>  		  0x8F, 0xFF, 0x00, 0x0F, 0x0F, 0x8F),
> -	PHYREGS(0xB407, 0xB007, 0xAC07, 0x1402, 0x1502, 0x1602),
> +	PHYREGS(0x07B4, 0x07B0, 0x07AC, 0x0214, 0x0215, 0x0216),
>    },



More information about the b43-dev mailing list