|
@@ -1,5 +1,5 @@
|
|
|
/*
|
|
|
- * Copyright (c) 2014-2017 The Linux Foundation. All rights reserved.
|
|
|
+ * Copyright (c) 2014-2018 The Linux Foundation. All rights reserved.
|
|
|
*
|
|
|
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
|
|
|
*
|
|
@@ -48,21 +48,19 @@ void wlan_logging_set_fw_flush_complete(void);
|
|
|
void wlan_flush_host_logs_for_fatal(void);
|
|
|
void wlan_logging_set_active(bool active);
|
|
|
void wlan_logging_set_log_to_console(bool log_to_console);
|
|
|
+void wlan_deregister_txrx_packetdump(void);
|
|
|
+void wlan_register_txrx_packetdump(void);
|
|
|
#else
|
|
|
-static inline void wlan_flush_host_logs_for_fatal(void)
|
|
|
-{
|
|
|
-}
|
|
|
-static inline void wlan_logging_set_per_pkt_stats(void)
|
|
|
-{
|
|
|
-}
|
|
|
-static inline void wlan_logging_set_fw_flush_complete(void)
|
|
|
-{
|
|
|
-}
|
|
|
-void wlan_logging_set_active(bool active) {}
|
|
|
-void wlan_logging_set_log_to_console(bool log_to_console) {}
|
|
|
+static inline void wlan_flush_host_logs_for_fatal(void) {}
|
|
|
+static inline void wlan_logging_set_per_pkt_stats(void) {}
|
|
|
+static inline void wlan_logging_set_fw_flush_complete(void) {}
|
|
|
+static inline void wlan_logging_set_active(bool active) {}
|
|
|
+static inline void wlan_logging_set_log_to_console(bool log_to_console) {}
|
|
|
+static inline void wlan_deregister_txrx_packetdump(void) {}
|
|
|
+static inline void wlan_register_txrx_packetdump(void) {}
|
|
|
#endif /* WLAN_LOGGING_SOCK_SVC_ENABLE */
|
|
|
|
|
|
-#ifdef FEATURE_WLAN_DIAG_SUPPORT
|
|
|
+#if defined(WLAN_LOGGING_SOCK_SVC_ENABLE) && defined(FEATURE_WLAN_DIAG_SUPPORT)
|
|
|
void wlan_report_log_completion(uint32_t is_fatal,
|
|
|
uint32_t indicator,
|
|
|
uint32_t reason_code,
|
|
@@ -70,7 +68,8 @@ void wlan_report_log_completion(uint32_t is_fatal,
|
|
|
#else
|
|
|
static inline void wlan_report_log_completion(uint32_t is_fatal,
|
|
|
uint32_t indicator,
|
|
|
- uint32_t reason_code)
|
|
|
+ uint32_t reason_code,
|
|
|
+ uint8_t ring_id)
|
|
|
{
|
|
|
return;
|
|
|
}
|
|
@@ -79,7 +78,5 @@ static inline void wlan_report_log_completion(uint32_t is_fatal,
|
|
|
|
|
|
void wlan_pkt_stats_to_logger_thread(void *pl_hdr, void *pkt_dump, void *data);
|
|
|
|
|
|
-void wlan_deregister_txrx_packetdump(void);
|
|
|
-void wlan_register_txrx_packetdump(void);
|
|
|
|
|
|
#endif /* WLAN_LOGGING_SOCK_SVC_H */
|