From owner-cvs-src@FreeBSD.ORG Wed Dec 13 19:34:45 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 42CF016A511; Wed, 13 Dec 2006 19:34:45 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 002B843CEE; Wed, 13 Dec 2006 19:33:04 +0000 (GMT) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id kBDJYZSJ035331; Wed, 13 Dec 2006 19:34:35 GMT (envelope-from sam@repoman.freebsd.org) Received: (from sam@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id kBDJYZRo035330; Wed, 13 Dec 2006 19:34:35 GMT (envelope-from sam) Message-Id: <200612131934.kBDJYZRo035330@repoman.freebsd.org> From: Sam Leffler Date: Wed, 13 Dec 2006 19:34:35 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/ath if_ath.c if_athrate.h if_athvar.h src/sys/dev/ath/ath_rate/amrr amrr.c src/sys/dev/ath/ath_rate/onoe onoe.c src/sys/dev/ath/ath_rate/sample sample.c sample.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Dec 2006 19:34:45 -0000 sam 2006-12-13 19:34:35 UTC FreeBSD src repository Modified files: sys/dev/ath if_ath.c if_athrate.h if_athvar.h sys/dev/ath/ath_rate/amrr amrr.c sys/dev/ath/ath_rate/onoe onoe.c sys/dev/ath/ath_rate/sample sample.c sample.h Log: Track v0.9.20.3 hal: o no more ds_vdata in tx/rx descriptors o split h/w tx/rx descriptor from s/w status o as part of the descriptor split change the rate control module api so the ath_buf is passed in to the module so it can fetch both descriptor and status information as needed o add some const poisoning Also for sample rate control algorithm: o split debug msgs (node, rate, any) o uniformly bounds check rate indices (and in some cases correct checks) o move array index ops to after bounds checking o use final tsi from the status block instead of the h/w descriptor o replace h/w descriptor struct's with proper mask+shift defs (this doesn't belong here; everything is known by the driver and should just be sent down so there's no h/w-specific knowledge) MFC after: 1 month Revision Changes Path 1.12 +4 -3 src/sys/dev/ath/ath_rate/amrr/amrr.c 1.12 +5 -4 src/sys/dev/ath/ath_rate/onoe/onoe.c 1.15 +163 -125 src/sys/dev/ath/ath_rate/sample/sample.c 1.6 +39 -85 src/sys/dev/ath/ath_rate/sample/sample.h 1.157 +71 -68 src/sys/dev/ath/if_ath.c 1.5 +2 -1 src/sys/dev/ath/if_athrate.h 1.55 +6 -4 src/sys/dev/ath/if_athvar.h