qcacld-3.0: Send frames with GCMP MIC LEN if encryption is GCMP

CCMP and GCMP both have different lengths of their MIC part. MIC
length for CCMP is 8 bytes whereas it is 16 bytes for GCMP. When
encryption type is GCMP/GCMP-256, sending packets with CCMP MIC
length causes fw to drop the GCMP encrypted management packets
leading to connection issues.

Send GCMP encrypted frames with GCMP MIC length.

Change-Id: Ia83fa6ffde880fe69e5e4c3e3c3ce9c62ad8fa3c
CRs-Fixed: 2203224
diff --git a/core/wma/inc/wma.h b/core/wma/inc/wma.h
index c0a8962..fde60c7 100644
--- a/core/wma/inc/wma.h
+++ b/core/wma/inc/wma.h
@@ -925,6 +925,7 @@
  * @key_length: key length
  * @key: key
  * @key_id: key id
+ * @key_cipher: key type
  */
 typedef struct {
 	uint16_t key_length;
@@ -1074,6 +1075,7 @@
 	uint8_t rmfEnabled;
 #ifdef WLAN_FEATURE_11W
 	wma_igtk_key_t key;
+	uint32_t ucast_key_cipher;
 #endif /* WLAN_FEATURE_11W */
 	uint32_t uapsd_cached_val;
 	tAniGetPEStatsRsp *stats_rsp;