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.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to