|
@@ -2500,8 +2500,10 @@ static inline void wma_print_wmi_cmd_log(uint32_t count,
|
|
{
|
|
{
|
|
t_wma_handle *wma = cds_get_context(QDF_MODULE_ID_WMA);
|
|
t_wma_handle *wma = cds_get_context(QDF_MODULE_ID_WMA);
|
|
|
|
|
|
- if (wma)
|
|
|
|
|
|
+ if (wma) {
|
|
|
|
+ print(print_priv, "Command Log (count %u)", count);
|
|
wmi_print_cmd_log(wma->wmi_handle, count, print, print_priv);
|
|
wmi_print_cmd_log(wma->wmi_handle, count, print, print_priv);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
static inline void wma_print_wmi_cmd_tx_cmp_log(uint32_t count,
|
|
static inline void wma_print_wmi_cmd_tx_cmp_log(uint32_t count,
|
|
@@ -2510,9 +2512,11 @@ static inline void wma_print_wmi_cmd_tx_cmp_log(uint32_t count,
|
|
{
|
|
{
|
|
t_wma_handle *wma = cds_get_context(QDF_MODULE_ID_WMA);
|
|
t_wma_handle *wma = cds_get_context(QDF_MODULE_ID_WMA);
|
|
|
|
|
|
- if (wma)
|
|
|
|
|
|
+ if (wma) {
|
|
|
|
+ print(print_priv, "Command Tx Complete Log (count %u)", count);
|
|
wmi_print_cmd_tx_cmp_log(wma->wmi_handle, count, print,
|
|
wmi_print_cmd_tx_cmp_log(wma->wmi_handle, count, print,
|
|
print_priv);
|
|
print_priv);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
static inline void wma_print_wmi_mgmt_cmd_log(uint32_t count,
|
|
static inline void wma_print_wmi_mgmt_cmd_log(uint32_t count,
|
|
@@ -2521,9 +2525,11 @@ static inline void wma_print_wmi_mgmt_cmd_log(uint32_t count,
|
|
{
|
|
{
|
|
t_wma_handle *wma = cds_get_context(QDF_MODULE_ID_WMA);
|
|
t_wma_handle *wma = cds_get_context(QDF_MODULE_ID_WMA);
|
|
|
|
|
|
- if (wma)
|
|
|
|
|
|
+ if (wma) {
|
|
|
|
+ print(print_priv, "Management Command Log (count %u)", count);
|
|
wmi_print_mgmt_cmd_log(wma->wmi_handle, count, print,
|
|
wmi_print_mgmt_cmd_log(wma->wmi_handle, count, print,
|
|
print_priv);
|
|
print_priv);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
static inline void wma_print_wmi_mgmt_cmd_tx_cmp_log(uint32_t count,
|
|
static inline void wma_print_wmi_mgmt_cmd_tx_cmp_log(uint32_t count,
|
|
@@ -2532,9 +2538,12 @@ static inline void wma_print_wmi_mgmt_cmd_tx_cmp_log(uint32_t count,
|
|
{
|
|
{
|
|
t_wma_handle *wma = cds_get_context(QDF_MODULE_ID_WMA);
|
|
t_wma_handle *wma = cds_get_context(QDF_MODULE_ID_WMA);
|
|
|
|
|
|
- if (wma)
|
|
|
|
|
|
+ if (wma) {
|
|
|
|
+ print(print_priv,
|
|
|
|
+ "Management Command Tx Complete Log (count %u)", count);
|
|
wmi_print_mgmt_cmd_tx_cmp_log(wma->wmi_handle, count, print,
|
|
wmi_print_mgmt_cmd_tx_cmp_log(wma->wmi_handle, count, print,
|
|
print_priv);
|
|
print_priv);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
static inline void wma_print_wmi_event_log(uint32_t count,
|
|
static inline void wma_print_wmi_event_log(uint32_t count,
|
|
@@ -2543,8 +2552,10 @@ static inline void wma_print_wmi_event_log(uint32_t count,
|
|
{
|
|
{
|
|
t_wma_handle *wma = cds_get_context(QDF_MODULE_ID_WMA);
|
|
t_wma_handle *wma = cds_get_context(QDF_MODULE_ID_WMA);
|
|
|
|
|
|
- if (wma)
|
|
|
|
|
|
+ if (wma) {
|
|
|
|
+ print(print_priv, "Event Log (count %u)", count);
|
|
wmi_print_event_log(wma->wmi_handle, count, print, print_priv);
|
|
wmi_print_event_log(wma->wmi_handle, count, print, print_priv);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
static inline void wma_print_wmi_rx_event_log(uint32_t count,
|
|
static inline void wma_print_wmi_rx_event_log(uint32_t count,
|
|
@@ -2553,9 +2564,11 @@ static inline void wma_print_wmi_rx_event_log(uint32_t count,
|
|
{
|
|
{
|
|
t_wma_handle *wma = cds_get_context(QDF_MODULE_ID_WMA);
|
|
t_wma_handle *wma = cds_get_context(QDF_MODULE_ID_WMA);
|
|
|
|
|
|
- if (wma)
|
|
|
|
|
|
+ if (wma) {
|
|
|
|
+ print(print_priv, "Rx Event Log (count %u)", count);
|
|
wmi_print_rx_event_log(wma->wmi_handle, count, print,
|
|
wmi_print_rx_event_log(wma->wmi_handle, count, print,
|
|
print_priv);
|
|
print_priv);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
static inline void wma_print_wmi_mgmt_event_log(uint32_t count,
|
|
static inline void wma_print_wmi_mgmt_event_log(uint32_t count,
|
|
@@ -2564,9 +2577,54 @@ static inline void wma_print_wmi_mgmt_event_log(uint32_t count,
|
|
{
|
|
{
|
|
t_wma_handle *wma = cds_get_context(QDF_MODULE_ID_WMA);
|
|
t_wma_handle *wma = cds_get_context(QDF_MODULE_ID_WMA);
|
|
|
|
|
|
- if (wma)
|
|
|
|
|
|
+ if (wma) {
|
|
|
|
+ print(print_priv, "Management Event Log (count %u)", count);
|
|
wmi_print_mgmt_event_log(wma->wmi_handle, count, print,
|
|
wmi_print_mgmt_event_log(wma->wmi_handle, count, print,
|
|
print_priv);
|
|
print_priv);
|
|
|
|
+ }
|
|
|
|
+}
|
|
|
|
+#else
|
|
|
|
+
|
|
|
|
+static inline void wma_print_wmi_cmd_log(uint32_t count,
|
|
|
|
+ qdf_abstract_print *print,
|
|
|
|
+ void *print_priv)
|
|
|
|
+{
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+static inline void wma_print_wmi_cmd_tx_cmp_log(uint32_t count,
|
|
|
|
+ qdf_abstract_print *print,
|
|
|
|
+ void *print_priv)
|
|
|
|
+{
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+static inline void wma_print_wmi_mgmt_cmd_log(uint32_t count,
|
|
|
|
+ qdf_abstract_print *print,
|
|
|
|
+ void *print_priv)
|
|
|
|
+{
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+static inline void wma_print_wmi_mgmt_cmd_tx_cmp_log(uint32_t count,
|
|
|
|
+ qdf_abstract_print *print,
|
|
|
|
+ void *print_priv)
|
|
|
|
+{
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+static inline void wma_print_wmi_event_log(uint32_t count,
|
|
|
|
+ qdf_abstract_print *print,
|
|
|
|
+ void *print_priv)
|
|
|
|
+{
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+static inline void wma_print_wmi_rx_event_log(uint32_t count,
|
|
|
|
+ qdf_abstract_print *print,
|
|
|
|
+ void *print_priv)
|
|
|
|
+{
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+static inline void wma_print_wmi_mgmt_event_log(uint32_t count,
|
|
|
|
+ qdf_abstract_print *print,
|
|
|
|
+ void *print_priv)
|
|
|
|
+{
|
|
}
|
|
}
|
|
#endif /* WMI_INTERFACE_EVENT_LOGGING */
|
|
#endif /* WMI_INTERFACE_EVENT_LOGGING */
|
|
|
|
|