[qca-nss-drv] Add support for gre standard

 Support for GRE standard

Change-Id: Ia093940c4ec1713a589b837d934b65771f2671e0
Signed-off-by: ratheesh kannoth <rkannoth@codeaurora.org>
diff --git a/nss_wifi.c b/nss_wifi.c
index da48f09..f0a3b17 100644
--- a/nss_wifi.c
+++ b/nss_wifi.c
@@ -71,6 +71,14 @@
 	spin_unlock_bh(&nss_top->stats_lock);
 }
 
+/*
+ * nss_wifi_get_context()
+ *	Get NSS context of Wifi.
+ */
+struct nss_ctx_instance *nss_wifi_get_context()
+{
+	return (struct nss_ctx_instance *)&nss_top_main.nss[nss_top_main.wifi_handler_id];
+}
 
 /*
  * nss_wifi_handler()
@@ -269,6 +277,7 @@
 	nss_core_register_handler(NSS_WIFI_INTERFACE2, nss_wifi_handler, NULL);
 }
 
+EXPORT_SYMBOL(nss_wifi_get_context);
 EXPORT_SYMBOL(nss_wifi_tx_msg);
 EXPORT_SYMBOL(nss_register_wifi_if);
 EXPORT_SYMBOL(nss_unregister_wifi_if);