Skip to contentSkip to conversation

WPA/WPA2 problem with ath9k

ath9k-devel Tamas Selmeci 2 participants 3 messages Feb 13, 2009 – Feb 16, 2009

lore
Share & tools
lore
#0 lore raw

Hello all!

On our hotspot apart from Samsung mobiles everything is ok until there's no security switched on.

As soon as WPA/WPA2 (or any combination of them including TKIP/CCMP) is switched on, connecting to the AP becomes extremely slow and fails several times. Once it gets connected seems to work perfectly, but I can't beleive that it should be that slow.

Environment:
- linux-2.6.27-rc6;
- ath9k-compat: 2009-01-25 and 2009-02-11;
- AR5416
- hostapd-0.6.7

hostapd.conf is as follows:

interface=wlan0
driver=nl80211
hw_mode=g
country_code=DE
max_num_sta=32
# supported_rates=10 20 55 110 60 90 120 180 240 360 480 540 # ht_capab=[HT40-][SHORT-GI-20][SHORT-GI-40]
logger_syslog=1
logger_syslog_level=0
logger_stdout=-1
logger_stdout_level=0
debug=1
ctrl_interface_group=0
macaddr_acl=0
auth_algs=1
dump_file=/tmp/hostapd.dump
ssid=norbolataska
wpa=2
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP CCMP
rsn_pairwise=TKIP CCMP
ap_max_inactivity=120 wpa_psk=af8f7d04a3331126ee9fad0cf2dbba54728389d93d83ca1549dfda2727249890 channel=8

Do you have any idea what can be wrong? I heard that AR5416 is a rather buggy card, many of the bugs have been fixed in AR9160, but that's also problematic according to my experiences. Adding "ieee80211n=1" didn't solve the problem.

Regards,

Signature · 1 line
Tamas Selmeci
#1 lore raw
Quoted 31 lines · Tamas Selmeci

Hello all!

On our hotspot apart from Samsung mobiles everything is ok until there's no security switched on.

As soon as WPA/WPA2 (or any combination of them including TKIP/CCMP) is switched on, connecting to the AP becomes extremely slow and fails several times. Once it gets connected seems to work perfectly, but I can't beleive that it should be that slow.

Environment:
- linux-2.6.27-rc6;
- ath9k-compat: 2009-01-25 and 2009-02-11;
- AR5416
- hostapd-0.6.7

hostapd.conf is as follows:

interface=wlan0
driver=nl80211
hw_mode=g
country_code=DE
max_num_sta=32
# supported_rates=10 20 55 110 60 90 120 180 240 360 480 540 # ht_capab=[HT40-][SHORT-GI-20][SHORT-GI-40] logger_syslog=1
logger_syslog_level=0
logger_stdout=-1
logger_stdout_level=0
debug=1
ctrl_interface_group=0

Quoted 8 lines

macaddr_acl=0
auth_algs=1
dump_file=/tmp/hostapd.dump
ssid=norbolataska
wpa=2
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP CCMP
rsn_pairwise=TKIP CCMP

Remove TKIP, 11n and TKIP are not friends. I forget the details but I think the spec doesn't allow for it.

Luis

#2 lore raw

Hello Luis!

Luis R. Rodriguez wrote:

[...]

Quoted 5 lines
Quoted 2 lines

wpa_pairwise=TKIP CCMP
rsn_pairwise=TKIP CCMP

Remove TKIP, 11n and TKIP are not friends. I forget the details but I think the spec doesn't allow for it.

Many thanks! This seems to solve my problem, without TKIP in WPA mode the clients connect seamlessly. By the way, I ask our tester to perform another thorough test with many clients...

Best regards,

Signature · 2 lines
Tamas Selmeci
R&D Engineer