qcacmn: Add dependency of blacklist manager macro at WMI layer

The blacklist manager macro is connection manager specific, whereas
the macros used at WMI is dependent on roam offload.
Hence mark of dependency of FEATURE_BLACKLIST_MGR on
WLAN_FEATURE_ROAM_OFFLOAD.

Change-Id: If48b701a450d34915d57780a274311aa2590c89a
CRs-Fixed: 2746160
This commit is contained in:
Santosh Anbu
2020-08-03 17:15:15 +05:30
committed by snandini
parent 4dd08941dd
commit 6315ce5dd1
4 changed files with 5 additions and 5 deletions

View File

@@ -429,7 +429,7 @@ QDF_STATUS (*send_d0wow_disable_cmd)(wmi_unified_t wmi_handle,
uint8_t mac_id); uint8_t mac_id);
#endif #endif
#ifdef FEATURE_BLACKLIST_MGR #if defined(WLAN_FEATURE_ROAM_OFFLOAD) && defined(FEATURE_BLACKLIST_MGR)
QDF_STATUS QDF_STATUS
(*send_reject_ap_list_cmd)(struct wmi_unified *wmi_handle, (*send_reject_ap_list_cmd)(struct wmi_unified *wmi_handle,
struct reject_ap_params *reject_params); struct reject_ap_params *reject_params);
@@ -2747,7 +2747,7 @@ void wmi_policy_mgr_attach_tlv(struct wmi_unified *wmi_handle)
} }
#endif #endif
#ifdef FEATURE_BLACKLIST_MGR #if defined(WLAN_FEATURE_ROAM_OFFLOAD) && defined(FEATURE_BLACKLIST_MGR)
void wmi_blacklist_mgr_attach_tlv(struct wmi_unified *wmi_handle); void wmi_blacklist_mgr_attach_tlv(struct wmi_unified *wmi_handle);
#else #else
static inline static inline

View File

@@ -72,7 +72,7 @@ QDF_STATUS
wmi_unified_vdev_set_gtx_cfg_cmd(wmi_unified_t wmi_handle, uint32_t if_id, wmi_unified_vdev_set_gtx_cfg_cmd(wmi_unified_t wmi_handle, uint32_t if_id,
struct wmi_gtx_config *gtx_info); struct wmi_gtx_config *gtx_info);
#ifdef FEATURE_BLACKLIST_MGR #if defined(WLAN_FEATURE_ROAM_OFFLOAD) && defined(FEATURE_BLACKLIST_MGR)
/** /**
* wmi_unified_send_reject_ap_list() - send the reject ap list maintained by * wmi_unified_send_reject_ap_list() - send the reject ap list maintained by
* BLM to FW for roaming cases. * BLM to FW for roaming cases.

View File

@@ -181,7 +181,7 @@ QDF_STATUS wmi_extract_vdev_tdls_ev_param(wmi_unified_t wmi_handle,
} }
#endif /* FEATURE_WLAN_TDLS */ #endif /* FEATURE_WLAN_TDLS */
#ifdef FEATURE_BLACKLIST_MGR #if defined(WLAN_FEATURE_ROAM_OFFLOAD) && defined(FEATURE_BLACKLIST_MGR)
QDF_STATUS QDF_STATUS
wmi_unified_send_reject_ap_list(struct wmi_unified *wmi_handle, wmi_unified_send_reject_ap_list(struct wmi_unified *wmi_handle,
struct reject_ap_params *reject_params) struct reject_ap_params *reject_params)

View File

@@ -1098,7 +1098,7 @@ static QDF_STATUS send_set_base_macaddr_indicate_cmd_tlv(wmi_unified_t wmi_handl
return 0; return 0;
} }
#ifdef FEATURE_BLACKLIST_MGR #if defined(WLAN_FEATURE_ROAM_OFFLOAD) && defined(FEATURE_BLACKLIST_MGR)
static WMI_BSSID_DISALLOW_LIST_TYPE static WMI_BSSID_DISALLOW_LIST_TYPE
wmi_get_wmi_reject_ap_type(enum blm_reject_ap_type reject_ap_type) wmi_get_wmi_reject_ap_type(enum blm_reject_ap_type reject_ap_type)