From: Peter Stuge Date: Tue, 31 May 2011 19:56:58 +0200 Subject: [ath9k-devel] AR9380 + hostapd + HT over 802.11a In-Reply-To: <4DE52724.2040300@ionic.de> References: <4DE52724.2040300@ionic.de> Message-ID: <20110531175658.30439.qmail@stuge.se> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Mihai Moldovan wrote: > Although enabling 802.11d and setting the regulatory domain to "DE" > (Germany), I wasn't able to bring up the card on any 5GHz channel in AP > mode. If the card has a regdomain which requires passive scanning set in it's EEPROM then setting regdomain in userspace will not change that. Setting regdomain in userspace will only ever limit capabilites further, never increase capabilities. > Finding some "patch" for ath9k which disabled NO_IBSS, RADAR_SCANNING and > PASSIVE_SCAN, I was able to bring the card up on 5GHz with HT (and finally > get 300MBit max rate.) > > I feel that's the wrong approach and would like to ask how to really do > this kind of stuff. If you ask Atheros they (have to) say you should buy a card with the appropriate regdomain in EEPROM. In practise that's of course not possible so the only realistic choice left is to change the regdomain in the EEPROM. You can reverse engineer ath9k to find out how. If you do, please publish the tool. :) > I'd like to put another card up running on 2.4GHz for legacy > hardware not capable of 802.11a (for instance my Android phone.) > > Is there anything I should pay attention to? For instance using > another ESSID This one is not so easy. Everyone should use 5GHz, but as you have noticed most if not all STAs have utterly useless algorithms for selecting the access point if several are in range on different channels. In theory the correct thing is IMO to use the same ESSID for 5GHz and 2.4GHz since it is in fact exactly the same network. There is plenty of information for hardware and driver stacks to make semi-intelligent decisions about what to tune to. Unfortunately this is not noticeable in reality with many devices. So by having different ESSID you allow the user to take control, she can select in her machine that only the 5GHz network should ever be used. It has significantly worse usability, because the user is now forced to do a menial task which the machine already has ample information to carry out, so it is absurdly degrading to push the task onto the user. Alas it may still be neccessary. (Just remember that it is in fact a workaround for shitty STAs.) //Peter -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 190 bytes Desc: not available Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20110531/2afe6a5e/attachment-0001.pgp