On Tuesday 14 September 2010 00:38:14 Ben Greear wrote: > I'm having no luck getting WPA to work with two STA interfaces > on the same ath9k NIC. > > So far, I've done a bunch of hacking to only scan on the one > channel that we're currently using if 1+ stations are associated, > and some other logic to not call change-channel logic unnecessarily. > > Currently, I see wlan0 able to associate and authenticate with wpa_supplicant, > but sta1 (the other STA interface), won't work. A snippet from it's supplicant > log is below. No-encryption and WEP seems to work fine. > If anyone has any suggestions as to where I should look to debug this, > I'd welcome the pointers! First things first: Have you tried your "idea" with mac80211_hwsim? Also, have you disabled the hardware crypto accelerator? Because if you spend one second to look at ath9k's set_key code, you "will see" why the hardware has a problem dealing with multiple keys for a single MAC (of your AP). > I'll work on cleaning up the scan patch for review as well. -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html