Fix BIND entry with DP=0 issue for Wifi Tx
Without this patch, the PPE entry state could be set to BIND
unexpectedly, adds a check to confirm if the copied entry
state is UNBIND.
[Release-log]
N/A
Change-Id: I49825572617eb804cda18e8f054b9106f26926bb
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/8498669
Change qdma dmad from sram to dram
[Release-log]
-dmad in sram and payload in dram may probabilistic cause control
path is incoherent with payload path
-causing the actual packet sent is not the one
you really want
Change-Id: Ieeca5093f3cb24e07d659c8bec10fbaa0bbb336a
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/7912387
Remove QDMA global configuration for PKT_RX_WDONE
-- customer corner test case may occur qmda rx hang
-- DE confirm this item may cause qdma rx hang, it is hw bug
[Release-log]
Change-Id: I104ffbcdf140f8f7bf66d20b3f2ad349d733158f
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/6270079
Change code for memory free which may cause memory leak
-- memory leak occurs when user use DRAM for DMAD
-- SRAM ==1, no need free ring->dma
-- SRAM ==0, DMAD memory should be freed in mtk_rx_clean
[Release-log]
N/A
Change-Id: I599d3e38c66d67c0e9bfd7afc3e8f773258f97db
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/6182630
Change ADMA RX HANG condition
-- ADMA RX HANG condition
- PSE p0 output queue is not zero
- CDM1 FSM indication CDM is from PSE to ADMA status
- ADMA DBG MONITOR show CURR_STAT is zero
- CDM_FIFO_RDY is zero
- remove check RX_FIFO_WCNT is zero because sometimes it is not zero
[Release-log]
N/A
Change-Id: I666d3df5eddc128f6f2fc4df44b9c76aa8b64254
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/6182238
Add configurations to enable WDMA Rx ring full drop for
solving Panther AX7800/AX8400 5G(MT7915) WA CPU bound issue.
If without this patch, system might run into WiFi Tx/Rx
deadlock issue or WiFi Tx small packet low throughput issue.
[Release-log]
N/A
Change-Id: I57cd4a8e3ae19bdcb34d7d042989b7c1327ea08e
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/6193220
Fix the issue of mistakenly deleting entries in foe_clear_entry.
When packets are forwarded in the 6RD scenario,
HNAT entry is mistakenly deleted.
This patch fix it.
[Release-log]
N/A
Change-Id: I7ece4115f07eaca354d2c0301d6cafb2ba6e539c
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/7531312
Fix QDMA TX queue page error issue.
If the TX queue page is changed before hnat_qos_shaper_ebl function,
it may cause the function to set queue config on wrong TX queue page.
In order to avoid this situation, we will check queue ID to
switch to correct TX queue page.
If without this patch, QDMA TX queue config will be wrong
when the numbers of TX queue is greater than 16.
[Release-log]
N/A
Change-Id: I42b013982885830355b4108d6bc49f2feac1ef08
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/8203881