Переглянути джерело

qcacmn: Aggregation failure in PMF

Mismatch between structure ieee80211_cipher definition and initialize
order.miclen is taken as 0 instead of 8 because of wrong order.

CR Fixed: 2096266

Change-Id: Iadcdb971d3b09abee5b189e9882b2f5055d93b6c
Gurumoorthi Gnanasambandhan 7 роки тому
батько
коміт
527d2b2994
1 змінених файлів з 4 додано та 4 видалено
  1. 4 4
      umac/cmn_services/crypto/src/wlan_crypto_ccmp.c

+ 4 - 4
umac/cmn_services/crypto/src/wlan_crypto_ccmp.c

@@ -237,8 +237,8 @@ const struct wlan_crypto_cipher ccmp_cipher_table = {
 	"AES-CCM",
 	WLAN_CRYPTO_CIPHER_AES_CCM,
 	WLAN_CRYPTO_IV_LEN + WLAN_CRYPTO_KEYID_LEN + WLAN_CRYPTO_EXT_IV_LEN,
-	WLAN_CRYPTO_MIC_LEN,
 	0,
+	WLAN_CRYPTO_MIC_LEN,
 	128,
 	ccmp_setkey,
 	ccmp_encap,
@@ -252,8 +252,8 @@ const struct wlan_crypto_cipher ccmp256_cipher_table = {
 	"AES-CCM256",
 	WLAN_CRYPTO_CIPHER_AES_CCM_256,
 	WLAN_CRYPTO_IV_LEN + WLAN_CRYPTO_KEYID_LEN + WLAN_CRYPTO_EXT_IV_LEN,
-	WLAN_CRYPTO_MIC256_LEN,
 	0,
+	WLAN_CRYPTO_MIC256_LEN,
 	256,
 	ccmp_setkey,
 	ccmp_encap,
@@ -267,8 +267,8 @@ const struct wlan_crypto_cipher gcmp_cipher_table = {
 	"AES-GCM",
 	WLAN_CRYPTO_CIPHER_AES_GCM,
 	WLAN_CRYPTO_IV_LEN + WLAN_CRYPTO_KEYID_LEN + WLAN_CRYPTO_EXT_IV_LEN,
-	WLAN_CRYPTO_MIC_LEN,
 	0,
+	WLAN_CRYPTO_MIC_LEN,
 	128,
 	ccmp_setkey,
 	ccmp_encap,
@@ -282,8 +282,8 @@ const struct wlan_crypto_cipher gcmp256_cipher_table = {
 	"AES-GCM256",
 	WLAN_CRYPTO_CIPHER_AES_GCM_256,
 	WLAN_CRYPTO_IV_LEN + WLAN_CRYPTO_KEYID_LEN + WLAN_CRYPTO_EXT_IV_LEN,
-	WLAN_CRYPTO_MIC256_LEN,
 	0,
+	WLAN_CRYPTO_MIC256_LEN,
 	256,
 	ccmp_setkey,
 	ccmp_encap,