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

Commit 8112b284 authored by hangtian's avatar hangtian Committed by nshrivas
Browse files

qcacmn: Set stop_th and start_th for QCA_LL_PDEV_TX_FLOW_CONTROL

Use same stop_th and start_th as QCA_LL_TX_FLOW_CONTROL_V2 for
QCA_LL_PDEV_TX_FLOW_CONTROL which allows pausing/unpausing
netif queues to avoid frame drop in driver.

Change-Id: Ifa649e31a41d1bf89eadc8cc7e9520f0e27b9fe4
CRs-Fixed: 2466999
parent 4baebc06
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -282,10 +282,12 @@ struct txrx_pdev_cfg_param_t {
	bool enable_rxthread;
	/* CE classification enabled through INI */
	bool ce_classify_enabled;
#if defined(QCA_LL_TX_FLOW_CONTROL_V2) || defined(QCA_LL_PDEV_TX_FLOW_CONTROL)
	/* Threshold to stop queue in percentage */
	uint32_t tx_flow_stop_queue_th;
	/* Start queue offset in percentage */
	uint32_t tx_flow_start_queue_offset;
#endif

	struct ol_tx_sched_wrr_ac_specs_t ac_specs[TX_WMM_AC_NUM];
};