|
@@ -461,6 +461,7 @@ bool hdd_report_max_rate(mac_handle_t mac_handle,
|
|
|
uint8_t mcs_index,
|
|
|
uint16_t fw_rate, uint8_t nss);
|
|
|
|
|
|
+#ifdef QCA_SUPPORT_CP_STATS
|
|
|
/**
|
|
|
* wlan_hdd_register_cp_stats_cb() - Register hdd stats specific
|
|
|
* callbacks to the cp stats component
|
|
@@ -470,5 +471,8 @@ bool hdd_report_max_rate(mac_handle_t mac_handle,
|
|
|
*/
|
|
|
|
|
|
void wlan_hdd_register_cp_stats_cb(struct hdd_context *hdd_ctx);
|
|
|
+#else
|
|
|
+static inline void wlan_hdd_register_cp_stats_cb(struct hdd_context *hdd_ctx) {}
|
|
|
+#endif
|
|
|
|
|
|
#endif /* end #if !defined(WLAN_HDD_STATS_H) */
|