From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luis R. Rodriguez Date: Fri, 7 May 2010 14:54:45 -0700 Subject: [ath9k-devel] help In-Reply-To: References: <20100507182159.GA2375@tux> <20100507213445.GH2375@tux> Message-ID: <20100507215445.GJ2375@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 02:47:39PM -0700, 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? 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 Oh and if you are world roaming do not set the regulatory domain to keep the world roaming enhancements in place. Setting the regulatory domain may lift the passive scan flags as passive scan flags are an invention to help with world roaming. Countries have specific rules so passive scanning makes no sense when you do know you are in a specific country. I should also note that the passive scan enhancements AP beacon find thingy also only works for non DFS channels since we do not yet have DFS master mode implementation. If we had DFS support for AP mode of operation then we could enable this too. Luis