From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luis R. Rodriguez Date: Fri, 7 May 2010 15:07:52 -0700 Subject: [ath9k-devel] help In-Reply-To: References: <20100507182159.GA2375@tux> <20100507213445.GH2375@tux> Message-ID: <20100507220752.GK2375@tux> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org On Fri, May 07, 2010 at 03:01:39PM -0700, Devan Rehunathan wrote: > On 7 May 2010 22:47, Luis R. Rodriguez wrote: > > On Fri, May 7, 2010 at 2:41 PM, Devan Rehunathan wrote: > >> Hello Luis, > >> > >>>> When I run "iw list". The 5GHz channels are either disabled or already in use > >>>> for passive scanning. I've tried setting it to the correct country code (GB). > >>>> > >>>> I have since managed to find a patch for the ath driver that allows > >>>> all channels. > >>>> While I suppose I could always regulate myself and use the correct channels, > >>>> I'd rather not have to modify driver code. > >>> > >>> I have outlined why this is not supported, good luck. > >>> > >>>> Do you have any suggestions on what I'm possibly doing wrong? > >>> > >>> I choose to not support you for the reasons already outlined. > >> > >> I'm afraid you've misunderstood me. I do not want to use modified driver code. > >> I understand and fully agree with you reasons, hence my decision to > >> get the driver > >> working properly. > > > > Ah OK, thanks for your clarification. So you are using a vanilla > > kernel from upstream? If so what kernel release is that and what > > exactly is your issue? > > > I'm using Linux 2.6.32.8 kernel modified to enable NEMO/Mobile IP. > > If you are trying to start AP mode of operation > > on a channel with passive scan then please realize it will not work > > *unless* you have a card which is world roaming (for Atheros cards > > this consists of cards with a regulatory domain which has 0x60 set) > > and only if the card finds another AP nearby on the passive scan > > channels. > > > > The world roaming AP-find thingy is an enhancements specifically > > designed to enable beaconing technologies, not just AP mode of > > operation. So you should also then be able to use IBSS and Mesh. > > > > For more information regarding Atheros' world roaming stuff you can read: > > > > http://wireless.kernel.org/en/users/Drivers/ath > > > > Currently, the card I have defaults to the US domain. When I use CRDA to > chose GB, I get the correct selection of channels. > > Ok, so basically with the card I have I won't be able to set up wireless AP. > I need a card which is "world roaming", correct? You can only use AP mode of operation on a card configured for a country (not world roaming) if the channel is enabled and it does not have flags which disable IBSS (the no-IBSS flag really needs to be relabeled as no-beaconing) or have set the passive scan flag. But since country regulatory domains do not have no-ibss and passive scan flags you can only use AP mode of operation on channels which are clearly enabled. DFS is not yet supported so those channels won't work yet either. Luis