Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b555bf39 authored by Rakshith Suresh Patkar's avatar Rakshith Suresh Patkar Committed by nshrivas
Browse files

qcacld-3.0: 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
parent 28197101
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
/*
 * 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
@@ -919,6 +919,7 @@ A_STATUS process_sw_event(void *pdev, void *data)
	qdf_mem_copy(sw_event.sw_event,
				 ((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;
}