mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
qcacld-3.0: Change beacon tx WMI API under feature flag
Add feature flag WLAN_WMI_BCN to compile Beacon tx APIs selectively. Change-Id: Ie2b4ad0ae7a7c6de7286ed0b215084060a4f34c6 CRs-Fixed: 2483531
This commit is contained in:
parent
a1ab99134e
commit
03e080c45a
5 changed files with 8 additions and 5 deletions
3
Kbuild
3
Kbuild
|
|
@ -1214,6 +1214,7 @@ endif
|
|||
|
||||
ifeq ($(CONFIG_WMI_BCN_OFFLOAD), y)
|
||||
WMI_OBJS += $(WMI_OBJ_DIR)/wmi_unified_bcn_api.o
|
||||
WMI_OBJS += $(WMI_OBJ_DIR)/wmi_unified_bcn_tlv.o
|
||||
endif
|
||||
|
||||
########### FWLOG ###########
|
||||
|
|
@ -2359,6 +2360,8 @@ else
|
|||
cppflags-$(CONFIG_WLAN_OPEN_P2P_INTERFACE) += -DWLAN_OPEN_P2P_INTERFACE
|
||||
endif
|
||||
|
||||
cppflags-$(CONFIG_WMI_BCN_OFFLOAD) += -DWLAN_WMI_BCN
|
||||
|
||||
#Enable wbuff
|
||||
cppflags-$(CONFIG_WLAN_WBUFF) += -DWLAN_FEATURE_WBUFF
|
||||
|
||||
|
|
|
|||
|
|
@ -684,7 +684,7 @@ uint32_t wma_get_bcn_rate_code(uint16_t rate);
|
|||
/*
|
||||
* wma_mgmt.c functions declarations
|
||||
*/
|
||||
#ifdef CONFIG_WMI_BCN_OFFLOAD
|
||||
#ifdef WLAN_WMI_BCN
|
||||
int wma_beacon_swba_handler(void *handle, uint8_t *event, uint32_t len);
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -2965,7 +2965,7 @@ void wma_wmi_stop(void)
|
|||
wmi_stop(wma_handle->wmi_handle);
|
||||
}
|
||||
|
||||
#ifdef CONFIG_WMI_BCN_OFFLOAD
|
||||
#ifdef WLAN_WMI_BCN
|
||||
static QDF_STATUS
|
||||
wma_register_swba_events(wmi_unified_t wmi_handle)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@
|
|||
*
|
||||
* Return: none
|
||||
*/
|
||||
#ifdef CONFIG_WMI_BCN_OFFLOAD
|
||||
#ifdef WLAN_WMI_BCN
|
||||
static void wma_send_bcn_buf_ll(tp_wma_handle wma,
|
||||
struct cdp_pdev *pdev,
|
||||
uint8_t vdev_id,
|
||||
|
|
@ -264,7 +264,7 @@ wma_send_bcn_buf_ll(tp_wma_handle wma,
|
|||
*
|
||||
* Return: 0 for success or error code
|
||||
*/
|
||||
#ifdef CONFIG_WMI_BCN_OFFLOAD
|
||||
#ifdef WLAN_WMI_BCN
|
||||
int wma_beacon_swba_handler(void *handle, uint8_t *event, uint32_t len)
|
||||
{
|
||||
tp_wma_handle wma = (tp_wma_handle) handle;
|
||||
|
|
|
|||
|
|
@ -1250,7 +1250,7 @@ QDF_STATUS wma_process_tx_power_limits(WMA_HANDLE handle,
|
|||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_WMI_BCN_OFFLOAD
|
||||
#ifdef WLAN_WMI_BCN
|
||||
/**
|
||||
* wma_add_p2p_ie() - add p2p IE
|
||||
* @frm: ptr where p2p ie needs to add
|
||||
|
|
|
|||
Loading…
Reference in a new issue