55112 Commits

Author SHA1 Message Date
hanwckf
085678acd9 mtwifi-cfg: disable mumimo dl/ul for mbssid by default 2024-01-30 17:21:00 +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
2313f0f4fe defconfig: update 2024-01-23 23:05:01 +08:00
hanwckf
c81045a7fa mtwifi-cfg: add sleep for reinstall drivers 2024-01-23 22:10:27 +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
hanwckf
39a076ff16 mt_wifi: update mt7986 wacpu fw to 20230808 2024-01-16 20:06:50 +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
d71a790778 luci-app-mtwifi-cfg: check ifmode in handle remove 2024-01-13 23:44:38 +08:00
hanwckf
3791aab06d mtk-smp: check irq exist before set smp 2024-01-13 20:48:25 +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
f289bbe415 mtwifi-cfg: fix l1util 2024-01-13 13:52:08 +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
hanwckf
474b512901 autocore: hide cpu temperature in cpuinfo utils
fix #220
2024-01-10 01:20:36 +08:00
hanwckf
13cd754f44 mtwifi-cfg: sanity check for htmode and wireless mode
mtwifi-cfg: disable twt for 11n/ac mode
2024-01-09 20:12:03 +08:00
hanwckf
38fcb89d34 luci-app-mtk: disable mu-mimo and twt settings for 11n/ac mode 2024-01-09 20:11:42 +08:00
hanwckf
1519eb5d13 luci-app-mtwifi-cfg: add sanity check for vif remove 2024-01-08 13:02:12 +08:00
hanwckf
41208baa4d autocore: hide mtk mhz info to speed up luci rpc call 2024-01-07 00:58:33 +08:00
hanwckf
7d2f558f74 switch: set startup prio to 25 2024-01-06 02:04:02 +08:00
hanwckf
6e286bcb0e dnsmasq: set lan force dhcp 2024-01-06 02:00:02 +08:00
lgs2007m
b3ae5b60ca
uboot-envtools: use find_mmc_part for emmc decives (#213) 2024-01-06 00:36:56 +08:00
lgs2007m
8c24bc6216
mediatek: add ubootenv support for GL-MT6000 and JDCloud RE-CP-03 (#211) 2024-01-05 20:00:53 +08:00
hanwckf
bdaefb741a Revert "switch: add reaneg for switch_ctl.init"
This reverts commit dd70b49c31f617cdf944266ab0a2cc53fff916b2.
2024-01-05 18:39:29 +08:00
hanwckf
dd70b49c31 switch: add reaneg for switch_ctl.init 2024-01-04 20:31:32 +08:00
hanwckf
e699541b0a defconfig: using mtwifi-cfg as default defconfig 2024-01-04 01:04:46 +08:00
hanwckf
b093cfa42c mtwifi-cfg: setup vifs in sequence of ap->apcli 2024-01-04 00:32:06 +08:00
hanwckf
ca88ac1356 mtwifi-cfg: using the order of uci config for startup vifs 2024-01-03 23:41:43 +08:00