From owner-cvs-src-old@FreeBSD.ORG Wed Apr 13 04:41: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 F23A310656A6 for ; Wed, 13 Apr 2011 04:41: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 DF8ED8FC08 for ; Wed, 13 Apr 2011 04:41:13 +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 p3D4fD1n020372 for ; Wed, 13 Apr 2011 04:41:13 GMT (envelope-from adrian@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p3D4fDOn020371 for cvs-src-old@freebsd.org; Wed, 13 Apr 2011 04:41:13 GMT (envelope-from adrian@repoman.freebsd.org) Message-Id: <201104130441.p3D4fDOn020371@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to adrian@repoman.freebsd.org using -f From: Adrian Chadd Date: Wed, 13 Apr 2011 04:40:59 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/ath/ath_hal/ar9002 ar9002phy.h ar9285_reset.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: Wed, 13 Apr 2011 04:41:14 -0000 adrian 2011-04-13 04:40:59 UTC FreeBSD src repository Modified files: sys/dev/ath/ath_hal/ar9002 ar9002phy.h ar9285_reset.c Log: SVN rev 220590 on 2011-04-13 04:40:59Z by adrian Port over a TX gain fix from ath9k specific to the AR9285 (Kite) and AR9271. Note: this HAL currently only supports the AR9285. From Linux ath9k: The problem is that when the attenuation is increased, the rate will start to drop from MCS7 -> MCS6, and finally will see MCS1 -> CCK_11Mbps. When the rate is changed b/w CCK and OFDM, it will use register desired_scale to calculate how much tx gain need to change. The output power with the same tx gain for CCK and OFDM modulated signals are different. This difference is constant for AR9280 but not AR9285/AR9271. It has different PA architecture a constant. So it should be calibrated against this PA characteristic. The driver has to read the calibrated values from EEPROM and set the tx power registers accordingly. Revision Changes Path 1.2 +7 -0 src/sys/dev/ath/ath_hal/ar9002/ar9002phy.h 1.10 +37 -1 src/sys/dev/ath/ath_hal/ar9002/ar9285_reset.c