Skip to contentSkip to conversation

hwcrypt issue with rt73usb

DISCUSSION Andre Kuehne 2 participants 2 messages Jan 8, 2011

lore
Share & tools
lore
#0 lore raw

Hi

I use a USB WLAN Stick (model: TP-LINK TL-WN321G) with hostapd. With kernel26-2.6.36 this setup is not working anymore.
The interface is up and if I try to connect with another client WPA handshake also seems to work, but the IP configuration via DHCP fails.

After downgrading to kernel26-2.6.35 the connection works fine again.

On #linux-wireless it was suggested to test with nohwcrypt and indeed after

modprobe rt73usb nohwcrypt=1

the connection worked fine again under kernel26-2.6.36.

Quoted 1 line

lsusb

...
Bus 001 Device 003: ID 148f:2573 Ralink Technology, Corp. RT2501/RT2573 Wireless Adapter
...

Quoted 1 line

lsmod

...
rt73usb 21779 0
rt2500usb 17334 0
rt2x00usb 7597 2 rt73usb,rt2500usb
rt2x00lib 25013 3 rt73usb,rt2500usb,rt2x00usb
mac80211 189270 2 rt2x00usb,rt2x00lib
cfg80211 144231 2 rt2x00lib,mac80211
...

Quoted 1 line

cat /etc/hostapd/hostapd.conf

...
interface=wlan0
bridge=br0
driver=nl80211
country_code=DE
ieee80211d=1
hw_mode=g
beacon_int=100
dtim_period=2
max_num_sta=255
rts_threshold=2347
fragm_threshold=2346
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=2
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
...

Quoted 1 line

grep hostap /var/log/messages.log

... authenticated
... associated (aid 1)
... RADIUS: starting accounting session 4CFD0763-000001A0 ... WPA: pairwise key handshake completed (RSN)
...

Please let me know if you are interested in more details or if I could otherwise help in testing etc.

Best regards
Andre