summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/carl9170/mac.c
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@googlemail.com>2012-09-02 14:25:50 +0200
committerJohn W. Linville <linville@tuxdriver.com>2012-09-24 15:02:08 -0400
commite37b674156b9d5cd87025f0b4719d60e4ac6060c (patch)
tree749c6cfc0747e631540bbdc5fe50751b28d945cf /drivers/net/wireless/ath/carl9170/mac.c
parent960334a7d33ecd54ba5337275dc4ea701d1dbf5e (diff)
carl9170: connect to 11w protected networks
Previously, it was not possible to connect to networks which requires 11w to be supported by the stations. While the documentation hints that there's some hardware support for offloading MFP "decryption", this simple implementation relies on the mac80211 stack to do the actual crypto operations. Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/carl9170/mac.c')
-rw-r--r--drivers/net/wireless/ath/carl9170/mac.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/carl9170/mac.c b/drivers/net/wireless/ath/carl9170/mac.c
index f8676280dc36..e3b1b6e87760 100644
--- a/drivers/net/wireless/ath/carl9170/mac.c
+++ b/drivers/net/wireless/ath/carl9170/mac.c
@@ -304,7 +304,8 @@ int carl9170_set_operating_mode(struct ar9170 *ar)
struct ath_common *common = &ar->common;
u8 *mac_addr, *bssid;
u32 cam_mode = AR9170_MAC_CAM_DEFAULTS;
- u32 enc_mode = AR9170_MAC_ENCRYPTION_DEFAULTS;
+ u32 enc_mode = AR9170_MAC_ENCRYPTION_DEFAULTS |
+ AR9170_MAC_ENCRYPTION_MGMT_RX_SOFTWARE;
u32 rx_ctrl = AR9170_MAC_RX_CTRL_DEAGG |
AR9170_MAC_RX_CTRL_SHORT_FILTER;
u32 sniffer = AR9170_MAC_SNIFFER_DEFAULTS;