mwl8k: Enable HW encryption for AP mode
authorNishant Sarmukadam <nishants@marvell.com>
Thu, 30 Dec 2010 19:23:34 +0000 (11:23 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 19 Jan 2011 16:36:06 +0000 (11:36 -0500)
commitfcdc403c31ed5bb5f3baf42f4e2b5e7198fef0c0
tree640df7e8adbab046ddf2115f185b86d8b586ec89
parentd9a07d4980514e701555c4f03b865a54c4c48b4a
mwl8k: Enable HW encryption for AP mode

set_key callback is defined for mac80211 to install keys for HW crypto in AP
mode. Driver currently falls back to SW crypto in STA mode.  Add support to
configure the keys appropriately in the hardware after the set_key routine is
called.

Signed-off-by: Nishant Sarmukadam <nishants@marvell.com>
Signed-off-by: Pradeep Nemavat <pnemavat@marvell.com>
Signed-off-by: Thomas Pedersen <thomas@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwl8k.c