qcacmn: Featurize WLAN_FEATURE_LINK_LAYER_STATS
Featurize WLAN_FEATURE_LINK_LAYER_STATS to compile out in mission mode. Change-Id: I16b7ffe869f6e46736693a02b58954a50e31b03b CRs-Fixed: 2244583
This commit is contained in:
@@ -1860,6 +1860,7 @@ QDF_STATUS wmi_unified_set_ric_req_cmd(void *wmi_hdl, void *msg,
|
|||||||
return QDF_STATUS_E_FAILURE;
|
return QDF_STATUS_E_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef WLAN_FEATURE_LINK_LAYER_STATS
|
||||||
/**
|
/**
|
||||||
* wmi_unified_process_ll_stats_clear_cmd() - clear link layer stats
|
* wmi_unified_process_ll_stats_clear_cmd() - clear link layer stats
|
||||||
* @wmi_hdl: wmi handle
|
* @wmi_hdl: wmi handle
|
||||||
@@ -1900,6 +1901,7 @@ QDF_STATUS wmi_unified_process_ll_stats_get_cmd(void *wmi_hdl,
|
|||||||
|
|
||||||
return QDF_STATUS_E_FAILURE;
|
return QDF_STATUS_E_FAILURE;
|
||||||
}
|
}
|
||||||
|
#endif /* WLAN_FEATURE_LINK_LAYER_STATS */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* wmi_unified_congestion_request_cmd() - send request to fw to get CCA
|
* wmi_unified_congestion_request_cmd() - send request to fw to get CCA
|
||||||
@@ -1920,6 +1922,7 @@ QDF_STATUS wmi_unified_congestion_request_cmd(void *wmi_hdl,
|
|||||||
return QDF_STATUS_E_FAILURE;
|
return QDF_STATUS_E_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef WLAN_FEATURE_LINK_LAYER_STATS
|
||||||
/**
|
/**
|
||||||
* wmi_unified_process_ll_stats_set_cmd() - link layer stats set request
|
* wmi_unified_process_ll_stats_set_cmd() - link layer stats set request
|
||||||
* @wmi_handle: wmi handle
|
* @wmi_handle: wmi handle
|
||||||
@@ -1938,6 +1941,7 @@ QDF_STATUS wmi_unified_process_ll_stats_set_cmd(void *wmi_hdl,
|
|||||||
|
|
||||||
return QDF_STATUS_E_FAILURE;
|
return QDF_STATUS_E_FAILURE;
|
||||||
}
|
}
|
||||||
|
#endif /* WLAN_FEATURE_LINK_LAYER_STATS */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* wmi_unified_snr_request_cmd() - send request to fw to get RSSI stats
|
* wmi_unified_snr_request_cmd() - send request to fw to get RSSI stats
|
||||||
|
@@ -7718,6 +7718,7 @@ static QDF_STATUS send_set_ric_req_cmd_tlv(wmi_unified_t wmi_handle,
|
|||||||
return QDF_STATUS_SUCCESS;
|
return QDF_STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef WLAN_FEATURE_LINK_LAYER_STATS
|
||||||
/**
|
/**
|
||||||
* send_process_ll_stats_clear_cmd_tlv() - clear link layer stats
|
* send_process_ll_stats_clear_cmd_tlv() - clear link layer stats
|
||||||
* @wmi_handle: wmi handle
|
* @wmi_handle: wmi handle
|
||||||
@@ -7888,7 +7889,7 @@ static QDF_STATUS send_process_ll_stats_get_cmd_tlv(wmi_unified_t wmi_handle,
|
|||||||
|
|
||||||
return QDF_STATUS_SUCCESS;
|
return QDF_STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
#endif /* WLAN_FEATURE_LINK_LAYER_STATS */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* send_congestion_cmd_tlv() - send request to fw to get CCA
|
* send_congestion_cmd_tlv() - send request to fw to get CCA
|
||||||
@@ -21707,9 +21708,11 @@ struct wmi_ops tlv_ops = {
|
|||||||
.send_pno_start_cmd = send_pno_start_cmd_tlv,
|
.send_pno_start_cmd = send_pno_start_cmd_tlv,
|
||||||
.send_nlo_mawc_cmd = send_nlo_mawc_cmd_tlv,
|
.send_nlo_mawc_cmd = send_nlo_mawc_cmd_tlv,
|
||||||
.send_set_ric_req_cmd = send_set_ric_req_cmd_tlv,
|
.send_set_ric_req_cmd = send_set_ric_req_cmd_tlv,
|
||||||
|
#ifdef WLAN_FEATURE_LINK_LAYER_STATS
|
||||||
.send_process_ll_stats_clear_cmd = send_process_ll_stats_clear_cmd_tlv,
|
.send_process_ll_stats_clear_cmd = send_process_ll_stats_clear_cmd_tlv,
|
||||||
.send_process_ll_stats_set_cmd = send_process_ll_stats_set_cmd_tlv,
|
.send_process_ll_stats_set_cmd = send_process_ll_stats_set_cmd_tlv,
|
||||||
.send_process_ll_stats_get_cmd = send_process_ll_stats_get_cmd_tlv,
|
.send_process_ll_stats_get_cmd = send_process_ll_stats_get_cmd_tlv,
|
||||||
|
#endif /* WLAN_FEATURE_LINK_LAYER_STATS*/
|
||||||
.send_congestion_cmd = send_congestion_cmd_tlv,
|
.send_congestion_cmd = send_congestion_cmd_tlv,
|
||||||
.send_snr_request_cmd = send_snr_request_cmd_tlv,
|
.send_snr_request_cmd = send_snr_request_cmd_tlv,
|
||||||
.send_snr_cmd = send_snr_cmd_tlv,
|
.send_snr_cmd = send_snr_cmd_tlv,
|
||||||
|
Reference in New Issue
Block a user