summaryrefslogtreecommitdiff
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:45:43 +0200
commit6e4fb77f9e3fb2a80759bdf987eadd2b1ffa84ad (patch)
tree22f87184fc1e9385e2af610bae20185b859a9433 /package/kernel/mac80211/patches/100-remove-cryptoapi-dependencies.patch
parent642acc0fb072aacc039434e206627afc3b59c754 (diff)
downloadmtk-20170518-6e4fb77f9e3fb2a80759bdf987eadd2b1ffa84ad.zip
mtk-20170518-6e4fb77f9e3fb2a80759bdf987eadd2b1ffa84ad.tar.gz
mtk-20170518-6e4fb77f9e3fb2a80759bdf987eadd2b1ffa84ad.tar.bz2
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> (cherry picked from commit cac1a4be66f548735878beccc10dc4b1ec7ad364)
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 aa44149..8d7a39a 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)