qcacmn: modularize interface manager header files
Enable modularization of interface manager header files. Change-Id: I9c7f1ffe662ecc6fe793972fde235c6c79667e62 CRs-Fixed: 2801746
Цей коміт міститься в:

зафіксовано
snandini

джерело
4cd10d00e3
коміт
cc9cfde56b
@@ -21,6 +21,8 @@
|
||||
#ifndef _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_vdev_obj.h"
|
||||
#include "wlan_if_mgr_public_struct.h"
|
||||
@@ -36,5 +38,13 @@
|
||||
QDF_STATUS if_mgr_deliver_event(struct wlan_objmgr_vdev *vdev,
|
||||
enum wlan_if_mgr_evt event,
|
||||
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
|
||||
|
@@ -21,6 +21,8 @@
|
||||
#ifndef _WLAN_IF_MGR_MAIN_API_H_
|
||||
#define _WLAN_IF_MGR_MAIN_API_H_
|
||||
|
||||
#ifdef WLAN_FEATURE_INTERFACE_MGR
|
||||
|
||||
#include <qdf_atomic.h>
|
||||
#include <wlan_objmgr_psoc_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,
|
||||
void *arg_list);
|
||||
|
||||
/**
|
||||
* wlan_scan_psoc_deleted_notification() - scan psoc delete handler
|
||||
* @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,
|
||||
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
|
||||
|
Посилання в новій задачі
Заблокувати користувача