From owner-cvs-src-old@FreeBSD.ORG Thu Mar 3 08:10:13 2011 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 0B0CE106566C for ; Thu, 3 Mar 2011 08:10:13 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id EC7A38FC0C for ; Thu, 3 Mar 2011 08:10:12 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p238ACAK088470 for ; Thu, 3 Mar 2011 08:10:12 GMT (envelope-from adrian@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p238AC7F088469 for cvs-src-old@freebsd.org; Thu, 3 Mar 2011 08:10:12 GMT (envelope-from adrian@repoman.freebsd.org) Message-Id: <201103030810.p238AC7F088469@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to adrian@repoman.freebsd.org using -f From: Adrian Chadd Date: Thu, 3 Mar 2011 08:09:49 +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 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: Thu, 03 Mar 2011 08:10:13 -0000 adrian 2011-03-03 08:09:49 UTC FreeBSD src repository Modified files: sys/dev/ath/ath_rate/sample sample.c Log: SVN rev 219216 on 2011-03-03 08:09:49Z by adrian Modify the sample rate module output to be (slightly) easier to understand. * add dot11rate_label() which returns Mb or MCS based on legacy or HT * use it everywhere dot11rate() is used * in the "current selection" part at the top of the debugging output, otuput what the rate itself is rather than the rix. The rate index (rix) has very little meaning to normal humans who don't know how to find the PHY settings for each of the chipsets; pointing out the rix rate and type is likely more useful. Revision Changes Path 1.36 +19 -11 src/sys/dev/ath/ath_rate/sample/sample.c