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
This commit is contained in:
Manikanta Pubbisetty 2021-05-17 11:15:43 +05:30 • committed by Madan Koyyalamudi
commit d706f1b660

View file

@ -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;
};