Search Linux Wireless

Re: [ath5k-devel] [PATCH 5/8] ath5k: delay full calibration after reset

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

 



2011/7/4 Felix Fietkau <nbd@xxxxxxxxxxx>:
> During scans the full calibration usually does not make much sense,
> PAPD probing and IQ calibration should be deferred until there is
> enough time to complete them. Adding 100 ms to the initial full
> calibration delay should be enough to do this.
>
> Signed-off-by: Felix Fietkau <nbd@xxxxxxxxxxx>
> ---
>  drivers/net/wireless/ath/ath5k/base.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/net/wireless/ath/ath5k/base.c b/drivers/net/wireless/ath/ath5k/base.c
> index a413aa7..efec14f 100644
> --- a/drivers/net/wireless/ath/ath5k/base.c
> +++ b/drivers/net/wireless/ath/ath5k/base.c
> @@ -2728,7 +2728,7 @@ ath5k_reset(struct ath5k_softc *sc, struct ieee80211_channel *chan,
>
>        ath5k_ani_init(ah, ani_mode);
>
> -       ah->ah_cal_next_full = jiffies;
> +       ah->ah_cal_next_full = jiffies + msecs_to_jiffies(100);
>        ah->ah_cal_next_ani = jiffies;
>        ah->ah_cal_next_nf = jiffies;
>        ewma_init(&ah->ah_beacon_rssi_avg, 1024, 8);
> --
> 1.7.3.2
>

BTW have you checked this one ->
http://www.kernel.org/pub/linux/kernel/people/mickflemm/calibtest.patch
?

Acked-by: Nick Kossifidis <mickflemm@xxxxxxxxx>



-- 
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