Search Linux Wireless

Re: [rt2x00-users] [PATCH] rt2x00: add MediaTek/RaLink Rt3352 WiSoC

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

 



Please keep version (PATCH vX in subject) to do not confuse
patches.

On Wed, Aug 22, 2012 at 02:11:11AM +0300, Daniel Golle wrote:
> Acked-by: Gertjan van Wingerde <gwingerde@xxxxxxxxx>
> Signed-off-by: Daniel Golle <dgolle@xxxxxxxxx>

How do you know what to write to each RF/BBP register? I guess patch
is based on vendor driver, right? Where I can find it, if I would
like to compare it with this patch?

> +	if (rt2x00dev->freq_offset > FREQ_OFFSET_BOUND)
> +		rt2x00_set_field8(&rfcsr, RFCSR17_CODE,
> +				  FREQ_OFFSET_BOUND);
Not needed line break.

> +	if ( rt2x00dev->default_ant.tx_chain_num == 1 )
Coding style.

> +	if ( rt2x00dev->default_ant.rx_chain_num == 1 )
The same.

> +	}
> +	else
> +	{
Again coding style.

> +		else if (rt2x00_rt(rt2x00dev, RT3352))
> +			rt2800_register_write(rt2x00dev, TX_SW_CFG0,
> +					      0x00000402);
Is possible to describe what does it mean?

Thanks
Stanislaw
--
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 Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux