diff options
| author | Manikandan Mohan <manikand@qti.qualcomm.com> | 2013-12-12 02:41:48 -0800 |
|---|---|---|
| committer | Prakash Dhavali <pdhavali@qca.qualcomm.com> | 2014-01-11 15:17:10 -0800 |
| commit | b63d991fd861386900a2461583c029a4a35a206c (patch) | |
| tree | 619800993ceab34841f8093afe34d0fa4b56da91 /Makefile | |
| parent | f5cb66c579ed5c64689816f236a882e2dadff9b5 (diff) | |
qcacld: ipa: IPA interface module for CLD Driver
Current design uses passing all the data packets to Linux network
stack for routing the packets across interfaces. By doing this
host CPU is always busy in handling packet routing. With the
concept of IP Accelerator (IPA) interface, the IP packets are
sent to IPA for routing instead of sending to Linux Network
stack.
Change-Id: Ia464467eb75978dcc2a637428014a42c7af57e51
CRs-fixed: 595907
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 19 |
1 files changed, 18 insertions, 1 deletions
@@ -1,3 +1,7 @@ + +KERN_DIR ?= /lib/modules/$(shell uname -r)/build +-include $(KERN_DIR)/.config + # We can build either as part of a standalone Kernel build or part # of an Android build. Determine which mechanism is being used #ifeq ($(MODNAME),) @@ -126,6 +130,11 @@ CONFIG_CHECKSUM_OFFLOAD := 1 CONFIG_GTK_OFFLOAD := 1 endif +#Enable IPA offload +ifeq ($(CONFIG_IPA), y) +CONFIG_IPA_OFFLOAD := 1 +endif + ifeq ($(CONFIG_CFG80211),y) HAVE_CFG80211 := 1 else @@ -244,6 +253,10 @@ HDD_OBJS := $(HDD_SRC_DIR)/bap_hdd_main.o \ $(HDD_SRC_DIR)/wlan_hdd_wmm.o \ $(HDD_SRC_DIR)/wlan_hdd_wowl.o +ifeq ($(CONFIG_IPA_OFFLOAD), 1) +HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_ipa.o +endif + ifeq ($(HAVE_CFG80211),1) HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_cfg80211.o \ $(HDD_SRC_DIR)/wlan_hdd_p2p.o @@ -1053,6 +1066,11 @@ ifeq ($(CONFIG_CHECKSUM_OFFLOAD), 1) CDEFINES += -DCHECKSUM_OFFLOAD endif +#Enable Checksum Offload support +ifeq ($(CONFIG_IPA_OFFLOAD), 1) +CDEFINES += -DIPA_OFFLOAD -DHDD_IPA_USE_IPA_RM_TIMER +endif + #Enable GTK Offload ifeq ($(CONFIG_GTK_OFFLOAD), 1) CDEFINES += -DWLAN_FEATURE_GTK_OFFLOAD @@ -1074,7 +1092,6 @@ EXTRA_CFLAGS += $(CDEFINES) obj-m := $(MODNAME).o wlan-objs := $(OBJS) -KERN_DIR ?= /lib/modules/$(shell uname -r)/build PWD = $(shell pwd) all: |
