mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 08:25:12 +07:00
mwifiex: increase TX threashold to avoid TX timeout during ED MAC test
While carrying energy detection(ED) tests, the chip will stop transmission upon detecting an energy in the connected channel. As a feedback, driver will stop dequeuing TX packets and due to which wmm_tx_pending keep incremeting. Once wmm_tx_pending reaches 100, driver calls netif_tx_stop_queue(). If TX ques is not restarted within 5(watchdog_timeo) seconds, it will result in TX timeout. The ED test is carried out for one minute and the current threshold of 100 is easily overcome by the traffic, cuasing TX timeouts. To fix this increase the threshold to 400. Signed-off-by: Cathy Luo <cluo@marvell.com> Signed-off-by: Ganapathi Bhat <gbhat@marvell.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
parent
4793e5a954
commit
4f9fb99001
@ -84,8 +84,8 @@ enum {
|
||||
#define MWIFIEX_TIMER_10S 10000
|
||||
#define MWIFIEX_TIMER_1S 1000
|
||||
|
||||
#define MAX_TX_PENDING 100
|
||||
#define LOW_TX_PENDING 80
|
||||
#define MAX_TX_PENDING 400
|
||||
#define LOW_TX_PENDING 380
|
||||
|
||||
#define HIGH_RX_PENDING 50
|
||||
#define LOW_RX_PENDING 20
|
||||
|
Loading…
Reference in New Issue
Block a user