From owner-svn-src-head@FreeBSD.ORG Fri Dec 7 06:38:31 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 42CEB162; Fri, 7 Dec 2012 06:38:31 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 265A28FC13; Fri, 7 Dec 2012 06:38:31 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qB76cVxp036220; Fri, 7 Dec 2012 06:38:31 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qB76cVdq036219; Fri, 7 Dec 2012 06:38:31 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201212070638.qB76cVdq036219@svn.freebsd.org> From: Adrian Chadd Date: Fri, 7 Dec 2012 06:38:30 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r243975 - head/sys/dev/ath/ath_hal X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Dec 2012 06:38:31 -0000 Author: adrian Date: Fri Dec 7 06:38:30 2012 New Revision: 243975 URL: http://svnweb.freebsd.org/changeset/base/243975 Log: Add XC900 SKU mapping. Modified: head/sys/dev/ath/ath_hal/ah_regdomain.c Modified: head/sys/dev/ath/ath_hal/ah_regdomain.c ============================================================================== --- head/sys/dev/ath/ath_hal/ah_regdomain.c Fri Dec 7 06:34:46 2012 (r243974) +++ head/sys/dev/ath/ath_hal/ah_regdomain.c Fri Dec 7 06:38:30 2012 (r243975) @@ -613,6 +613,8 @@ ath_hal_mapgsm(int sku, int freq) return 1544 + freq; if (sku == SKU_SR9) return 3344 - freq; + if (sku == SKU_XC900M) + return 1517 + freq; HALDEBUG(AH_NULL, HAL_DEBUG_ANY, "%s: cannot map freq %u unknown gsm sku %u\n", __func__, freq, sku); @@ -727,6 +729,7 @@ ath_hal_set_channels(struct ath_hal *ah, case SKU_SR9: case SKU_XR9: case SKU_GZ901: + case SKU_XC900M: /* * Map 900MHz sku's. The frequencies will be mapped * according to the sku to compensate for the down-converter.