From: Luis R. Rodriguez Date: Tue, 9 Jun 2009 13:47:01 -0700 Subject: [ath9k-devel] ad-hoc mode using 5 GHz channel (A band) In-Reply-To: <1244573252.4408.6.camel@mj> References: <651044.44464.qm@web55302.mail.re4.yahoo.com> <1244573252.4408.6.camel@mj> Message-ID: <43e72e890906091347r3ba6ebcdu8e282940199bc36f@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 On Tue, Jun 9, 2009 at 11:47 AM, Pavel Roskin wrote: > On Tue, 2009-06-09 at 11:35 -0700, xxiao wrote: >> you probably should use "iw" to config ath9k instead of using iwconfig. something like: >> >> iw dev wlan0 set freq 2412 >> -or- >> iw dev wlan0 set channel 1 > > I don't think that would make any difference. ?However, "iw list" would > show which frequencies are enabled for the device and "iw reg get" would > show the regulatory settings. > > I guess the regulatory setting disables beaconing in the 5 GHz range. Beaconing is disabled when no-ibss or passive scan flags are enabled (or dfs) . You would see something like this: * 5180 MHz [36] (30.0 dBm) (passive scanning, no IBSS) * 5200 MHz [40] (30.0 dBm) (passive scanning, no IBSS) * 5220 MHz [44] (30.0 dBm) (passive scanning, no IBSS) * 5240 MHz [48] (30.0 dBm) (passive scanning, no IBSS) If you don't see these flags then beaconing should be allowed. Luis