mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 14:13:01 -04:00
qcacld-3.0: Add global_lmac_if support for components
Add global_lmac_if support for components. Change-Id: I914447dccb1e005e25378d69ace02f06b9b5112b CRs-Fixed: 2002384
This commit is contained in:
parent
715f99dec7
commit
dad267ec7d
2 changed files with 19 additions and 9 deletions
14
Kbuild
14
Kbuild
|
|
@ -824,6 +824,14 @@ TARGET_IF_INC := -I$(WLAN_COMMON_INC)/target_if/core/inc \
|
|||
TARGET_IF_OBJ := $(TARGET_IF_DIR)/core/src/target_if_main.o \
|
||||
$(TARGET_IF_DIR)/init_deinit/src/service_ready_event_handler.o
|
||||
|
||||
########### GLOBAL_LMAC_IF ##########
|
||||
GLOBAL_LMAC_IF_DIR := $(WLAN_COMMON_ROOT)/global_lmac_if
|
||||
|
||||
GLOBAL_LMAC_IF_INC := -I$(WLAN_COMMON_INC)/global_lmac_if/inc \
|
||||
-I$(WLAN_COMMON_INC)/global_lmac_if/src
|
||||
|
||||
GLOBAL_LMAC_IF_OBJ := $(GLOBAL_LMAC_IF_DIR)/src/wlan_global_lmac_if.o
|
||||
|
||||
########### WMI ###########
|
||||
WMI_ROOT_DIR := wmi
|
||||
|
||||
|
|
@ -1155,7 +1163,8 @@ INCS := $(HDD_INC) \
|
|||
$(QDF_INC) \
|
||||
$(CDS_INC) \
|
||||
$(DFS_INC) \
|
||||
$(TARGET_IF_INC)
|
||||
$(TARGET_IF_INC) \
|
||||
$(GLOBAL_LMAC_IF_INC)
|
||||
|
||||
INCS += $(WMA_INC) \
|
||||
$(UAPI_INC) \
|
||||
|
|
@ -1223,7 +1232,8 @@ OBJS += $(WMA_OBJS) \
|
|||
OBJS += $(HIF_OBJS) \
|
||||
$(BMI_OBJS) \
|
||||
$(HTT_OBJS) \
|
||||
$(TARGET_IF_OBJ)
|
||||
$(TARGET_IF_OBJ) \
|
||||
$(GLOBAL_LMAC_IF_OBJ)
|
||||
|
||||
ifeq ($(CONFIG_LITHIUM), y)
|
||||
OBJS += $(HAL_OBJS)
|
||||
|
|
|
|||
|
|
@ -83,7 +83,7 @@
|
|||
#include "wlan_lmac_if_def.h"
|
||||
#include "wlan_lmac_if_api.h"
|
||||
#include "target_if.h"
|
||||
|
||||
#include "wlan_global_lmac_if_api.h"
|
||||
|
||||
#include <cdp_txrx_handle.h>
|
||||
#define WMA_LOG_COMPLETION_TIMER 10000 /* 10 seconds */
|
||||
|
|
@ -1835,12 +1835,12 @@ static void wma_target_if_open(tp_wma_handle wma_handle)
|
|||
if (!psoc)
|
||||
return;
|
||||
|
||||
wlan_lmac_if_assign_tx_registration_cb(WLAN_DEV_OL,
|
||||
wma_register_tx_ops_handler);
|
||||
wlan_global_lmac_if_set_txops_registration_cb(WLAN_DEV_OL,
|
||||
target_if_register_tx_ops);
|
||||
wlan_lmac_if_set_umac_txops_registration_cb(
|
||||
wma_register_tx_ops_handler);
|
||||
wlan_global_lmac_if_open(psoc);
|
||||
|
||||
wlan_lmac_if_open(psoc);
|
||||
|
||||
/* Register WMI event handler */
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -1856,7 +1856,7 @@ static void wma_target_if_close(tp_wma_handle wma_handle)
|
|||
if (!psoc)
|
||||
return;
|
||||
|
||||
wlan_lmac_if_close(psoc);
|
||||
wlan_global_lmac_if_close(psoc);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue