diff options
author | Jouni Malinen <jouni@qca.qualcomm.com> | 2015-01-24 12:52:06 -0500 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2015-01-27 05:06:09 -0500 |
commit | 00b9cfa3ff38401bd70c34b250ca13e5ea347b4a (patch) | |
tree | 1c3564bf28a6f4b49140a5e023520a1dc658d5c6 /net/mac80211/rx.c | |
parent | cfcf1682c4ca8f601a4702255958e0b1c9aa12cc (diff) |
mac80111: Add GCMP and GCMP-256 ciphers
This allows mac80211 to configure GCMP and GCMP-256 to the driver and
also use software-implementation within mac80211 when the driver does
not support this with hardware accelaration.
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
[remove a spurious newline]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/rx.c')
-rw-r--r-- | net/mac80211/rx.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c index ed516ae80a3b..a11d2518c365 100644 --- a/net/mac80211/rx.c +++ b/net/mac80211/rx.c | |||
@@ -1655,6 +1655,10 @@ ieee80211_rx_h_decrypt(struct ieee80211_rx_data *rx) | |||
1655 | case WLAN_CIPHER_SUITE_AES_CMAC: | 1655 | case WLAN_CIPHER_SUITE_AES_CMAC: |
1656 | result = ieee80211_crypto_aes_cmac_decrypt(rx); | 1656 | result = ieee80211_crypto_aes_cmac_decrypt(rx); |
1657 | break; | 1657 | break; |
1658 | case WLAN_CIPHER_SUITE_GCMP: | ||
1659 | case WLAN_CIPHER_SUITE_GCMP_256: | ||
1660 | result = ieee80211_crypto_gcmp_decrypt(rx); | ||
1661 | break; | ||
1658 | default: | 1662 | default: |
1659 | result = ieee80211_crypto_hw_decrypt(rx); | 1663 | result = ieee80211_crypto_hw_decrypt(rx); |
1660 | } | 1664 | } |