Search Linux Wireless

Re: [PATCH 2/4] b43: set TMS to work with current band width for N-PHY

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2010-12-07 at 21:55 +0100, RafaÅ MiÅecki wrote: 
> Signed-off-by: RafaÅ MiÅecki <zajec5@xxxxxxxxx>
> ---
>  drivers/net/wireless/b43/main.c       |    6 ++++++
>  drivers/net/wireless/b43/phy_common.c |    7 +++++++
>  drivers/net/wireless/b43/phy_common.h |    2 ++
>  drivers/net/wireless/b43/phy_n.c      |    7 -------
>  4 files changed, 15 insertions(+), 7 deletions(-)
> 
> diff --git a/drivers/net/wireless/b43/main.c b/drivers/net/wireless/b43/main.c
> index fa48803..670fd7b 100644
> --- a/drivers/net/wireless/b43/main.c
> +++ b/drivers/net/wireless/b43/main.c
> @@ -1150,6 +1150,12 @@ void b43_wireless_core_reset(struct b43_wldev *dev, u32 flags)
>  
>  	flags |= B43_TMSLOW_PHYCLKEN;
>  	flags |= B43_TMSLOW_PHYRESET;
> +	if (dev->phy.type == B43_PHYTYPE_N) {
> +		if (b43_channel_type_is_40mhz(dev->phy.channel_type))

Is channel_type already set at this time?

> +			flags |= B43_TMSLOW_PHYCLKSPEED_160MHZ;
> +		else
> +			flags |= B43_TMSLOW_PHYCLKSPEED_80MHZ;
> +	}


-- 
Greetings Michael.

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux