On 09/13/2010 04:12 PM, Christian Lamparter wrote:
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?
No, I didn't know that existed..I will look for information
on that.
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).
Yes, I think that part is correct:
[root@a230-ath9k ~]# cat /sys/module/ath9k/parameters/nohwcrypt
1
Thanks,
Ben
--
Ben Greear <greearb@xxxxxxxxxxxxxxx>
Candela Technologies Inc http://www.candelatech.com
--
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