[qca-nss-clients] NETLINK client for HLOS API(s)

Adding support for NSS NETLINK interface. Current patch
supports
- IPv4 async messaging
- Makefile supports NETLINK for 3.4 & 3.10 Kernel

Change-Id: I1629c6a572984cd012499fdbb2c31b5870603f93
Signed-off-by: Samarjeet Banerjee <banerjee@codeaurora.org>
diff --git a/Makefile b/Makefile
index 758c48a..1ea1d2b 100644
--- a/Makefile
+++ b/Makefile
@@ -2,27 +2,40 @@
 
 ccflags-y := -I$(obj) -I$(obj)/..
 
-ifneq ($(findstring 3.4, $(KERNELVERSION)),)
-obj-m += qca-nss-tunipip6.o
-obj-m += qca-nss-ipsecmgr.o
+obj-y+= profiler/
+obj-y+= nss_qdisc/
 
+# CAPWAP Manager
+ifneq ($(findstring 3.4, $(KERNELVERSION)),)
+obj-y+= capwapmgr/
+endif
+
+#IPv6
+ifneq ($(findstring 3.4, $(KERNELVERSION)),)
+#Tun6RD
 ifeq "$(CONFIG_IPV6_SIT_6RD)" "y"
 obj-m += qca-nss-tun6rd.o
 qca-nss-tun6rd-objs := nss_connmgr_tun6rd.o
 ccflags-y += -DNSS_TUN6RD_DEBUG_LEVEL=0
 endif
 
+obj-m += qca-nss-tunipip6.o
 qca-nss-tunipip6-objs := nss_connmgr_tunipip6.o
 ccflags-y += -DNSS_TUNIPIP6_DEBUG_LEVEL=0
+endif
+
+#IPsec manager
+ifneq ($(or $(findstring 3.10, $(KERNELVERSION)),\
+	    $(findstring 3.4, $(KERNELVERSION))),)
+obj-m += qca-nss-ipsecmgr.o
 qca-nss-ipsecmgr-objs := nss_ipsecmgr.o
 ccflags-y += -DNSS_IPSECMGR_DEBUG_LEVEL=3
 endif
 
-obj-y+= profiler/
-obj-y+= nss_qdisc/
-
-ifneq ($(findstring 3.4, $(KERNELVERSION)),)
-obj-y+= capwapmgr/
+#NSS NETLINK
+ifneq ($(or $(findstring 3.10, $(KERNELVERSION)),\
+	    $(findstring 3.4, $(KERNELVERSION))),)
+obj-y+= netlink/
 endif
 
 obj ?= .