qcacld-3.0: crypto convergence support for SET KEY

Make changes to the legacy code to support the
new SET KEY converged infrastructure.

Change-Id: Ic5359e3a9035ac5f2a937a9a1013fa92764cda9d
CRs-Fixed: 2358795
diff --git a/core/wma/inc/wma.h b/core/wma/inc/wma.h
index 53266bd..df34bce 100644
--- a/core/wma/inc/wma.h
+++ b/core/wma/inc/wma.h
@@ -2579,4 +2579,28 @@
  */
 struct wlan_objmgr_psoc *wma_get_psoc_from_scn_handle(void *scn_handle);
 
+#ifdef CRYPTO_SET_KEY_CONVERGED
+/**
+ * wma_update_set_key() - Update WMA layer for set key
+ * @session_id: vdev session identifier
+ * @pairwise: denotes if it is pairwise or group key
+ * @key_index: Key Index
+ * @cipher_type: cipher type being used for the encryption/decryption
+ *
+ * Return: None
+ */
+void wma_update_set_key(uint8_t session_id, bool pairwise,
+			uint8_t key_index,
+			enum wlan_crypto_cipher_type cipher_type);
+#endif
+
+/**
+ * wma_get_igtk() - Get the IGTK that was stored in the session earlier
+ * @iface: Interface for which the key is being requested
+ * @key_len: key length
+ *
+ * Return: Pointer to the key
+ */
+uint8_t *wma_get_igtk(struct wma_txrx_node *iface, uint16_t *key_len);
+
 #endif