Search Linux Wireless

Re: [PATCH 7/9] ath5k: AHB port. Add specific initialization for RF2317 radio chip.

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

 



On Thu, Nov 11, 2010 at 9:58 AM, Wojciech Dubowik <dubowoj@xxxxxxxxxxx> wrote:
> +                       /* Override settings from rf2413_ini_common_end */
> +                       ath5k_hw_reg_write(ah, 0x00004000, AR5K_PHY_AGC);
> +                       AR5K_REG_WRITE_BITS(ah, AR5K_PHY_TPC_RG5,
> +                               AR5K_PHY_TPC_RG5_PD_GAIN_OVERLAP, 0xa);
> +                       ath5k_hw_reg_write(ah, 0x800000a8, 0x8140);
> +                       ath5k_hw_reg_write(ah, 0x000000ff, 0x9958);

It'd be better not to use magic numbers here if we know what they are.

-- 
Bob Copeland %% www.bobcopeland.com
--
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