aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/patches/100-remove-cryptoapi-dependencies.patch
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2018-06-22 09:43:56 +0200
committerJohn Crispin <john@phrozen.org>2018-06-22 09:43:56 +0200
commitcac1a4be66f548735878beccc10dc4b1ec7ad364 (patch)
tree29456ac05cb629f1618faca2d94763696950e3d2 /package/kernel/mac80211/patches/100-remove-cryptoapi-dependencies.patch
parent134e832814f1986c7ee06ac00806ebb6e762fd15 (diff)
downloadupstream-cac1a4be66f548735878beccc10dc4b1ec7ad364.tar.gz
upstream-cac1a4be66f548735878beccc10dc4b1ec7ad364.tar.bz2
upstream-cac1a4be66f548735878beccc10dc4b1ec7ad364.zip
mac80211: drop 355-ath9k-limit-retries-for-powersave-response-frames.patch
several people reported this bug to be causing drop out issues Signed-off-by: John Crispin <john@phrozen.org>
Diffstat (limited to 'package/kernel/mac80211/patches/100-remove-cryptoapi-dependencies.patch')
-rw-r--r--package/kernel/mac80211/patches/100-remove-cryptoapi-dependencies.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/package/kernel/mac80211/patches/100-remove-cryptoapi-dependencies.patch b/package/kernel/mac80211/patches/100-remove-cryptoapi-dependencies.patch
index aa44149aed..8d7a39a6df 100644
--- a/package/kernel/mac80211/patches/100-remove-cryptoapi-dependencies.patch
+++ b/package/kernel/mac80211/patches/100-remove-cryptoapi-dependencies.patch
@@ -173,7 +173,8 @@
#define AES_CCM_H
-#include "aead_api.h"
--
++#include <linux/crypto.h>
+
-#define CCM_AAD_LEN 32
-
-static inline struct crypto_aead *
@@ -201,8 +202,7 @@
- be16_to_cpup((__be16 *)aad),
- data, data_len, mic);
-}
-+#include <linux/crypto.h>
-
+-
-static inline void ieee80211_aes_key_free(struct crypto_aead *tfm)
-{
- return aead_key_free(tfm);
@@ -338,10 +338,10 @@
#define AES_GCM_H
-#include "aead_api.h"
--
--#define GCM_AAD_LEN 32
+#include <linux/crypto.h>
+-#define GCM_AAD_LEN 32
+-
-static inline int ieee80211_aes_gcm_encrypt(struct crypto_aead *tfm,
- u8 *j_0, u8 *aad, u8 *data,
- size_t data_len, u8 *mic)