From owner-cvs-src-old@FreeBSD.ORG Sun Nov 30 19:06:40 2008 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9D6D7106567A for ; Sun, 30 Nov 2008 19:06:40 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 8CE4B8FC1B for ; Sun, 30 Nov 2008 19:06:40 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id mAUJ6eL0088625 for ; Sun, 30 Nov 2008 19:06:40 GMT (envelope-from sam@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id mAUJ6eIi088624 for cvs-src-old@freebsd.org; Sun, 30 Nov 2008 19:06:40 GMT (envelope-from sam@repoman.freebsd.org) Message-Id: <200811301906.mAUJ6eIi088624@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to sam@repoman.freebsd.org using -f From: Sam Leffler Date: Sun, 30 Nov 2008 19:06:35 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/ath/ath_rate/sample sample.c sample.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Nov 2008 19:06:40 -0000 sam 2008-11-30 19:06:35 UTC FreeBSD src repository Modified files: sys/dev/ath/ath_rate/sample sample.c sample.h Log: SVN rev 185482 on 2008-11-30 19:06:35Z by sam Major overhaul: o eliminate private state indexed by 802.11 rate codes; use the hal's rate tables directly to get the same info o calculate a mask of operational rates to optimize lookups and checks (instead of using for loops and similar) o optimize size bin operations o ignore rates marked as "do not use" in the hal phy tables o fix bug that caused upshifting to break in 11g once the rate dropped below 11Mb/s o add more intelligent multi-rate tx schedules o add support for 1/2 and 1/4 width channels o add dev.ath.X.sample_stats sysctl to dump runtime statistics to the console (needs to go up to a user app) o export more tuning knobs via sysctls (still a couple of magic constants) Revision Changes Path 1.25 +543 -359 src/sys/dev/ath/ath_rate/sample/sample.c 1.9 +25 -22 src/sys/dev/ath/ath_rate/sample/sample.h