From owner-freebsd-mobile@FreeBSD.ORG Mon May 5 15:52:18 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1CFE1106566C for ; Mon, 5 May 2008 15:52:18 +0000 (UTC) (envelope-from Benjamin.Close@clearchain.com) Received: from ipmail05.adl2.internode.on.net (ipmail05.adl2.internode.on.net [203.16.214.145]) by mx1.freebsd.org (Postfix) with ESMTP id 89FCC8FC0A for ; Mon, 5 May 2008 15:52:17 +0000 (UTC) (envelope-from Benjamin.Close@clearchain.com) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqgEAHrGHkh5LXBM/2dsb2JhbACBU6ke X-IronPort-AV: E=Sophos;i="4.27,438,1204464600"; d="scan'208";a="108811528" Received: from ppp121-45-112-76.lns11.adl6.internode.on.net (HELO mail.clearchain.com) ([121.45.112.76]) by ipmail05.adl2.internode.on.net with ESMTP; 06 May 2008 01:06:59 +0930 Received: from taurus.clearchain.com (taurus.internal.clearchain.com [192.168.155.54]) (authenticated bits=0) by mail.clearchain.com (8.14.2/8.14.2) with ESMTP id m45FaG17057418 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 6 May 2008 01:06:17 +0930 (CST) (envelope-from Benjamin.Close@clearchain.com) Message-ID: <481F2992.5080809@clearchain.com> Date: Tue, 06 May 2008 01:06:50 +0930 From: Benjamin Close User-Agent: Thunderbird 2.0.0.9 (X11/20080103) MIME-Version: 1.0 To: Jordan Coleman References: <6B39D996-3A54-43FD-922F-C5883FA8B405@JordanColeman.com> <200804240842.16865.asstec@matik.com.br> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.93, clamav-milter version 0.93 on pegasus.clearchain.com X-Virus-Status: Clean X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (mail.clearchain.com [192.168.154.1]); Tue, 06 May 2008 01:06:18 +0930 (CST) Cc: AT Matik , freebsd-mobile@freebsd.org Subject: Re: "International" channels on a CM9 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 May 2008 15:52:18 -0000 Jordan Coleman wrote: > On Apr 24, 2008, at 7:42 AM, AT Matik wrote: >>> I have an embedded system that contains a Wistron CM9 802.11 card, >>> purchased in the US. After extensive testing in the US, the unit is >>> now being installed in Europe, where 802.11b/g channels 1-13 are >>> employed. How can I enable channels 12 and 13 on this hardware, which >>> currently seems to only be able to use the "US" channels, 1-11? > >> on some cards it is possible to achieve by setting the country code >> at boot >> time (sysctl in loader.conf) on others not > > sysctl shows countrycode=0, regdomain=0. I can change the countrycode > to other (valid) settings, but I have a feeling that setting that at > runtime is already too late. > >> there is a way again on some cards to tweak the card's eprom memory >> to get the >> extended channels > > It was my impression based on the research I did before purchasing the > card that there aren't multiple SKUs representing hardware for > different regions -- just the one card which can cover the full range > of frequencies. Is that not the case with the CM9? > >> you can try attached exec which should run on i386 at least on 5.3 >> and perhaps >> 6... (i don't remember) >> >> in order to do it you need to boot with the card installed in single >> user mode >> and after setting reboot to see if it works > > If I do end up having to make an EEPROM change, single-user mode isn't > an easy option in this case. The hardware is built into a > weathertight box mounted on the outside of a structure; there's no > console. The system boots via PXE and mounts its root filesystem via > NFS, though, and I have remote power control as well, so I have fairly > complete control over bootup. Is single-user strictly necessary? Hmm, this may have been recently fixed: On Sun, Apr 27, 2008 at 10:03:56PM +0000, Sam Leffler wrote: > > sam 2008-04-27 22:03:56 UTC > > > > FreeBSD src repository > > > > Modified files: > > sys/dev/ath if_ath.c > > Log: > > restore the hal's channel list when doing getradiocaps so it's in sync with > > the 802.11 layer's list >