Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Dec 2012 06:38:30 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
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
Message-ID:  <201212070638.qB76cVdq036219@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212070638.qB76cVdq036219>