Search Linux Wireless

Re: [PATCH 3/8] ath5k: fix reference clock frequency for spur mitigation on AR2413

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

 



2011/7/4 Felix Fietkau <nbd@xxxxxxxxxxx>:
> AR2413 uses the same reference clock as AR5413
>
> Signed-off-by: Felix Fietkau <nbd@xxxxxxxxxxx>
> ---
>  drivers/net/wireless/ath/ath5k/phy.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/net/wireless/ath/ath5k/phy.c b/drivers/net/wireless/ath/ath5k/phy.c
> index f66124a..c65c33a 100644
> --- a/drivers/net/wireless/ath/ath5k/phy.c
> +++ b/drivers/net/wireless/ath/ath5k/phy.c
> @@ -105,6 +105,7 @@ bool ath5k_hw_chan_has_spur_noise(struct ath5k_hw *ah,
>
>        if ((ah->ah_radio == AR5K_RF5112) ||
>        (ah->ah_radio == AR5K_RF5413) ||
> +       (ah->ah_radio == AR5K_RF2413) ||
>        (ah->ah_mac_version == (AR5K_SREV_AR2417 >> 4)))
>                refclk_freq = 40;
>        else
> --
> 1.7.3.2
>

If that's true we should also change it on set_sleep_clock (patch 6 on
your series).



-- 
GPG ID: 0xD21DB2DB
As you read this post global entropy rises. Have Fun ;-)
Nick
--
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