ath: Copy key cache management functions from ath9k to ath
authorBruno Randolf <br1@einfach.org>
Wed, 8 Sep 2010 07:04:38 +0000 (16:04 +0900)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 16 Sep 2010 19:19:45 +0000 (15:19 -0400)
commit1bba5b7329e15555dab90071b24ca84d0afcc635
treeb9a60505fb9f88bac588694be1fd9d5dc7836c61
parent34a1305137f484ee1806df5a00b9d8ee8d4ef758
ath: Copy key cache management functions from ath9k to ath

Copied the key cache management functions from ath9k (common.c and hw.c) to
ath/key.c so we can use them from ath5k, later.

Minor changes have been made:
 - renamed ath9k_* to ath_*
 - replaced ah->caps.keycache_size with common->keymax
 - removed ATH9K_IS_MIC_ENABLED since it is always true.
 - the AR_PCU_MIC_NEW_LOC_ENA flag is replaced with (splitmic == 0).

Signed-off-by: Bruno Randolf <br1@einfach.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/Makefile
drivers/net/wireless/ath/ath.h
drivers/net/wireless/ath/key.c [new file with mode: 0644]
drivers/net/wireless/ath/reg.h