Date: Fri, 21 Jan 2011 05:21:00 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/ath if_ath.c if_athioctl.h if_athvar.h src/sys/dev/ath/ath_hal ah.h src/sys/dev/ath/ath_hal/ar5210 ar5210.h ar5210_attach.c ar5210_misc.c src/sys/dev/ath/ath_hal/ar5211 ar5211.h ar5211_attach.c ... Message-ID: <201101210521.p0L5LJas002723@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
adrian 2011-01-21 05:21:00 UTC FreeBSD src repository Modified files: sys/dev/ath if_ath.c if_athioctl.h if_athvar.h sys/dev/ath/ath_hal ah.h sys/dev/ath/ath_hal/ar5210 ar5210.h ar5210_attach.c ar5210_misc.c sys/dev/ath/ath_hal/ar5211 ar5211.h ar5211_attach.c ar5211_misc.c sys/dev/ath/ath_hal/ar5212 ar5212.h ar5212_ani.c ar5212_attach.c sys/dev/ath/ath_hal/ar5416 ar5416.h ar5416_ani.c ar5416_attach.c sys/dev/ath/ath_hal/ar9002 ar9280_attach.c Log: SVN rev 217684 on 2011-01-21 05:21:00Z by adrian ANI changes #1 - split out the ANI polling from the RxMonitor hook. The rxmonitor hook is called on each received packet. This can get very, very busy as the tx/rx/chanbusy registers are thus read each time a packet is received. Instead, shuffle out the true per-packet processing which is needed and move the rest of the ANI processing into a periodic event which runs every 100ms by default. Revision Changes Path 1.17 +2 -0 src/sys/dev/ath/ath_hal/ah.h 1.5 +2 -1 src/sys/dev/ath/ath_hal/ar5210/ar5210.h 1.10 +2 -1 src/sys/dev/ath/ath_hal/ar5210/ar5210_attach.c 1.4 +6 -1 src/sys/dev/ath/ath_hal/ar5210/ar5210_misc.c 1.6 +2 -1 src/sys/dev/ath/ath_hal/ar5211/ar5211.h 1.10 +2 -1 src/sys/dev/ath/ath_hal/ar5211/ar5211_attach.c 1.5 +6 -1 src/sys/dev/ath/ath_hal/ar5211/ar5211_misc.c 1.10 +2 -1 src/sys/dev/ath/ath_hal/ar5212/ar5212.h 1.5 +9 -4 src/sys/dev/ath/ath_hal/ar5212/ar5212_ani.c 1.13 +2 -1 src/sys/dev/ath/ath_hal/ar5212/ar5212_attach.c 1.12 +2 -1 src/sys/dev/ath/ath_hal/ar5416/ar5416.h 1.4 +14 -4 src/sys/dev/ath/ath_hal/ar5416/ar5416_ani.c 1.16 +2 -1 src/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c 1.3 +4 -0 src/sys/dev/ath/ath_hal/ar9002/ar9280_attach.c 1.284 +47 -12 src/sys/dev/ath/if_ath.c 1.26 +2 -1 src/sys/dev/ath/if_athioctl.h 1.94 +5 -0 src/sys/dev/ath/if_athvar.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101210521.p0L5LJas002723>