qcacmn: Code cleanup for connection manager Macro
Code cleanup for connection manager Macro. Change-Id: I1526187e5efc6f4e38265d617c0342b4c1ea1228 CRs-Fixed: 2978727
This commit is contained in:

committed by
Madan Koyyalamudi

parent
35de216ce0
commit
04a8eb2045
@@ -24,7 +24,6 @@
|
||||
#ifndef __OSIF_CM_REQ_H
|
||||
#define __OSIF_CM_REQ_H
|
||||
|
||||
#ifdef FEATURE_CM_ENABLE
|
||||
#include "qdf_status.h"
|
||||
#include "wlan_cm_public_struct.h"
|
||||
#include <net/cfg80211.h>
|
||||
@@ -100,5 +99,4 @@ int osif_cm_disconnect(struct net_device *dev, struct wlan_objmgr_vdev *vdev,
|
||||
*/
|
||||
int osif_cm_disconnect_sync(struct wlan_objmgr_vdev *vdev, uint16_t reason);
|
||||
|
||||
#endif
|
||||
#endif /* __OSIF_CM_REQ_H */
|
||||
|
@@ -68,7 +68,6 @@ osif_cm_qca_reason_to_str(enum qca_disconnect_reason_codes reason);
|
||||
enum qca_disconnect_reason_codes
|
||||
osif_cm_mac_to_qca_reason(enum wlan_reason_code internal_reason);
|
||||
|
||||
#ifdef FEATURE_CM_ENABLE
|
||||
/**
|
||||
* osif_cm_register_cb() - API to register connection manager
|
||||
* callbacks.
|
||||
@@ -440,21 +439,4 @@ void osif_cm_set_legacy_cb(struct osif_cm_ops *osif_legacy_ops);
|
||||
*/
|
||||
void osif_cm_reset_legacy_cb(void);
|
||||
|
||||
#else
|
||||
static inline QDF_STATUS osif_cm_osif_priv_init(struct wlan_objmgr_vdev *vdev)
|
||||
{
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
static inline QDF_STATUS osif_cm_osif_priv_deinit(struct wlan_objmgr_vdev *vdev)
|
||||
{
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
static inline QDF_STATUS osif_cm_register_cb(void)
|
||||
{
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __OSIF_CM_UTIL_H */
|
||||
|
@@ -24,7 +24,6 @@
|
||||
#ifndef __OSIF_CM_RSP_H
|
||||
#define __OSIF_CM_RSP_H
|
||||
|
||||
#ifdef FEATURE_CM_ENABLE
|
||||
#include "wlan_objmgr_vdev_obj.h"
|
||||
#include "wlan_cm_public_struct.h"
|
||||
|
||||
@@ -135,5 +134,4 @@ osif_indicate_reassoc_results(struct wlan_objmgr_vdev *vdev,
|
||||
QDF_STATUS osif_failed_candidate_handler(struct wlan_objmgr_vdev *vdev,
|
||||
struct wlan_cm_connect_resp *rsp);
|
||||
|
||||
#endif /* FEATURE_CM_ENABLE */
|
||||
#endif /* __OSIF_CM_RSP_H */
|
||||
|
@@ -160,7 +160,6 @@ osif_cm_mac_to_qca_reason(enum wlan_reason_code internal_reason)
|
||||
return reason;
|
||||
}
|
||||
|
||||
#ifdef FEATURE_CM_ENABLE
|
||||
static struct osif_cm_ops *osif_cm_legacy_ops;
|
||||
|
||||
void osif_cm_reset_id_and_src_no_lock(struct vdev_osif_priv *osif_priv)
|
||||
@@ -634,4 +633,3 @@ void osif_cm_reset_legacy_cb(void)
|
||||
{
|
||||
osif_cm_legacy_ops = NULL;
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user