diff options
Diffstat (limited to 'package/ramips/drivers/mt76x2e/patches/002-peak_TP_downgrade.patch')
-rw-r--r-- | package/ramips/drivers/mt76x2e/patches/002-peak_TP_downgrade.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/package/ramips/drivers/mt76x2e/patches/002-peak_TP_downgrade.patch b/package/ramips/drivers/mt76x2e/patches/002-peak_TP_downgrade.patch new file mode 100644 index 0000000..6d2ad8d --- /dev/null +++ b/package/ramips/drivers/mt76x2e/patches/002-peak_TP_downgrade.patch @@ -0,0 +1,14 @@ +Index: mt76x2e-3.0.4.0/rlt_wifi/common/cmm_data.c +=================================================================== +--- mt76x2e-3.0.4.0.orig/rlt_wifi/common/cmm_data.c ++++ mt76x2e-3.0.4.0/rlt_wifi/common/cmm_data.c +@@ -1997,8 +1997,7 @@ VOID RTMPDeQueuePacket( + #endif /* DBG_TX_RING_DEPTH */ + #endif /* DBG_DIAGNOSE */ + +- if (FreeNumber[QueIdx] <= 5 || +- (pAd->RalinkCounters.OneSecTxRetryOkCount + pAd->RalinkCounters.OneSecTxNoRetryOkCount) <= (TX_RING_SIZE >> 1)) ++ if (FreeNumber[QueIdx] <= 5 ) + { + /* free Tx(QueIdx) resources*/ + RTMPFreeTXDUponTxDmaDone(pAd, QueIdx); |