From: Zoltan Devai Date: Tue, 27 Jan 2009 00:37:19 +0100 Subject: [ath9k-devel] ath9k regulatory In-Reply-To: <20090126183844.GC19242@tesla> References: <5b7270f40901260535q382f98d3qa6549556332b8d91@mail.gmail.com> <20090126151302.GL22475@tesla> <5b7270f40901261008t4ab25a4cl6111b210cc38d91f@mail.gmail.com> <20090126183844.GC19242@tesla> Message-ID: <5b7270f40901261537r6feaf502p5e8167b64b8bb401@mail.gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Whoops, here's the CC for the list. 2009/1/26 Luis R. Rodriguez > On Mon, Jan 26, 2009 at 10:08:55AM -0800, Zoltan Devai wrote: > > 2009/1/26 Luis R. Rodriguez > > > On Mon, Jan 26, 2009 at 05:35:13AM -0800, Zoltan Devai wrote: > > > I'm using a TP-Link TL-WN861N card. What could be the reason that channels 12 and 13 are > > > not allowed ? > > > Using compat-wireless 2009-01-25. Thanks for the explanation on the regulatory. > > Is there a way to give the users preference priority ? > > The user can always specifify the regulatory domain that is the default. In > ath9k's case the EEPROM is always respected though. > > * 2462 MHz [11] (20.0 dBm) > > * 2467 MHz [12] (disabled) > > * 2472 MHz [13] (disabled) > > * 2484 MHz [14] (disabled) > > Yeap, this is by design -- your card has the "US" regulatory domain > and as such has those channels are disabled and you cannot enable them. > Reason for this is the device was not calibrated to operate on those > channels and as such proper behaviour cannot be guaranteed. For cards > where proper behaviour can be guaranteed you will be able to enable > those channels like on the b43 driver. The EEP_REG_0 is actually 0x0000 on my card and the driver defaults US for that. Is that a valid value to put in the EEPROM ? Or was just the card manufacturer sloppy and it rather means "don't care", in which case the driver should enable all channels ? Cheers, Zoltan