qcacmn: Log pkt_stats to logger thread for sw_event
pktlog log types were received as individual log types like PKTLOG_TYPE_TX_CTRL, PKTLOG_TYPE_RC_FIND, etc. As per the current implementation, FW sends an aggregated log type as PKTLOG_TYPE_SW_EVENT. This aggregated log type event is not logged to userspace. Log sw_event pkt_stats to logger thread in process_sw_event. Change-Id: I5b12ecce25af6395a10eb7c7452a7eeb042d7c0a CRs-Fixed: 2396980
Este commit está contenido en:

cometido por
nshrivas

padre
612a906f4e
commit
5cfc631920
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2013-2018 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2013-2019 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
@@ -1160,6 +1160,8 @@ A_STATUS process_sw_event(void *pdev, void *data)
|
||||
((char *)fw_data->data + sizeof(struct ath_pktlog_hdr)),
|
||||
pl_hdr.size);
|
||||
|
||||
cds_pkt_stats_to_logger_thread(&pl_hdr, NULL, sw_event.sw_event);
|
||||
|
||||
return A_OK;
|
||||
}
|
||||
|
||||
@@ -1240,6 +1242,8 @@ A_STATUS process_sw_event(void *pdev, void *data)
|
||||
((char *)fw_data->data + sizeof(struct ath_pktlog_hdr)),
|
||||
pl_hdr.size);
|
||||
|
||||
cds_pkt_stats_to_logger_thread(&pl_hdr, NULL, sw_event.sw_event);
|
||||
|
||||
return A_OK;
|
||||
}
|
||||
#endif
|
||||
|
Referencia en una nueva incidencia
Block a user