21149 Commits

Author SHA1 Message Date
hanwckf
41822b9b83 iwinfo: sanity check for iwrange ioctl 2024-01-01 14:42:29 +08:00
hanwckf
4ff90cc755 luci-app-turboacc-mtk: fix typo 2024-01-01 09:42:19 +08:00
hanwckf
721630c5c4 luci-app-turboacc-mtk: add ppe stats 2023-12-31 22:45:08 +08:00
hanwckf
be2b71c18c luci-app-turboacc-mtk: add ppe_num setting 2023-12-31 11:17:37 +08:00
hanwckf
c8696f26ca luci-app-turboacc-mtk: fix hnat default settings 2023-12-31 01:50:10 +08:00
hanwckf
877848ce1e mtwifi-cfg: exec apcli autoconnect hook for dbdc reload 2023-12-30 21:08:32 +08:00
hanwckf
c287e219ee luci-app-mtwifi-cfg: add whnat option 2023-12-29 18:18:45 +08:00
hanwckf
0d435d10b4 mt_wifi: revert mt7986 fw 2023-12-29 01:06:14 +08:00
potatoigit
90277da5ed
mediatek: optimization for BPI R3-MINI (#203)
* mediatek: optimization for BPI R3-MINI

* Update Makefile
2023-12-28 09:34:14 +08:00
hanwckf
0e595386ae mediatek: hnat: add ppe_cnt module param 2023-12-23 12:06:06 +08:00
hanwckf
c19e641167 swconfig: fix mt753x slow show 2023-12-20 21:44:12 +08:00
hanwckf
6e450a7355 switch: add dump pvid function 2023-12-20 20:39:57 +08:00
hzero30
3cba2c92f9
mt_wifi: fix VHT max bw (#197) 2023-12-20 14:43:25 +08:00
hanwckf
c16091f97e mt_wifi: fix he assoc max bw 2023-12-19 23:12:42 +08:00
hanwckf
0e1af68761 switch: add switch_ctl.init to restart mt753x ports when LAN reload 2023-12-19 22:59:03 +08:00
hanwckf
96d850d02a luci-app-mtwifi-cfg: fix apcli settings 2023-12-15 21:41:30 +08:00
hanwckf
b0848f766e mtwifi-cfg: fix apcli PMF settings 2023-12-15 21:41:20 +08:00
padavanonly
d310f779b3 Mediatek:add ipv6 speed limit support for eqos-mtk 2023-12-15 01:15:24 +08:00
padavanonly
79ae6c2516 Mediatek:add luci support for extra hnat setting 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
c6da3115e6 Mediatek:fix eqos-mtk typo error 2023-12-15 01:15:24 +08:00
padavanonly
e257e518d9 Mediatek:gmac2 use queue 32 2023-12-15 01:15:24 +08:00
padavanonly
1bc376d339 Mediatek:Set ipv6 dscp value to 0 when enable hqos dscp tag 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
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
hanwckf
d2ecc79a20 default-settings: fix luci rpcd issue 2023-12-13 20:23:07 +08:00
hanwckf
ee0dca7a23 mtwifi-cfg: setup apcli autoconnect in iwpriv hook func 2023-12-12 17:08:18 +08:00
hanwckf
e45c4d4371 luci-app-mtwifi-cfg: add support for BeaconPeriod, DtimPeriod 2023-12-08 19:23:25 +08:00
hanwckf
202f16e915 mtwifi-cfg: add support for mtk dbdc chip cfgs 2023-12-08 00:28:59 +08:00
hanwckf
f7eaac3baf luci-app-mtwifi-cfg: add patch for network.js 2023-12-07 19:04:57 +08:00
hanwckf
30536c7e13 mtwifi-cfg: move frag and rts settings to vif cfg 2023-12-07 01:38:08 +08:00
hanwckf
ebf353ff63 Merge branch 'openwrt-21.02' of https://github.com/immortalwrt/immortalwrt into openwrt-21.02 2023-12-05 23:14:26 +08:00
hanwckf
4a5fefb8ec wifi-dats: update dat files 2023-12-05 23:01:56 +08:00
hanwckf
225db6977a luci-app-mtk/wifi-profile: add support for KickStaRssiLow and AssocReqRssiThres 2023-12-05 23:01:56 +08:00
hanwckf
5b1a7d3b24 luci-app-mtwifi-cfg: add kicklow and assocthres options 2023-12-05 23:01:56 +08:00
hanwckf
4c0506adc5 mtwifi-cfg: add support for KickStaRssiLow and AssocReqRssiThres 2023-12-05 23:01:56 +08:00
hanwckf
98cf9c1c47 iwinfo: mtk: return txpower for signal
iwinfo: mtk: set quality/quality_max to fixed value
2023-12-05 18:45:21 +08:00
hanwckf
02d553250f kernel: sysctl: update nf_conntrack_max to 65536 2023-12-05 12:40:39 +08:00
hanwckf
dd5716ef18 luci-app-mtwifi-cfg: split from mtwifi-cfg
luci-app-mtwifi-cfg: add zh-cn po

defconfig: update luci-app-mtwifi-cfg
2023-12-05 01:38:58 +08:00
hanwckf
f11d1bc629 luci-app-mtk: fix channel info 2023-12-05 00:15:57 +08:00
hanwckf
4d66dff162 iwinfo: detect mtk chip from l1profile for emmc devices 2023-12-04 23:14:22 +08:00
hanwckf
417a8f3894 kernel: sysctl: update nf_conntrack_buckets to 65536 2023-12-04 22:28:28 +08:00
hanwckf
115a22fa14 mtwifi-cfg: luci: fix twt settings 2023-12-04 19:23:44 +08:00
hanwckf
ca6260fbf2 luci-app-mtk: show tx power info 2023-12-04 19:04:54 +08:00
hanwckf
1e84180491 mtwifi-cfg: luci: fix mtwifi wireless signal badage
mtwifi-cfg: luci: fix apcli assoclist hostname

mtwifi-cfg: luci: set apcli scan poll interval to 15sec
2023-12-04 00:32:25 +08:00
hanwckf
11491e5005 mtwifi-cfg: fix bssidnum sanity 2023-12-03 23:22:54 +08:00
hanwckf
517712ed6f luci-app-turboacc-mtk: remove useless WHNAT option 2023-12-03 23:22:39 +08:00
hanwckf
5981123ea2 mtwifi-cfg: fix luci-wireless for mtwifi-cfg 2023-12-03 13:26:35 +08:00
hanwckf
a2b9a401f7 mtwifi-cfg: remove channel analysis 2023-12-03 13:26:35 +08:00
hanwckf
3951b5a04a mediatek: add mtwifi-cfg for configure mt_wifi 2023-12-03 13:25:56 +08:00
hanwckf
95c3efbca9 iwinfo: add support for mt798x vendor driver 2023-12-03 13:25:56 +08:00
hanwckf
87a1eb4821 wifi-profile: update mt798x default profile 2023-12-03 13:25:56 +08:00
hanwckf
536495b8c7 wifi-profile: split wifi-profile to wifi-dats
mt_wifi: set wifi-dats to dependency
2023-12-03 13:25:56 +08:00
hanwckf
deb0d4c7b5 mt_wifi: fix vif secinfo for iwinfo 2023-12-03 13:25:56 +08:00
hanwckf
7d566df930 mt_wifi: add flags to get site survey raw ssid 2023-12-03 13:25:56 +08:00
hanwckf
53a4938522 mt_wifi: fix apcli peer ap connect info 2023-12-03 13:25:56 +08:00
hanwckf
5b75e8c6ce mt_wifi: fix iw_range cmd for iwinfo 2023-12-03 13:25:56 +08:00
hanwckf
18a195e30e mt_wifi: add rssi info for site survey 2023-12-03 13:25:56 +08:00
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
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
padavanonly
514e9497eb update fstools to master version 2023-11-21 22:20:20 +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
Aabandon
194443120a
mediatek: add support for Xiaomi AX3000T (#160) 2023-11-15 20:38:11 +08:00
potatoigit
38c8c837fc mediatek: initial Banana Pi R3 Mini support 2023-11-11 21:24:29 +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
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
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
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
f78d2e13cf mediatek: initial cmcc rax3000m emmc support
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-10-16 15:00:51 +08:00
hanwckf
62673496c8 netifd: only call wifi up when exec "ifup lan" 2023-10-08 00:48:38 +08:00
hanwckf
dd817b5373 netifd: fix 'ifup lan' could not reload mt798x wifi vifs 2023-10-08 00:23:51 +08:00
hanwckf
ae0c192f54 mtkhqos_util: update script 2023-09-29 02:37:55 +08:00
hanwckf
dd4312da3b Merge branch 'openwrt-21.02' of https://github.com/immortalwrt/immortalwrt into openwrt-21.02 2023-09-29 01:04:42 +08:00
Tianling Shen
0bd0306b05
Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-09-28 11:02:31 +08:00
Hauke Mehrtens
c5dc0e01df
treewide: Add extra CPE identifier
This adds some Common Platform Enumerations (CPE) identifiers which I
found.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2023-09-27 22:16:36 +02:00
Alexander Couzens
9431f3625b packages: assign PKG_CPE_ID for all missing packages
The PKG_CPE_ID links to NIST CPE version 2.2.
Assign PKG_CPE_ID to all remaining package which have a CPE ID.
Not every package has CPE id.

Related: https://github.com/openwrt/packages/issues/8534
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
2023-09-27 17:21:26 +02:00
benboguan
cbbccc936f
luci-app-mtk: update zh-cn i18n (#129) 2023-09-27 00:56:36 +08:00
Brian Norris
683751adda
base-files: Remove nand.sh dependency from emmc upgrade
emmc_do_upgrade() relies on identify() from the nand.sh upgrade helper.
This only works because FEATURES=emmc targets also tend to include
FEATURES=nand.

Rename identify_magic() to identify_magic_long() to match the common.sh
style and make it clear it pairs with other *_long() variants (and not,
say *_word()).

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
(cherry picked from commit d3c19c71f6044eff1677563365cea0f9e919b462)
2023-09-26 15:41:19 +08:00
Brian Norris
cd655a8b30
base-files: Align rootfs_data upgrades to 64KiB on eMMC
Rootfs overlays get created at a ROOTDEV_OVERLAY_ALIGN (64KiB)
alignment after the rootfs, but emmc_do_upgrade() is assuming
it comes at the very next 512-byte sector.

Suggested-by: Christian Lamparter <chunkeey@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
(move spaces around, mention fstools' libtoolfs)
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
(cherry picked from commit e8a0c55909427703b7c72ed46326531397287b20)
2023-09-26 15:38:06 +08:00
Enrico Mioso
7c89acbebf
base-files: add eMMC sysupgrade support
Adds generic support for sysupgrading on eMMC-based devices.

Provide function emmc_do_upgrade and emmc_copy_config to be used in
/lib/upgrade/platform.sh instead of redundantly implementing the same
logic over and over again.
Similar to generic sysupgrade on NAND, use environment variables
CI_KERNPART, CI_ROOTPART and newly introduce CI_DATAPART to indicate
GPT partition names to be used. On devices with more than one MMC
block device, CI_ROOTDEV can be used to specify the MMC device for
partition name lookups.

Also allow to select block devices directly using EMMC_KERN_DEV,
EMMC_ROOT_DEV and EMMC_DATA_DEV, as using GPT partition names is not
always an option (e.g. when forced to use MBR).

To easily handle writing kernel and rootfs make use of sysupgrade.tar
format convention which is also already used for generic NAND support.

Signed-off-by: Enrico Mioso <mrkiko.rs@gmail.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
CC: Li Zhang <li.zhang@gl-inet.com>
CC: TruongSinh Tran-Nguyen <i@truongsinh.pro>
(cherry picked from commit 57c1f3f9c5c699cc215bebde772552787c632570)
2023-09-26 15:36:54 +08:00
Daniel Golle
faec1771f6
base-files: allow specifiying rootdev for find_mmc_part
Some devices got more than one mmc device.
Allow specifying the root device as 2nd parameter of find_mmc_part so
scripts can avoid matching irrelevant partitions on wrong mmc device.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 9f223a20bd5f0cbec9f34427588b645ae38433ff)
2023-09-26 15:35:02 +08:00
Davide Fioravanti
9bc1deec7f
base-files: add minimal mmc support
Added minimal mmc support for helper functions:

 - find_mmc_part: Look for a given partition name. Returns the
	coresponding partition path
 - caldata_extract_mmc: Look for a given partition name and then
	extracts the calibration data
 - mmc_get_mac_binary: Returns the mac address from a given partition
	name and offset

Signed-off-by: Davide Fioravanti <pantanastyle@gmail.com>
Signed-off-by: Robert Marko <robimarko@gmail.com>
[replace dd with caldata_dd, moved sysupgrade mmc to orbi]
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
(cherry picked from commit 6e137943442fb0ab66c34462fa19e5a4260eddd5)
2023-09-26 15:31:39 +08:00
hanwckf
a5e14f6ab6 package: remove usign padding warning message 2023-09-25 22:14:46 +08:00
hanwckf
d250665d7b luci-app-mtk: clean stainfo if all wifi interface is down 2023-09-23 22:16:28 +08:00
hanwckf
fdceeb5d90 autocore: check wifi ifname status before call iwpriv 2023-09-23 22:14:32 +08:00
hanwckf
180ca42211 mt7981: revert mt7981 wacpu/wocpu fw 2023-09-23 10:46:40 +08:00
hanwckf
53eae01db7 Merge branch 'openwrt-21.02' of https://github.com/immortalwrt/immortalwrt into openwrt-21.02 2023-09-18 10:01:12 +08:00
Nicholas Sun
e5a48ffa59
autocore: maximize ring buffer size for Intel IGC ethernet
Signed-off-by: Nicholas Sun <nicholas-sun@outlook.com>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 680e4752c52f001a446a14f4f78955c8374fcd09)
2023-09-16 17:01:37 +08:00
hanwckf
f4cbdc31ad mt_wifi: revert mt7981 wacpu fw to 20230411 2023-09-12 20:49:15 +08:00
hanwckf
014771c2ab Revert "warp: set wocpu-20230717 as mt7981 latest wocpu fw"
This reverts commit f5ccb09ea84d14275f7f9e9c01aa79956637cb83.
2023-09-12 20:48:42 +08:00
hanwckf
149b0510ee mt_wifi: fix ipi related cmd for mt798x new wacpu fw 2023-09-10 14:14:09 +08:00