55077 Commits

Author SHA1 Message Date
hanwckf
68689844be mt_wifi: fix wext txpwr api panic with apcli 2023-12-03 13:25:56 +08:00
hanwckf
3496679e0c netifd: add disabled wireless vifs for scripts 2023-12-03 13:25:56 +08:00
hanwckf
6121bb519a netifd: ignore wireless brsnoop settings 2023-12-03 13:25:56 +08:00
hanwckf
602b929c98 netifd: auto detect mtk wifi-profile scripts 2023-12-03 13:25:56 +08:00
padavanonly
032821b7af
mt_wifi: add mt798x new fw (#175)
Co-authored-by: padavanonly <padavanonly@github.com>
2023-11-29 00:10:16 +08:00
hanwckf
dacec9d1e1 update defconfig 2023-11-24 11:53:09 +08:00
hanwckf
1002e22b8e package/ppp: fix ipv6 2023-11-24 11:10:22 +08:00
hanwckf
76c1443697 wifi-profile: fix ax4200 dat files 2023-11-23 20:19:07 +08:00
hanwckf
b298e36452 update defconfig 2023-11-23 19:48:01 +08:00
padavanonly
b4316271e8
Mediatek:Fix GL.inet mt2500 hnat port setting (#172) 2023-11-23 18:19:51 +08:00
hanwckf
ea37177e3a mediatek: platform.sh: remove unused mtk_mmc_do_upgrade 2023-11-21 22:25:31 +08:00
padavanonly
850894a6e6 mediatek:correct nums of lan ports 2023-11-21 22:20:20 +08:00
padavanonly
514e9497eb update fstools to master version 2023-11-21 22:20:20 +08:00
padavanonly
7edbdbbf68 mediatek:add suport for gl-mt6000 and tp-xdr608x 2023-11-21 22:20:20 +08:00
padavanonly
bcd46e3b1d mediatek:add support for rtl8221x 2023-11-21 22:20:20 +08:00
potatoigit
a5c5eef119
mediatek: fix emmc sysupgrade on MT7986 (#169) 2023-11-20 14:48:14 +08:00
padavanonly
1e3e270dca
mediatek:fix netcore n60 lan (#166) 2023-11-20 14:48:06 +08:00
hanwckf
4a1f0eb31b mediatek: fix asr3000 lan order
fix #159
2023-11-16 21:41:12 +08:00
padavanonly
65fb5f0767
mediatek: add support for Netcore N60 (#165)
* add netcore n60 support

* revert to old wifi firmware

---------

Co-authored-by: padavanonly <padavanonly@github.com>
2023-11-16 21:33:32 +08:00
secd4ck
d63a69e0d2
fixed mt7981 platform.sh introduced Tabs by Aabandon (#163) 2023-11-16 18:52:35 +08:00
Aabandon
194443120a
mediatek: add support for Xiaomi AX3000T (#160) 2023-11-15 20:38:11 +08:00
abettmr
ea63ce92bc
asr3000: fix mesh-led gpio 2023-11-15 15:07:20 +08:00
potatoigit
e1b4487fbc
mediatek: fix BPI-R3 EMMC support (#157) 2023-11-11 22:32:43 +08:00
Zy143L
1814465e22
add C8-660(WT9103) 512M Flash && fixs DTS (#155)
* add nradio wt9103 support

* add C8-660(WT9103) 512M Flash && fixs DTS
2023-11-11 21:25:03 +08:00
potatoigit
c915c12f5c mediatek: BPI-R3 EMMC support 2023-11-11 21:24:29 +08:00
potatoigit
38c8c837fc mediatek: initial Banana Pi R3 Mini support 2023-11-11 21:24:29 +08:00
清靈語
3773906267
readme: additional notes for the default configuration (#151)
resolve https://github.com/hanwckf/immortalwrt-mt798x/issues/142#issuecomment-1781525664
2023-11-11 21:21:26 +08:00
Rafał Miłecki
4a1d8ef55c bcm53xx: refresh kernel config
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2023-11-06 13:29:45 +01:00
benboguan
358c1fa651
mediatek: fix clt-r30b1 (#148) 2023-10-31 11:28:39 +08:00
benboguan
7edca74a28
mt_wifi: add mt798x new fw (#146)
warp/mt_wifi: add 20231024 wocpu fw
2023-10-28 00:18:34 +08:00
Rafał Miłecki
c31872bad8 bcm53xx: backport 1 more late DT patch accepted for v6.7
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 732ae343ffb3ad19978b75a8105d55f5e6d1d435)
2023-10-26 13:43:33 +02:00
Rafał Miłecki
754dfab01c bcm53xx: disable unused switch ports in downstream patch
This makes Linux use correct switch ports again.

Fixes: fff279f4a712 ("bcm53xx: backport DT changes from v6.5")
Fixes: https://github.com/openwrt/openwrt/issues/13548
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit a912ee74d6ca08020933dcdb9ce791e74244c25b)
2023-10-26 13:43:33 +02:00
Rafał Miłecki
74212e7be3 bcm53xx: backport DT changes queued for v6.7
Among other changes this commit makes Linux use correct switch ports
again.

Fixes: fff279f4a712 ("bcm53xx: backport DT changes from v6.5")
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit a67af19bc84e98588c307af9b08686bde9dd38d5)
2023-10-26 13:43:33 +02:00
Rafał Miłecki
ded99ab483 bcm53xx: simplify patch adding switch ports
We now have all raw ports defined in bcm-ns.dtsi. Leave only lables in
custom device files.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 08ce0c76d7d7daad5e9382d51960d69f4b8b8f3a)
2023-10-26 13:43:33 +02:00
Rani Hod
c5cb4287b8 bcm53xx: build a single device per profile
So far every build of a single bcm53xx Target Profile (it means: when
NOT using CONFIG_TARGET_MULTI_PROFILE) resulted in all target devices
images being built. Now it only builds the one matching selected
profile.

Fixes: #13572

Suggested-by: Jonas Gorski <jonas.gorski@gmail.com>
Signed-off-by: Rani Hod <rani.hod@gmail.com>
[rmilecki: update commit subject + body & move PROFILES line]
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 802a5f5cb4a7b42d25e82b787d7ab1323a20183f)
2023-10-26 13:43:33 +02:00
Arınç ÜNAL
66c2715a56 bcm53xx: add support for ASUS RT-AC3100
ASUS RT-AC3100 is ASUS RT-AC88U without the external switch.

OpenWrt forum users effortless and ktmakwana have confirmed that there are
revisions with either 4366b1 or 4366c0 wireless chips.

Therefore, include firmware for 4366b1 along with 4366c0. This way, all
hardware revisions of the router will be supported by having brcmfmac use
the firmware file for the wireless chip it detects.

Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
(cherry picked from commit 2214bab3503981fe6168746acd13044a9d5e89e7)
2023-10-26 13:43:33 +02:00
Arınç ÜNAL
b3baba3854 bcm53xx: backport DT changes for ASUS RT-AC3100 queued for v6.6
Backport the patch that adds the DT for ASUS RT-AC3100.

Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
(cherry picked from commit b7ee8c9f83ea0e3b861e6b71b08ed7a62066d149)
2023-10-26 13:07:30 +02:00
hanwckf
e6ea2ba32a mediatek: dts: fix typo 2023-10-26 11:21:06 +08:00
hanwckf
b37a57bdd2 luci-app-mtk: remove unused "WpaMixPairCipher" settings
luci-app-mtk: keep ACS mode in apcli_cfg
2023-10-26 00:20:44 +08:00
hanwckf
6e77c6263f mt_wifi: fix wext txpwr api 2023-10-26 00:20:44 +08:00
hanwckf
08c62ad2d0 mediatek: fix ct3003, jcg q30 hnat settings 2023-10-26 00:20:43 +08:00
Zy143L
33f15e3224 add nradio wt9103 support 2023-10-25 14:55:22 +08:00
Jan-Niklas Burfeind
90c8c47188
sunxi: ensure NanoPi R1 has unique MAC address
Ensure the MAC address for all NanoPi R1 boards is assigned uniquely for
each board.

The vendor ships the device in two variants; one with and one without
eMMC; but both without static mac-addresses.
In order to assign both board types unique MAC addresses, fall back on
the same method used for the NanoPi R2S and R4S in case the EEPROM
chip is not present by generating the board MAC from the SD card CID.

[0] https://wiki.friendlyelec.com/wiki/index.php/NanoPi_R1#Hardware_Spec

Similar too and based on:

commit b5675f500daf ("rockchip: ensure NanoPi R4S has unique MAC address")

Co-authored-by: David Bauer <mail@david-bauer.net>
Signed-off-by: Jan-Niklas Burfeind <git@aiyionpri.me>
2023-10-22 12:44:55 +08:00
Tianling Shen
6f822de5e2 mediatek: initial cmcc a10 support
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-10-22 01:24:20 +08:00
Koen Vandeputte
18f12e6f69 ipq40xx: switch to performance governor by default
Doing a simple ping to my device shows this:

64 bytes from 10.0.253.101: icmp_seq=1 ttl=64 time=2.00 ms
64 bytes from 10.0.253.101: icmp_seq=2 ttl=64 time=2.02 ms
64 bytes from 10.0.253.101: icmp_seq=3 ttl=64 time=1.68 ms
64 bytes from 10.0.253.101: icmp_seq=4 ttl=64 time=1.91 ms
64 bytes from 10.0.253.101: icmp_seq=5 ttl=64 time=1.92 ms
64 bytes from 10.0.253.101: icmp_seq=6 ttl=64 time=2.04 ms

Some users even report higher values on older kernels:

64 bytes from 192.168.1.10: seq=0 ttl=64 time=0.612 ms
64 bytes from 192.168.1.10: seq=1 ttl=64 time=2.852 ms
64 bytes from 192.168.1.10: seq=2 ttl=64 time=2.719 ms
64 bytes from 192.168.1.10: seq=3 ttl=64 time=2.741 ms
64 bytes from 192.168.1.10: seq=4 ttl=64 time=2.808 ms

The problem is that the governor is set to Ondemand, which causes
the CPU to clock all the way down to 48MHz in some cases.

Switching to performance governor:

64 bytes from 10.0.253.101: icmp_seq=1 ttl=64 time=0.528 ms
64 bytes from 10.0.253.101: icmp_seq=2 ttl=64 time=0.561 ms
64 bytes from 10.0.253.101: icmp_seq=3 ttl=64 time=0.633 ms
64 bytes from 10.0.253.101: icmp_seq=4 ttl=64 time=0.526 ms

In theory, using the Performance governor should increase power draw,
but it looks like it really does not matter for this soc.

Using a calibrated precision DC power supply (cpu idle):

Ondemand
24.00V * 0.134A = 3.216 Watts
48.00V * 0.096A = 4.608 Watts

Performance
24.00V * 0.135A = 3.240 Watts
48.00V * 0.096A = 4.608 Watts

Let's simply switch to the Performance governor by default
to fix the general jittery behaviour on devices using this soc.

Tested on: MikroTik wAP ac

Fixes: #13649
Reviewed-by: Robert Marko <robimarko@gmail.com>
Reviewed-by: Thibaut VARÈNE <hacks@slashdirt.org>
Signed-off-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
(cherry picked from commit b8e52852bd62236a2a84663b4592d221ebc64cb4)
2023-10-20 15:24:48 +02:00
hanwckf
7e234b0bd8 base-files: fix PKG_CONFIG_DEPENDS for wifi-profile 2023-10-20 01:04:26 +08:00
hanwckf
443111d9ea luci-app-mtk: fix __delete_mbss_para mistakenly remove wifi-dev params 2023-10-20 01:04:26 +08:00
Tianling Shen
8d8f0f3ec6 mediatek: update device title for cmcc rax3000m
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-10-19 17:43:37 +08:00
Tianling Shen
0713c653e7 mediatek: add ABT ASR3000 support
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-10-19 17:43:37 +08:00
hanwckf
4b7d660416 defconfig: add cmcc_rax3000m-emmc 2023-10-17 21:41:17 +08:00