From d706f1b66008bdfc774737361b4449a2fd25852d Mon Sep 17 00:00:00 2001 From: Manikanta Pubbisetty Date: Mon, 17 May 2021 11:15:43 +0530 Subject: [PATCH] qcacmn: add TX packet threshold for DP SWLM Add TX packet threshold while considering for TX write coalescing. This helps improve low throughput TCP DL & UL cases. Change-Id: Ida2585b2473c9af4e898bde34e9b8cd35f0bdf51 CRs-Fixed: 2946896 --- dp/wifi3.0/dp_types.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dp/wifi3.0/dp_types.h b/dp/wifi3.0/dp_types.h index 13ab5edada89..dfbdf24ccbfa 100644 --- a/dp/wifi3.0/dp_types.h +++ b/dp/wifi3.0/dp_types.h @@ -1394,6 +1394,8 @@ struct dp_swlm_stats { * ending the coalescing. * @tcl.coalesce_end_time: End timestamp for current coalescing session * @tcl.bytes_coalesced: Num bytes coalesced in the current session + * @tcl.tx_pkt_thresh: Threshold for TX packet count, to begin TCL register + * write coalescing */ struct dp_swlm_params { struct { @@ -1407,6 +1409,7 @@ struct dp_swlm_params { uint32_t tx_thresh_multiplier; uint64_t coalesce_end_time; uint32_t bytes_coalesced; + uint32_t tx_pkt_thresh; } tcl; };