[qca-nss-drv] C2C fix for running IPsec

The changes fixes the following
- C2C enum mismatch which caused the TX_MAP not being programmed at FW
- IPsec API register problem which resulted in NULL context
- DEBUG enabled driver fails compilation issue

CRs-Fixed:657386

Change-Id: I2bb583859ade69e8bf7383c2132bdedde5e6b0cc
Signed-off-by: Samarjeet Banerjee <banerjee@codeaurora.org>
diff --git a/nss_crypto.c b/nss_crypto.c
index d58c7ce..fe44ba6 100644
--- a/nss_crypto.c
+++ b/nss_crypto.c
@@ -73,7 +73,7 @@
 	nss_crypto_buf_callback_t cb = nss_top->crypto_buf_callback;
 
 	if (unlikely(!cb)) {
-		nss_crypto_trace("%p: rx data handler has been unregistered for i/f: %d", nss_ctx, ncm->interface);
+		nss_crypto_trace("%p: rx data handler has been unregistered for i/f", nss_ctx);
 		return;
 	}
 
@@ -186,6 +186,9 @@
 		return NSS_TX_FAILURE;
 	}
 
+	nss_crypto_info("msg params version:%d, interface:%d, type:%d, cb:%d, app_data:%d, len:%d\n",
+			ncm->version, ncm->interface, ncm->type, ncm->cb, ncm->app_data, ncm->len);
+
 	nim = (struct nss_crypto_msg *)skb_put(nbuf, sizeof(struct nss_crypto_msg));
 	memcpy(nim, msg, sizeof(struct nss_crypto_msg));