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
gecommit door Madan Koyyalamudi
bovenliggende 183db750e3
commit 273504da32

Bestand weergeven

@@ -1426,6 +1426,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 {
@@ -1439,6 +1441,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;
};