From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Greear Date: Tue, 31 May 2011 11:33:03 -0700 Subject: [ath9k-devel] AR9380 + hostapd + HT over 802.11a In-Reply-To: <4DE5338C.507@ionic.de> References: <4DE52724.2040300@ionic.de> <4DE52E1E.90903@candelatech.com> <4DE5338C.507@ionic.de> Message-ID: <4DE5345F.3060709@candelatech.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 05/31/2011 11:29 AM, Mihai Moldovan wrote: > * On 31.05.2011 08:06 PM, Ben Greear wrote: >> Probably your NIC is in regdomain 0x6a or similar. >> cfg80211: Calling CRDA for country: US >> cfg80211: Regulatory domain changed to country: US >> cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, >> max_eirp) >> cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm) >> cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm) >> cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) >> cfg80211: (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) >> cfg80211: (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) >> cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm) > > Interestingly, I'm not seeing those messages, even when changing the > domain via iw set reg DE or sorta. > The only message I get is following: > > [ 16.719918] cfg80211: Calling CRDA to update world regulatory domain > > I installed crda just recently without rebooting, maybe that's the > cause. udev was restarted manually after installing crda, but who knows > what else magic is required. I'll power cycle the machine to see whether > I can get more information. I'm just using Fedora 14 with whatever it comes with, though using 'iw' and hostapd etc from recent git repos. > > Oh, and enabling CONFIG_CFG80211_REG_DEBUG may not be the worst idea > either. %) > >> You can over-ride this with a patch similar to this one: >> http://patches.aircrack-ng.org/ath9k_regdomain_override.patch > > Thanks, I'll rather try this than blindly enabling all channels in ath's > regd.c >> Note that you may lose 'official' support by doing this, but as far >> as I can tell, as long as you use the correct domain with 'iw reg set' >> you will still be in regulatory compliance as it chooses the minimal >> set of features supported by the NIC and whatever 'iw reg set' does. > > Chances are AP mode on 5Ghz haven't been tested with this card and the > channels are thus disabled, but I'll have a look nonetheless. What NIC? I had this problem with the Sparklan 127 using the AR9380 chipset... It worked fine in 5Ghz after I 'fixed' the regdomain... Thanks, Ben -- Ben Greear Candela Technologies Inc http://www.candelatech.com