25702 Commits

Author SHA1 Message Date
hanwckf
ebd9ce723a mediatek: dts: fix typo 2024-01-31 18:37:00 +08:00
hanwckf
46bd2aa298 mediatek: add ext-devices hnat support for glinet mt2500/mt3000 2024-01-31 18:28:03 +08:00
hanwckf
492c1e5597 mediatek: reverse WAN/LAN port for glinet mt7981 devices to fix hnat issues 2024-01-31 18:25:32 +08:00
hanwckf
929cd0f9d2 mediatek: rax3000m: remove ksmbd packages 2024-01-31 11:30:25 +08:00
hanwckf
c07c4b30a6 kernel: mtd: add support for foresee spi nand 2024-01-31 10:15:34 +08:00
hanwckf
1ee9a8b732 mediatek: mtk_eth_soc: enable admav2 for mt7986 only 2024-01-26 19:15:02 +08:00
hanwckf
dabfebc9a0 mediatek: image.mk: fix fw file name 2024-01-23 23:30:38 +08:00
hanwckf
78e01d8729 mediatek: hnat: set ppe num to 1 for GMAC1 mode 2024-01-23 22:06:18 +08:00
hanwckf
31c2a045db mediatek: hnat: set default ppe num to 2 2024-01-19 12:50:49 +08:00
hanwckf
f518559c0f mediatek: hnat: fix wifi->ext hnat support 2024-01-19 12:50:49 +08:00
hanwckf
fcbff49bcc mediatek: mtk_eth_soc: change mt798x adma from v2 to v1 2024-01-19 12:50:49 +08:00
hanwckf
f7aecec1da mediatek: hnat: fix match ext dev by prefix 2024-01-18 22:13:44 +08:00
hanwckf
02e53453a3 Revert "[Description]"
This reverts commit cb8d930879726d51161e612d48b5c3dba7aa494a.
2024-01-18 22:13:44 +08:00
developer
f137a9ece7 [Description]
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
2024-01-17 10:56:10 +08:00
hanwckf
c430f7b29d Revert "[Description]"
This reverts commit efef901d06e9193fc283cc601aee26c8ca59d640.
2024-01-16 23:28:00 +08:00
developer
efef901d06 [Description]
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
2024-01-16 21:34:35 +08:00
developer
19f2e53562 [Description]
Fix panic issue for mtk_pending_work.

If without this patch, mtk_pending_work might cause kernel panic
in the one gmac system.

[Release-log]
N/A

Change-Id: I9d2940645d738bac8888a7410c5ad5586a08c115
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/6814894
2024-01-16 21:29:08 +08:00
developer
daba7b9a2d [Description]
Fix GMAC data corruption issue.

If without this patch, kernel might receive invalid packets that are corrupted by GMAC.

[Release-log]
N/A

Change-Id: I8a9f00402e4b8d9181a8c4c518665a16619cdc0a
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/6398721
2024-01-16 21:24:34 +08:00
developer
f81f1d5ffc [Description]
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
2024-01-16 21:23:58 +08:00
developer
2a758ab185 [Description]
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
2024-01-16 21:22:09 +08:00
developer
9c0d04cab0 [Description]
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
2024-01-16 21:21:50 +08:00
developer
cb8d930879 [Description]
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
2024-01-16 21:21:22 +08:00
developer
5ead770db2 [Description]
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
2024-01-16 21:18:02 +08:00
developer
f189c50ef1 [Description]
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
2024-01-16 21:16:26 +08:00
Aes64X
02df69b2d5
修复时区问题 (#226)
某些docker容器会因缺少时区组件导致无法启动
例如:Home Assistant
2024-01-14 20:44:28 +08:00
hanwckf
35722caede mediatek: tune smp settings 2024-01-14 20:32:23 +08:00
hanwckf
302556c1ac mediatek: rax3000m: add usb/wwan nic to hnat ext devices 2024-01-14 10:54:44 +08:00
hanwckf
fb1028fa8c mediatek: hnat: add ext-devices-prefix prop to match ext devices 2024-01-14 10:54:44 +08:00
hanwckf
42fbe2ced3 mediatek: add usb/wwan ext devices rps settings 2024-01-14 10:54:44 +08:00
hanwckf
6e8fc28275 mediatek: hnat: add hnat support for ext devices 2024-01-14 10:54:44 +08:00
hanwckf
6ceb43f640 mediatek: remove useless mtk-lro setting 2024-01-14 10:54:44 +08:00
hanwckf
b0c2ac27a3 mediatek: add mtk-smp package to exec smp.sh
mtk-smp: add usb smp settings
2024-01-13 13:53:22 +08:00
hanwckf
8ff4cfb0e5 kernel: mtd: add support for xmc xm25qh128c 2024-01-12 18:32:28 +08:00
hanwckf
bf70fb42de Merge branch 'openwrt-21.02' of https://github.com/immortalwrt/immortalwrt into openwrt-21.02 2024-01-10 01:29:58 +08:00
Tianling Shen
fc9fe90e5a
Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-01-03 14:52:53 +08:00
hanwckf
363788550f mediatek: hnat: add hnat statistics 2023-12-31 22:44:42 +08:00
hanwckf
be2b71c18c luci-app-turboacc-mtk: add ppe_num setting 2023-12-31 11:17:37 +08:00
hanwckf
e0fa787d3e mediatek: hnat: remove "mtketh-ppe-num" prop 2023-12-31 11:16:38 +08:00
hanwckf
55789251dc mediatek: hnat: auto set hnat alg for pptp/l2tp/gre tunnel 2023-12-27 20:45:53 +08:00
hanwckf
0e595386ae mediatek: hnat: add ppe_cnt module param 2023-12-23 12:06:06 +08:00
padavanonly
d310f779b3 Mediatek:add ipv6 speed limit support for eqos-mtk 2023-12-15 01:15:24 +08:00
padavanonly
b7ac35dbc6 Mediatek:hnat add support for macvlan wan dev 2023-12-15 01:15:24 +08:00
padavanonly
1c7a824799 Mediatek:adjust bind rate when using hqos 2023-12-15 01:15:24 +08:00
padavanonly
e257e518d9 Mediatek:gmac2 use queue 32 2023-12-15 01:15:24 +08:00
padavanonly
781e1a0b4f Mediatek: Hqos support using dscp tag 2023-12-15 01:15:24 +08:00
padavanonly
6327b205f1 Mediatek:enable ppe update nf stat by default 2023-12-15 01:15:24 +08:00
padavanonly
15bdc19d95 mediatek:eqos support mtk hqos 2023-12-15 01:15:24 +08:00
padavanonly
7fbc4d0d0b add luci-eqos-mtk(fork from tianling's version) 2023-12-15 01:15:07 +08:00
padavanonly
9a719b3eb7 Mediatek:add support for disable second ppe fwd 2023-12-15 01:15:07 +08:00
padavanonly
c5668fe082 Mediatek:add dual ppe support for mt798x 512RAM devices 2023-12-15 01:15:07 +08:00