qcacmn: modularize interface manager header files
Enable modularization of interface manager header files. Change-Id: I9c7f1ffe662ecc6fe793972fde235c6c79667e62 CRs-Fixed: 2801746
这个提交包含在:
@@ -80,11 +80,7 @@
|
|||||||
#ifdef DCS_INTERFERENCE_DETECTION
|
#ifdef DCS_INTERFERENCE_DETECTION
|
||||||
#include <wlan_dcs_init_deinit_api.h>
|
#include <wlan_dcs_init_deinit_api.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef WLAN_FEATURE_INTERFACE_MGR
|
|
||||||
#include <wlan_if_mgr_main.h>
|
#include <wlan_if_mgr_main.h>
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <wlan_gpio_api.h>
|
#include <wlan_gpio_api.h>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -868,7 +864,6 @@ static QDF_STATUS fd_psoc_disable(struct wlan_objmgr_psoc *psoc)
|
|||||||
}
|
}
|
||||||
#endif /* WLAN_SUPPORT_FILS */
|
#endif /* WLAN_SUPPORT_FILS */
|
||||||
|
|
||||||
#ifdef WLAN_FEATURE_INTERFACE_MGR
|
|
||||||
static QDF_STATUS dispatcher_if_mgr_init(void)
|
static QDF_STATUS dispatcher_if_mgr_init(void)
|
||||||
{
|
{
|
||||||
return wlan_if_mgr_init();
|
return wlan_if_mgr_init();
|
||||||
@@ -878,17 +873,6 @@ static QDF_STATUS dispatcher_if_mgr_deinit(void)
|
|||||||
{
|
{
|
||||||
return wlan_if_mgr_deinit();
|
return wlan_if_mgr_deinit();
|
||||||
}
|
}
|
||||||
#else
|
|
||||||
static QDF_STATUS dispatcher_if_mgr_init(void)
|
|
||||||
{
|
|
||||||
return QDF_STATUS_SUCCESS;
|
|
||||||
}
|
|
||||||
|
|
||||||
static QDF_STATUS dispatcher_if_mgr_deinit(void)
|
|
||||||
{
|
|
||||||
return QDF_STATUS_SUCCESS;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef FEATURE_COEX
|
#ifdef FEATURE_COEX
|
||||||
static QDF_STATUS dispatcher_coex_init(void)
|
static QDF_STATUS dispatcher_coex_init(void)
|
||||||
|
@@ -21,6 +21,8 @@
|
|||||||
#ifndef _WLAN_IF_MGR_API_H_
|
#ifndef _WLAN_IF_MGR_API_H_
|
||||||
#define _WLAN_IF_MGR_API_H_
|
#define _WLAN_IF_MGR_API_H_
|
||||||
|
|
||||||
|
#ifdef WLAN_FEATURE_INTERFACE_MGR
|
||||||
|
|
||||||
#include "wlan_objmgr_psoc_obj.h"
|
#include "wlan_objmgr_psoc_obj.h"
|
||||||
#include "wlan_objmgr_vdev_obj.h"
|
#include "wlan_objmgr_vdev_obj.h"
|
||||||
#include "wlan_if_mgr_public_struct.h"
|
#include "wlan_if_mgr_public_struct.h"
|
||||||
@@ -36,5 +38,13 @@
|
|||||||
QDF_STATUS if_mgr_deliver_event(struct wlan_objmgr_vdev *vdev,
|
QDF_STATUS if_mgr_deliver_event(struct wlan_objmgr_vdev *vdev,
|
||||||
enum wlan_if_mgr_evt event,
|
enum wlan_if_mgr_evt event,
|
||||||
struct if_mgr_event_data *event_data);
|
struct if_mgr_event_data *event_data);
|
||||||
|
#else
|
||||||
|
QDF_STATUS if_mgr_deliver_event(struct wlan_objmgr_vdev *vdev,
|
||||||
|
enum wlan_if_mgr_evt event,
|
||||||
|
struct if_mgr_event_data *event_data)
|
||||||
|
{
|
||||||
|
|
||||||
|
return QDF_STATUS_SUCCESS;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
@@ -21,6 +21,8 @@
|
|||||||
#ifndef _WLAN_IF_MGR_MAIN_API_H_
|
#ifndef _WLAN_IF_MGR_MAIN_API_H_
|
||||||
#define _WLAN_IF_MGR_MAIN_API_H_
|
#define _WLAN_IF_MGR_MAIN_API_H_
|
||||||
|
|
||||||
|
#ifdef WLAN_FEATURE_INTERFACE_MGR
|
||||||
|
|
||||||
#include <qdf_atomic.h>
|
#include <qdf_atomic.h>
|
||||||
#include <wlan_objmgr_psoc_obj.h>
|
#include <wlan_objmgr_psoc_obj.h>
|
||||||
#include <wlan_objmgr_pdev_obj.h>
|
#include <wlan_objmgr_pdev_obj.h>
|
||||||
@@ -89,7 +91,6 @@ QDF_STATUS wlan_if_mgr_deinit(void);
|
|||||||
*/
|
*/
|
||||||
QDF_STATUS wlan_if_mgr_psoc_created_notification(struct wlan_objmgr_psoc *psoc,
|
QDF_STATUS wlan_if_mgr_psoc_created_notification(struct wlan_objmgr_psoc *psoc,
|
||||||
void *arg_list);
|
void *arg_list);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* wlan_scan_psoc_deleted_notification() - scan psoc delete handler
|
* wlan_scan_psoc_deleted_notification() - scan psoc delete handler
|
||||||
* @psoc: psoc object
|
* @psoc: psoc object
|
||||||
@@ -99,5 +100,15 @@ QDF_STATUS wlan_if_mgr_psoc_created_notification(struct wlan_objmgr_psoc *psoc,
|
|||||||
*/
|
*/
|
||||||
QDF_STATUS wlan_if_mgr_psoc_destroyed_notification(struct wlan_objmgr_psoc *psoc,
|
QDF_STATUS wlan_if_mgr_psoc_destroyed_notification(struct wlan_objmgr_psoc *psoc,
|
||||||
void *arg_list);
|
void *arg_list);
|
||||||
|
#else
|
||||||
|
inline QDF_STATUS wlan_if_mgr_init(void)
|
||||||
|
{
|
||||||
|
return QDF_STATUS_SUCCESS;
|
||||||
|
}
|
||||||
|
|
||||||
|
QDF_STATUS wlan_if_mgr_deinit(void)
|
||||||
|
{
|
||||||
|
return QDF_STATUS_SUCCESS;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
在新工单中引用
屏蔽一个用户