25579 Commits

Author SHA1 Message Date
hanwckf
9c7feea3e0 hnat: show hnat hook status with seqfile instead of pr_info 2023-08-07 21:44:03 +08:00
abandon-xyz
7268ecd1fa
mediatek: add support for KONKA KOMI A31 (#102) 2023-08-05 21:12:33 +08:00
developer
b64b3c1805 [Description]
Fix the conditions for adding vlan info.
When eth1.x -> wifi, packets cannot be forwarded through the HW path.
(due to with wrong HNAT vlan info)

The patch fix it.

[Release-log]
N/A

Change-Id: Id9e02493157bfc2f3a4dbf046be127cd491f9b17
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/7778652
2023-08-01 12:04:34 +08:00
hanwckf
b0360ffa94 mediatek: add support for H3C NX30 Pro 2023-08-01 02:10:06 +08:00
abu9
69794b4861
[][Kernel][hnat][Fix log print level in foe_clear_entry] (#101)
[Description]
Fix log print level in foe_clear_entry.
There are too many logs when neighbor update,
the logs should be printed on debug level.

[Release-log]
N/A


Change-Id: Ic9b75aa5da33f1ab1f398408811487f72ba9f29b
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/7709249
2023-07-31 21:52:26 +08:00
hanwckf
10b5a7d734 target: remove luci-app-turboacc, luci-app-cpufreq in default packages 2023-07-28 10:07:25 +08:00
hanwckf
cbbfa996aa mediatek: rax3000m: build automount by default 2023-07-27 21:38:03 +08:00
hanwckf
af4f0aac91 mediatek: rax3000m: fix mesh button label and input type 2023-07-27 20:26:44 +08:00
hanwckf
fe761fe277 mediatek: rax3000m: add more usb-related luci apps 2023-07-27 10:54:52 +08:00
hanwckf
e6771f7e39 mediatek: rax3000m: remove read only part 2023-07-27 10:50:53 +08:00
hanwckf
72e13d5f9a Merge branch 'openwrt-21.02' of https://github.com/immortalwrt/immortalwrt into openwrt-21.02 2023-07-26 23:18:13 +08:00
hanwckf
4354230eb3 Revert "[Description]"
This reverts commit 4b60c531ead22dcace1497bfcf5327c7b0087bbc.
2023-07-26 22:31:29 +08:00
hanwckf
c7d72f9c32 mediatek: cmcc-rax3000m: enable mt7531 ssc 2023-07-26 21:48:01 +08:00
Tianling Shen
67603f2a9e
ipq806x: enable fan driver for r3d
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-07-26 21:10:22 +08:00
Robert Marko
40d838ff6b
ipq806x: add driver for EMC2301 fan controller
Basic fan controls are working, including PWM and
tachometer.

RPM target mode is not working yet.

Signed-off-by: Robert Marko <robimarko@gmail.com>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-07-26 21:08:24 +08:00
hanwckf
cc46e0582e mediatek: add support for cmcc-rax3000m 2023-07-26 12:06:37 +08:00
hanwckf
73aa69df13 mediatek: fix mismatch of *x3000* 2023-07-26 01:49:41 +08:00
Tianling Shen
064779f9c2
kernel: bump to 5.4.250
Refreshed all patches.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-07-25 20:44:09 +08:00
abandon-xyz
ef7f8d4997
mediatek: wr30u: fix led (#95) 2023-07-21 09:05:39 +08:00
hanwckf
3360371f33 mediatek: wr30u: fix bootargs 2023-07-20 00:17:47 +08:00
Tianling Shen
30d8cc5eab
Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-07-19 16:29:18 +08:00
developer
4b60c531ea [Description]
Fix bug: avoid mis-binding of first fragments of ip-fragmented packets.

[Release-log]
N/A

Change-Id: Iabe7e83a2ec683b292628732004afef0d65c05f3
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/7597095
2023-07-19 10:09:17 +08:00
hanwckf
c66df37828 hnat: use memcmp instead of strncmp to compare mac addr 2023-07-15 19:04:05 +08:00
Rafał Miłecki
f5fbde4c11 bcm53xx: backport DT changes queued for v6.6
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 37ff916af789911fdefb802ce9903e866eb82435)
2023-07-14 14:56:51 +02:00
Tianling Shen
edcc069409
Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-07-14 19:23:45 +08:00
hanwckf
48dab85809 mediatek: fix xiaomi-wr30u stock layout flash script 2023-07-14 01:13:19 +08:00
developer
46fcd1ca5b [Description]
Fix possibly null pointer and memory leak.
When skb_headroom(skb) < FOE_INFO_LEN, it means that hnat headroom of
the message is incomplete and may have been truncated by other functions.
HNAT should return and not relalloc skb.

If without the patch, may met NULL pointer and memory leak issue.

[Release-log]
N/A

Change-Id: I490191fa2be5fd1d664b228ef7c97951d0efe036
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/7694271
2023-07-12 21:45:04 +08:00
thl
1157c56596 hnat: wifi tx hqos support 2023-07-12 21:22:37 +08:00
hanwckf
d0fc857ae2 Merge branch 'openwrt-21.02' of https://github.com/immortalwrt/immortalwrt into HEAD 2023-07-12 21:09:22 +08:00
hank9999
d66f4754b7 mediatek: add support for Xiaomi WR30U
Signed-off-by: hank9999 <mchank9999@gmail.com>
2023-07-12 20:48:38 +08:00
hanwckf
6a3939a965 mediatek: add gpio-export driver 2023-07-12 01:06:31 +08:00
hanwckf
49f6834e9f
ct3003: fix wrong wlan mac address 2023-07-12 00:45:49 +08:00
Rafał Miłecki
fff279f4a7 bcm53xx: backport DT changes from v6.5
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 8674b41c0d84f09e14bf8ebe08e1d6dc6ac5fa64)
2023-07-11 13:38:09 +02:00
Rafał Miłecki
7f06e5f7f2 kernel: bgmac: fix regressed support for BCM53573 SoCs
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit d54f3b2cfdbd34aa61ca67fd590eebfdf3db51cf)
2023-07-10 18:47:41 +02:00
Rafał Miłecki
64261da739 kernel: fix bgmac support for BCM5358
Fix two long-standing regressions.

Fixes: https://github.com/openwrt/openwrt/issues/8278
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 5e48c534f7c6b3a861f4a2dbb81d7bfcd9606f61)
2023-07-10 18:47:41 +02:00
Rafał Miłecki
1d206bcd71 bcm47xx: fix bgmac regression present in 5.4 kernel
This fixes:
[    2.548098] bgmac_bcma bcma0:1: Failed to register fixed PHY device
[    2.554584] bgmac_bcma bcma0:1: Cannot connect to phy
and downstream (swconfig-based) b53 driver failing to load.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 6cdac994012003065a7040ceba3186f80db3cdbe)
2023-07-10 18:47:41 +02:00
Rafał Miłecki
18a5301858 kernel: backport bgmac upstream commits from 5.15 / for 5.16
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit fd71ef34b75c81646d17d21d80dc3a5b5e2e6bb8)
2023-07-10 18:47:41 +02:00
Tianling Shen
7125dd1654
Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-07-05 16:42:53 +08:00
Tianling Shen
722aef9de1
mediatek: add CETRON CT3003 support (#91)
* mediatek: add CETRON CT3003 support

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>

* conninfra: remove incorrect default val

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>

---------

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-07-05 14:26:49 +08:00
Tianling Shen
8b23ea31c6
mediatek: add JCG Q30 support (#90)
For flash instructions, see https://mary.kevinmx.top/default/JCG-Q30-Pro-Neo.html

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-07-04 16:53:56 +08:00
Tianling Shen
86dc811a7c
mediatek: add support for Livinet ZR-3020 (#82)
* autocore: remove ethinfo for mtk arm boards

mediatek target uses legacy swconfig which is not supported by autocore.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>

* mediatek: add support for Livinet ZR-3020

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>

---------

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-07-03 02:27:36 +08:00
hanwckf
950722cdfb mediatek: fix kernel patch issue 2023-06-28 01:25:09 +08:00
hanwckf
5ea9ded3d1 Merge branch 'openwrt-21.02' of https://github.com/immortalwrt/immortalwrt into openwrt-21.02 2023-06-28 00:47:14 +08:00
hanwckf
3e744a313d hnat: fix veth tx packet issue
ref: f756e66dc6
2023-06-27 23:38:18 +08:00
hanwckf
b9d3e4343a hnat: fix nat66 issue
ref: 317dbfad66
2023-06-27 23:38:12 +08:00
developer
fe05ec6020 [Description]
Fix hook drop normal packet
In some cases, the packet match the to the logic
of eth->wlan of the legacy chip(mt7621).
After failing to find the interface,
it will be discarded by the hnat function.
Here packets should be handed over to the kernel

[Release-log]
N/A

Change-Id: Idca4c6e899e743c89fbcb562f2695a77b02a98af
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/7265953
2023-06-27 22:54:07 +08:00
Tianling Shen
3f4a88db29
kernel: bump to 5.4.248
Refreshed all patches.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-06-23 16:12:07 +08:00
Álvaro Fernández Rojas
eb8cae5391 bcm63xx: fix NETGEAR DGND3700v2 boot loop
The DGND3700v2 renames the cferam bootloader from cferam to cfeXXX, where XXX
is the number of firmware upgrades performed by the bootloader. Other bcm63xx
devices rename cferam.000 to cferam.XXX, but this device is special because
the cferam name isn't changed on the first firmware flashing but it's changed
on the subsequent ones.
Therefore, we need to look for "cfe" instead of "cferam" to properly detect
the cferam partition and fix the bootlop.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
(cherry picked from commit cdfcac6e246de9f237d1425e498db3f34ddebbaf)
2023-06-15 12:01:32 +02:00
Álvaro Fernández Rojas
39c00a9bdd kernel: mtd: bcm-wfi: add cferam name support
Some devices rename cferam bootloader using specific patterns and don't follow
broadcom standards for renaming cferam files. This requires supporting
different cferam file names.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
(cherry picked from commit 8813edd8d9695d4e3939fdaa3c530c682f91de11)
2023-06-15 12:01:07 +02:00
Tianling Shen
8d858460fe
kernel: bump to 5.4.244
Refreshed all patches.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-06-01 19:58:05 +08:00