Преглед изворни кода

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
Manikanta Pubbisetty пре 4 година
родитељ
комит
273504da32
1 измењених фајлова са 3 додато и 0 уклоњено
  1. 3 0
      dp/wifi3.0/dp_types.h

+ 3 - 0
dp/wifi3.0/dp_types.h

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