From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mihai Moldovan Date: Tue, 31 May 2011 20:29:32 +0200 Subject: [ath9k-devel] AR9380 + hostapd + HT over 802.11a In-Reply-To: <4DE52E1E.90903@candelatech.com> References: <4DE52724.2040300@ionic.de> <4DE52E1E.90903@candelatech.com> Message-ID: <4DE5338C.507@ionic.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org * On 31.05.2011 08:06 PM, Ben Greear wrote: > Probably your NIC is in regdomain 0x6a or similar. Exactly, see the last message. > If you see something like this in your logs that is the problem: > > > ath: EEPROM regdomain: 0x6a > ath: EEPROM indicates we should expect a direct regpair map > ath: Country alpha2 being used: 00 > ath: Regpair used: 0x6a > > 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. 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. Thanks again. :) Mihai -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 6111 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20110531/c2fb1240/attachment-0001.bin