Commit Graph

65169 Commits

Author SHA1 Message Date
SqTER-PL
1dc0c5eceb Fix broken CFI patch... 2025-08-04 18:52:30 +02:00
SqTER-PL
ddf1e90667 Updated PPPoE,PPTP,L2TP and GRE patches.
Source: codelinaro.org
2025-08-04 18:52:30 +02:00
Lucas Asvio
f35f4f6dbd config: update basic config for r7800 to include last nss-drv changes 2025-08-04 18:52:30 +02:00
SqTER-PL
856c5e5da9 Added support for qca-nss-drv-l2tpv2 2025-08-04 18:52:30 +02:00
SqTER-PL
5536c2039e Updated and refreshed patches.
Renamed patches to keep their original numbering from codelinaro.org
Fixed minor bugs and added support for the qca-nss-drv-l2tpv2 module
2025-08-04 18:52:30 +02:00
SqTER-PL
b93287296b Disabled unsupported drivers
This change fixes issues with building an image using a custom configuration.
2025-08-04 18:52:30 +02:00
Lucas Asvio
c3bf5de311 config: update basic config for r7800 to include last nss-drv changes 2025-08-04 18:52:30 +02:00
SqTER-PL
54d727d610 Update and minor fixes for QCA-NSS drivers.
Currently working and tested modules:

nss-ifb
qca-nss-drv
qca-nss-drv-igs (new)
qca-nss-drv-pppoe
qca-nss-drv-qdisc
qca-nss-drv-tun6rd (new)
qca-nss-drv-tunipip6 (new)
qca-nss-gmac
qca-nss-ecm-standard
qca-mcs
2025-08-04 18:52:30 +02:00
SqTER-PL
21b3787542 Updated iptunnel patches. Switch to codelinaro.org source.
Minor fixes and patch sorting.
2025-08-04 18:52:30 +02:00
Lucas Asvio
ce3de61512 ipq806x_nss: refresh patches once again 2025-08-04 18:52:30 +02:00
Lucas Asvio
7a804a5d39 mac80211: refresh patch to change MS2TIME to 5-50 ms 2025-08-04 18:52:30 +02:00
SqTER-PL
87ec19b1d7 Updated and refreshed patches to add support for new devices. 2025-08-04 18:52:30 +02:00
Lucas Asvio
b863325794 config: update basic config for sqm support on ipq806x_nss 2025-08-04 18:52:30 +02:00
Lucas Asvio
3cf5334bbe feeds: add sqm script for ipq806x_nss builds 2025-08-04 18:52:30 +02:00
Lucas Asvio
96c46dbc40 ipq806x: base-files: start cpufreq init sooner 2025-08-04 18:52:30 +02:00
Lucas Asvio
cdbac634ba ipq806x_nss: refresh patches 2025-08-04 18:52:30 +02:00
Lucas Asvio
88ec353a8b ipq806x: base-file: restore min cpu frecuency 2025-08-04 18:52:30 +02:00
SqTER-PL
10beb71725 Update qdisc patches to linux 6.x 2025-08-04 18:52:30 +02:00
SqTER-PL
b3aaf620ca Fix kmod-ipt-ipopt module compilation error
This change fixes the following issue
____________________________________________________

Package kmod-ipt-ipopt is missing dependencies for the following libraries:
nf_conntrack.ko
make[2]: *** [modules/netfilter.mk:352: /home/asvio/02-R7800/02-main-nss/bin/targets/ipq806x/generic/packages/kmod-ipt-ipopt-6.6.79-r1.apk] Error 1
make[2]: Leaving directory '/home/asvio/02-R7800/02-main-nss/package/kernel/linux'
time: package/kernel/linux/compile#2.95#3.11#5.35
    ERROR: package/kernel/linux failed to build.
make[1]: *** [package/Makefile:189: package/kernel/linux/compile] Error 1
make[1]: Leaving directory '/home/asvio/02-R7800/02-main-nss'
make: *** [/home/asvio/02-R7800/02-main-nss/include/toplevel.mk:233: package/linux/compile] Error 2
2025-08-04 18:52:30 +02:00
SqTER-PL
4051a1f9bd Update 990-051-qca-nss-drv-add-qdisc-support.patch
Patch update for linux 6.x version
2025-08-04 18:52:30 +02:00
Lucas Asvio
0272de91bb feeds: change luci feed for VTH support on 2.4GHz 802.11n 2025-08-04 18:52:30 +02:00
Christian Marangi
1dc3417fa7 iwinfo: add QAM-256 support patch
Add QAM-256 support patch.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2025-08-04 18:52:30 +02:00
Christian Marangi
759e94ecda ath10k-ct: add missing bit to enable 256-QAM support
An additional bit is needed to enable 256-QAM support. Feature that is
already supported in ath10k-ct driver.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2025-08-04 18:52:30 +02:00
Christian Marangi
5670920269 mac80211: permit vht_capab also for 2.4GHz 802.11n
Permit to configure vht_capab also for 2.4GHz 802.11n mode to support
non-standard QAM-256 on 802.11n.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2025-08-04 18:52:30 +02:00
Christian Marangi
94d9c06907 mac80211: add support for QAM-256 in 2.4GHz 802.11n
Add support for QAM-256 in 2.4GHz 802.11n. This is non-standard and
comunicate vht capabilities in 2.4GHz 802.11n permittin, for supported
clients, to benefits for additional data rate.

Many driver supports this, for a start enable this for ath10k and
ath11k.
2025-08-04 18:52:30 +02:00
Lucas Asvio
52b907129f config: basic config for r7800 with nss support 2025-08-04 18:52:30 +02:00
Lucas Asvio
52de1265b1 ipq806x: nss patches for k6.x
SqTER-PL <r.napierala@asta-net.pl>
2025-08-04 18:52:30 +02:00
Lucas Asvio
c22fbb8029 ath10k-ct: some tweaks for this ath10k driver
SqTER-PL <r.napierala@asta-net.pl>
2025-08-04 18:52:30 +02:00
Lucas Asvio
e38c766dc7 package: add qca-nss support for k6.x
Before I can get to work a feed repository that work i have included
qca-nss source needed on this commit

Source author: SqTER-PL <r.napierala@asta-net.pl>
2025-08-04 18:52:30 +02:00
Lucas Asvio
53e175d098 ipq806x: update chromium default config 2025-08-04 18:52:30 +02:00
Lucas Asvio
dfce85905d iproute2: add support for NSS on ipq806x platform
SqTER-PL <r.napierala@asta-net.pl>
2025-08-04 18:52:30 +02:00
Lucas Asvio
243e11f434 hostapd: tweak for nss support
SqTER-PL <r.napierala@asta-net.pl>
2025-08-04 18:52:30 +02:00
Lucas Asvio
d11158486a mac80211: add support for NSS on ipq806x platform
SqTER-PL <r.napierala@asta-net.pl>
2025-08-04 18:52:30 +02:00
Lucas Asvio
decbb7c782 ipq806x: restore swconfig device tweaks
SqTER-PL <r.napierala@asta-net.pl>
2025-08-04 18:52:30 +02:00
Lucas Asvio
ced34a54cb ipq806x: Revert DSA implementation 2025-08-04 18:52:30 +02:00
Markus Stockhausen
5584e2f6a7 realtek: rtl930x: enable SMP
Like RTL839x the RTL930x SoCs have multithreading built in.
Activate it in the kernel configuration.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/19624
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-08-04 16:01:49 +02:00
Felix Fietkau
adb1fce19b wifi-scripts: set rsn_overriding for client mode interfaces
Unless HE/EHT is enabled, the client should not process the RSN override IE.
This prevents picking up unsupported ciphers

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2025-08-04 12:40:08 +02:00
Felix Fietkau
640c3984e3 wifi-scripts: add support for passing wifi-device settings via procd
Allows either overriding individual device settings, or passing complete devices

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2025-08-04 12:08:29 +02:00
Felix Fietkau
de447b93e0 wifi-scripts: fix handling changes to the wifi device disabled flag
Allow toggling autostart even for disabled devices
When switching from enabled to disabled, call teardown instead of setup

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2025-08-04 11:46:42 +02:00
Felix Fietkau
f3dd291b62 wifi-scripts: make wifi/utils.uc available in the legacy scripts variant
It can be used to look up the phy name from uci data in ucode scripts

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2025-08-04 11:46:42 +02:00
Markus Stockhausen
afa4662ed0 realtek: RTL839x: reorganize mdio functions and SerDes register layout
The RTL839x mdio functions are scattered around the code. Relocate
them to the bus (still inside the ethernet driver).

Additionally provide a consistent SerDes register access through the
mdio bus. Until now when a SerDes directly drives a SFP module there
is no clear rule of how to handle its register set that consists of
two parts:

- c22 phy registers 0-15 live in the fiber page (2) of the SerDes
- other SerDes specific registers exist in pages before and after

The mdio bus and other SerDes functions are a wild mix of directly
looking into page 2 or just using self defined methods to access
data.

Adapt the bus to the new consistent phy interface that mixes the
SerDes register set like classic Realtek phys do it.

- Use register 31 as page select (already in the bus)
- Always keep the common registers 0-15 in place and read fiber page
- Map the SerDes internal registers into the upper vendor specific
  registers 16-23 according to the page select register (31).

That gives a register mapping as follows:

+-----------------------+-----------------------+---------------+-------------+
| reg 0x00-0x0f         | reg 0x10-0x17         | reg 0x18-0x1e | reg 0x1f    |
+-----------------------+-----------------------+---------------+-------------+
| SerDes fiber page (3) | real SerDes registers | zero          | SerDes page |
| registers 0 - 15      | in packages of 8      |               | select reg  |
+-----------------------+-----------------------+---------------+-------------+

Example to make it as clear as possible.

SerDes registers on a RTL839x show

Page / Reg   | 0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07 0x08 0x09 0x0A 0x0B ...
-------------+----------------------------------------------------------------
0 - SDS      | 0C03 0F00 7060 7106 074D 0EBF 0F0F 0359 5248 0000 0F80 0000 ...
1 - SDS_EXT  | 0000 0000 85FA 8C6D 5CCC 0000 20D8 0003 79AA 8C64 00C3 1482 ...
2 - FIB      | 1140 6189 001C CA40 01A0 0000 0000 0004 0000 0000 0000 0000 ...
3 - FIB_EXT  | 1140 6109 001C CA40 01A0 0000 0000 0004 0000 0000 0000 0000 ...

This translates to this phy layout

             | SerDes fiber registers  normal SerDes registers  zero     p.sel
Page / Reg   | 0x00 0x01 0x02 0x03 ... 0x10 0x11 0x12 0x13 ...  0x18 ... 0x1f
-------------+---------------------------------------------------------------
0            | 1140 6189 001C CA40 ... 0C03 0F00 7060 7106 ...  0000 ... 0000
1            | 1140 6189 001C CA40 ... 5248 0000 0F80 0000 ...  0000 ... 0001
...
4            | 1140 6189 001C CA40 ... 0000 0000 85FA 8C6D ...  0000 ... 0004
...

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/19634
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-08-04 10:43:17 +02:00
Felix Fietkau
7d570a489b wifi-scripts: fix handling hotplug-added wireless vifs
Pass the correct ifname and state

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2025-08-03 21:55:12 +02:00
Felix Fietkau
8444891064 wifi-scripts: fix setup of vifs on multi-radio devices
Ensure that the vlan name check is bypassed

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2025-08-03 21:55:12 +02:00
Felix Fietkau
cbc23f1eb0 wifi-scripts: ucode: remove leftover debug comment
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2025-08-03 21:55:12 +02:00
Felix Fietkau
f26d134436 wifi-scripts: ucode: enforce MFP for SAE connections
Avoids connection failures

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2025-08-03 21:55:12 +02:00
Hauke Mehrtens
b1ce49292c ipq40xx: Refresh kernel patches
Make the patches apply cleanly again.

Fixes: 991dd403d3 ("kernel: improve pppoe performance")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-08-03 15:44:57 +02:00
Joe Holden
966bd308eb uboot-envtools: gs1900-48: set fw_env/sys.config
GS1900-48 is missing from package/boot/uboot-tools/uboot-envtools/files/realtek, so add it to be consistent.

Signed-off-by: Joe Holden <jwh@zorins.us>
Link: https://github.com/openwrt/openwrt/pull/19596
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-08-03 15:34:51 +02:00
Joe Holden
c95a08b1c5 realtek: Zyxel GS1900-48 dts fixes
* Use SDS for phy 48/49
 * Use correct link/phy settings for SFP ports
 * Remove read-only flag from u-boot env so fw_setenv actually works

Signed-off-by: Joe Holden <jwh@zorins.us>
Link: https://github.com/openwrt/openwrt/pull/19596
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-08-03 15:33:36 +02:00
Felix Fietkau
a2c361c520 hostapd: add missing MLO check on ucode bss stop
Fixes a crash on some config reload types

Fixes: 816c2d86e7 ("hostapd: add support for MLO interfaces in ucode")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2025-08-03 06:50:42 +02:00
Felix Fietkau
da370c7b96 netifd: update to Git HEAD (2025-08-03)
b563d7b2e65a ucode: add missing return code checks for fchdir/chdir
c3cfd8df02af system-linux: add variable initialization to avoid compiler warnings on older gcc

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2025-08-03 06:22:59 +02:00