]> git.karo-electronics.de Git - mv-sheeva.git/commit
ath5k: Use common ath key management functions
authorBruno Randolf <br1@einfach.org>
Wed, 8 Sep 2010 07:04:43 +0000 (16:04 +0900)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 16 Sep 2010 19:19:45 +0000 (15:19 -0400)
commite0f8c2a9b879e1e65d588a40a3c88db69a7d6956
tree414c5fb35665de34c8d56015887d73b48f30501f
parent1bba5b7329e15555dab90071b24ca84d0afcc635
ath5k: Use common ath key management functions

Use common ath key management functions in ath5k. This fixes problems with HW
encryption in AP mode, which was broken in the ath5k implementation.

Before (with the ath5k implementation) only one client could connect to the AP
using HW encryption and WPA. When a second client connected, the first client
was not able to send/receive any more packets. Because of the problems with HW
encryption, software encryption was always used in AP mode, which resulted in a
high CPU load (and/or low thruput) on embedded devices. Instead of trying to
fix the implementation in ath5k it makes more sense to share the code with
ath9k.

This also enables HW encryption for AP mode again.

Signed-off-by: Bruno Randolf <br1@einfach.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/attach.c
drivers/net/wireless/ath/ath5k/base.c