From owner-cvs-src-old@FreeBSD.ORG Sun Mar 6 00:31:03 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 25F4D1065687 for ; Sun, 6 Mar 2011 00:31:03 +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 131DE8FC0C for ; Sun, 6 Mar 2011 00:31:03 +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 p260V2OV036971 for ; Sun, 6 Mar 2011 00:31:02 GMT (envelope-from adrian@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p260V2be036970 for cvs-src-old@freebsd.org; Sun, 6 Mar 2011 00:31:02 GMT (envelope-from adrian@repoman.freebsd.org) Message-Id: <201103060031.p260V2be036970@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to adrian@repoman.freebsd.org using -f From: Adrian Chadd Date: Sun, 6 Mar 2011 00:30:43 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/ath/ath_hal ah_eeprom.h ah_eeprom_v14.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: Sun, 06 Mar 2011 00:31:03 -0000 adrian 2011-03-06 00:30:43 UTC FreeBSD src repository Modified files: sys/dev/ath/ath_hal ah_eeprom.h ah_eeprom_v14.c Log: SVN rev 219318 on 2011-03-06 00:30:43Z by adrian Add an EEPROM op that extracts out the power table offset. It defaults to -5 dBm for eeproms earlier than v21. This apparently only applies to Merlin (AR9280) or later, earlier 11n chipsets have a power table offset of 0. All the code in ath9k which checks the power table offset and takes it into account first ensures the chip is Merlin or later. Revision Changes Path 1.4 +1 -0 src/sys/dev/ath/ath_hal/ah_eeprom.h 1.7 +7 -0 src/sys/dev/ath/ath_hal/ah_eeprom_v14.c