From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hosam Hittini Date: Wed, 9 Jul 2014 13:01:29 +0400 Subject: [ath9k-devel] AR9280 AP mode - 5GHz band In-Reply-To: <53BD0272.1030007@rempel-privat.de> References: <53BCC7F7.6030603@rempel-privat.de> <53BD0272.1030007@rempel-privat.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Janusz suggested compiling the kernel with the following options CONFIG_ATH_REG_DYNAMIC_USER_REG_HINTS=y CONFIG_ATH_REG_DYNAMIC_USER_CERT_TESTING=y Yours Sincerely, Eng. Hosam Hittini M: +971 555 655 878 ae.linkedin.com/in/hhittini/ On Jul 9, 2014, at 12:50 PM, Oleksij Rempel wrote: > Am 09.07.2014 07:47, schrieb Hosam Hittini: >> I?m afraid you are right >> I have the following modules running >> ath9k_htc 85879 0 >> ath9k_common 13619 1 ath9k_htc >> ath9k_hw 429197 2 ath9k_common,ath9k_htc >> ath 19187 3 ath9k_common,ath9k_htc,ath9k_hw >> mac80211 513247 2 rtl8187,ath9k_htc >> cfg80211 401436 4 ath,mac80211,rtl8187,ath9k_htc >> Does recompiling the kernel work? >> And if it works, do I need to install certain patch before recompiling? > > Why do you wont to recompile the kernel? If you won't to make work ath9k > driver with your usb adapter, then it will not work. > > >> Regards, >> Eng. Hosam Hittini >> >> On Jul 9, 2014, at 8:41 AM, Oleksij Rempel > > wrote: >> >>> Am 08.07.2014 13:37, schrieb Janusz Dziedzic: >>>> On 8 July 2014 08:20, Hosam Hittini >>> > wrote: >>>>> Hello there, >>>>> >>>>> I have this dual band wireless adapter >>>>> https://www.thinkpenguin.com/gnu-linux/penguin-wireless-n-dual-band-usb-adapter-gnu-linux-tpe-nusbdb >>>>> and it uses AR9280 chipset for the 5GHz communication >>>>> It?s using ath9k driver; I have Ubuntu 13.10 running 3.11 kernel and the >>>>> adapter worked out of the box >>>>> I?m using hostapd to configure the adapter as a software AP >>>>> When I tried to configure the adapter as an AP on the 2.4GHz channels it >>>>> worked fine >>>>> When tried the 5GHz channels it gives me the following error >>>>> >>>>> channel [1] (40) is disabled for use in AP mode, flags: 0x77 >>>>> wlan1: IEEE 802.11 Configured channel (40) not found from the >>>>> channel list >>>>> of current mode (2) IEEE 802.11a >>>>> wlan1: IEEE 802.11 Hardware does not support configured channel >>>>> >>>>> In addition, iw list command shows that the 5GHz channels have the >>>>> ?passive >>>>> scanning? and ?no IBSS? flags >>>>> I can associate with an AP on the 5GHz though >>>>> How to solve that >>>> >>>> You can try this - works fine with my 9280 >>>> Compile your kernel with options: >>>> CONFIG_ATH_REG_DYNAMIC_USER_REG_HINTS=y >>>> CONFIG_ATH_REG_DYNAMIC_USER_CERT_TESTING=y >>>> >>>> Next set country, eg. iw reg set US >>>> And check channels available (iw list). You should get 36-48 and >>>> 149-165 available. >>>> If available, next you can check hostapd. >>>> >>>> DFS channels should works as well when you enable DFS: >>>> CONFIG_ATH9K_DFS_CERTIFIED required >>> >>> He is not using ath9k driver. It is about ath9k_htc :) >>> >>> >>> -- >>> Regards, >>> Oleksij >> > > > -- > Regards, > Oleksij -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20140709/a19933b1/attachment-0001.htm