Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Aug 2010 07:56:56 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/dev/ath if_ath.c
Message-ID:  <201008100757.o7A7vGRV001464@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
adrian      2010-08-10 07:56:56 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/ath          if_ath.c 
  Log:
  SVN rev 211136 on 2010-08-10 07:56:56Z by adrian
  
  Don't delay updating the longcal timer - instead, update the longcal
  flag immediately so it's only set once per longcal interval.
  
  Without this, the current AR5416 code will continuously spam NF
  calibrations during a periodic calibration if the longcal flag
  is set. The longcal flag wouldn't be cleared until the calibration
  method indicates that calibrations are "complete".
  
  This drops the rate of NF calibration updates down from "once every
  shortcal" (ie, every 100ms) during a periodic calibration, to only
  once per "longcal" interval. Spamming NF calibrations every 100ms
  caused some potentially horrific issues in noisy environments as
  NF calibrations can take longer than 100ms and this spamming can
  cause invalid NF calibration results to be read back - leading to
  missed beacons, and thus leading to a stuck beacon situation.
  
  Stuck beacons cause interface resets, which restart calibrations.
  This means that the longcal calibration runs every 100ms (shortcal)
  until all initial calibrations are completed. This spamming can then
  cause the above issues which leads to stuck beacons, leading to
  interface resets, etc, etc. Quite annoying.
  
  Revision  Changes    Path
  1.276     +1 -1      src/sys/dev/ath/if_ath.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008100757.o7A7vGRV001464>