From owner-cvs-src-old@FreeBSD.ORG Mon Oct 27 18:22:54 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 370CE10656A2 for ; Mon, 27 Oct 2008 18:22:54 +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 23B458FC16 for ; Mon, 27 Oct 2008 18:22:54 +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 m9RIMsvT051145 for ; Mon, 27 Oct 2008 18:22:54 GMT (envelope-from sam@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id m9RIMsVZ051144 for cvs-src-old@freebsd.org; Mon, 27 Oct 2008 18:22:54 GMT (envelope-from sam@repoman.freebsd.org) Message-Id: <200810271822.m9RIMsVZ051144@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to sam@repoman.freebsd.org using -f From: Sam Leffler Date: Mon, 27 Oct 2008 18:22:44 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/ath if_ath.c if_athvar.h src/sys/dev/ath/ath_rate/sample sample.c 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: Mon, 27 Oct 2008 18:22:54 -0000 sam 2008-10-27 18:22:44 UTC FreeBSD src repository Modified files: sys/dev/ath if_ath.c if_athvar.h sys/dev/ath/ath_rate/sample sample.c Log: SVN rev 184368 on 2008-10-27 18:22:44Z by sam o With the addition of HT rates the set of h/w codes has a much wider range making the use of sc_hwmap to do direct mapping impractical. Switch to indexing by the rate index instead of the rate code and adjust associated state and logic appropriately. This has several benefits including simplification of the led code. o fix radiotap capture of HT rates o fix conditional compilation of HT radiotap support to be based on the hal having 5416 support; not the ABI version as hal builds may or may not include 5416 support Revision Changes Path 1.24 +7 -5 src/sys/dev/ath/ath_rate/sample/sample.c 1.213 +39 -52 src/sys/dev/ath/if_ath.c 1.72 +1 -2 src/sys/dev/ath/if_athvar.h