Commit Graph

573 Commits

Author SHA1 Message Date
Tianling Shen
f068cecb0b
r8125: bump to 9.009.00
Switched to GitHub codeload.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 5c11bf7327)
2022-05-17 15:51:14 +08:00
Tianling Shen
82059c592b
ath10k-ct: fix select dependency
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-05-17 15:33:43 +08:00
Tianling Shen
fc96ffcc67
kernel/modules: sound: add Gateworks Avila SoC sound support for ipx4xx
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-05-13 19:53:04 +08:00
Stijn Tintel
1c3e741e29
kernel: add missing symbol to kmod-qlcnic
When the kmod-qlcnic package is built on targets that have
CONFIG_PCI_IOV enabled, the CONFIG_QLCNIC_SRIOV symbol is exposed.
Enable this symbol in the kmod package to fix its build.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
(cherry picked from commit 3cb22b277a)
2022-05-13 19:07:01 +08:00
Hauke Mehrtens
788154eb44
kernel: qlcnic: add dependency to kmod-hwmon-core
QLCNIC_HWMON was activated when hwmon was set, but the dependency was
missing. This broke the build bot builds. Fix this by explicitly
activating HWMON support and adding a dependency.

Fixes: f88c64d28c ("kernel: netdev: add qlcnic")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 95b210e513)
2022-05-13 19:06:06 +08:00
Tianling Shen
4bf7a78d8b
kernel/netdevices: i40e: depends on x86
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-05-13 17:58:02 +08:00
Hauke Mehrtens
8c4f8311b1
kernel: Make kmod-usb-net-lan78xx depend on kmod-of-mdio
kmod-usb-net-lan78xx depends on kmod-of-mdio when this package is
activated.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 6cab21bd6d)
2022-05-13 17:50:18 +08:00
Christian Lamparter
3aa44f2e96
mvebu: fix build regression due to neon-asm ghash module
This patch fixes the regression caused by adding the NEON
variant of the ghash as the default ghash package package:

> ERROR: module '[...]/arch/arm/crypto/ghash-arm-ce.ko' is missing.
> modules/crypto.mk:286: recipe for target
>  '[...]/kmod-crypto-ghash_4.19.106-1_aarch64_cortex-a53.ipk' failed

This patch limits the scope to the ARM32/cortexa9 target of mvebu.

Fixes: 285df63efc ("kernel: build neon-asm version of ghash module")
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
(cherry picked from commit 632a7b2997)
2022-05-13 17:46:07 +08:00
ZiMing Mo
e8f4cf7cff
r8168: bump to 8.050.00
Signed-off-by: ZiMing Mo <msylgj@immortalwrt.org>
(cherry picked from commit 662ff61b56)
2022-05-04 17:26:30 +08:00
AmadeusGhost
efe69269ef fast-classifier: fixes header linking failure issue 2022-04-15 21:35:11 +08:00
AmadeusGhost
c0c201ee95 mac80211: fixes build after kernel 4.9.297
Fixes: #666
Also refresh all patches.
2022-04-15 21:30:47 +08:00
Andrey Erokhin
22b57dc7ed
gpio-button-hotplug: fix data race
bh_event_add_var can be called by multiple threads concurrently,
so it shall not use a static char buffer

Signed-off-by: Andrey Erokhin <a.erokhin@inango-systems.com>
(cherry picked from commit 1e991e09b7)
2022-04-14 01:03:01 +08:00
Hauke Mehrtens
789b3cd44d
mac80211: Update to version 4.19.237-1
This updates mac80211 to version 4.19.237-1 which is based on kernel
4.19.237.

This new release contains many fixes which were merged into the upstream
Linux kernel.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 698cdf02020aa9855ab1000d6a359f816c76280e)
2022-04-13 06:08:42 +08:00
Tianling Shen
f05086ac09
r8152: fix build under kernel 4.14
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-04-08 00:42:04 +08:00
AmadeusGhost
eb0e45cb52 fullconenat: move to network 2022-04-06 23:39:00 +08:00
Tianling Shen
383f8085cd
ath10k-ct: add missing dependency
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-04-04 21:07:22 +08:00
Tianling Shen
849fc5cf65
kernel/modules: inet-diag: fix loading module
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-03-29 04:48:30 +08:00
Tianling Shen
3adf1d9bbe
kernel/modules: inet-diag: fix build with kernel < 4.10
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-03-18 13:46:46 +08:00
Tianling Shen
43f88fbf6c
r8125: bump to 9.008.00
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit d469e513cc)
2022-03-17 15:32:03 +08:00
Tianling Shen
fd6bc38dd6
r8125/r8168: require PCI support
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 644bd5b27a)
2022-03-13 18:00:35 +08:00
Tianling Shen
b091dedde6
kernel/modules: add kmod-inet-diag package
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 41d8f0e982)
2022-03-09 10:40:09 +08:00
Tianling Shen
0e4d13205d
i40e: disable on ramips
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-03-07 19:39:31 +08:00
AmadeusGhost
634ebca484 rtl88x2bu: fixes ap mode not working
(cherry picked from commit 444d028)
2022-01-15 18:22:24 +08:00
Josef Schlehofer
d35265d87f kernel: add kmod-usb-net-lan78xx
Add kernel module for Microchip LAN78XX based USB 2 & USB 3
10/100/1000 Ethernet adapters. [1]

This kernel module is required for the Seeed Studio's Mini Router
based on RPI CM4 [2].

[1] <https://cateee.net/lkddb/web-lkddb/USB_LAN78XX.html>
[2] <https://www.seeedstudio.com/Dual-GbE-Carrier-Board-with-4GB-RAM-32GB-eMMC-RPi-CM4-Case-p-5029.html>

Link: <https://github.com/openwrt/openwrt/pull/4893>
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(added kmod-phy-microchip and kmod-fixed-phy dependencies,
rpi3 needs lan78xx but has it built-in)
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2022-01-09 11:25:38 +08:00
Christian Lamparter
a5915ccad9 kernel: provide kmod-fixed-phy as separate kmod
Almost all targets have the fixed-phy feature built into the kernel.
One big exception is x86. This caused a problem with the upcoming
LAN78xx usb driver. Hence this patch breaks out the fixed-phy from
of_mdio (which didn't include the .ko) and puts into a separate
module.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2022-01-09 11:25:23 +08:00
Christian Lamparter
a5fea8c254 kernel: add kmod-phy-microchip
phy drivers for Microchip's LAN88xx PHYs.
This is needed for the "LAN7801" variant
of the upstream lan78xx usb ethernet driver.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2022-01-09 11:24:14 +08:00
Hauke Mehrtens
a2b7fdb1be
mac80211: Update to version 4.19.221
The following patch was backported from upstream before and is not
needed any more:
  package/kernel/mac80211/patches/ath/980-ath10k-fix-max-antenna-gain-unit.patch

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit cc8c1be438a3d19fec06b72b1e7854f31b9e2f71)
2021-12-17 18:22:50 +08:00
Josef Schlehofer
f2e6d21d32 kernel: add kmod-video-gspca-sq930x
This module adds support for USB WebCams, which uses SQ930X chip [1].

[1] https://cateee.net/lkddb/web-lkddb/USB_GSPCA_SQ930X.html

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-12-17 10:56:21 +08:00
Josef Schlehofer
2401349c45 kernel: btrfs: enable ACL
By default CONFIG_BTRFS_FS_POSIX_ACL is disabled, it should be enabled
only when you enable CONFIG_FS_POSIX_ACL.

Right now, when you enable CONFIG_FS_POSIX_ACL it will enable
CONFIG_BTRFS_FS_POSIX_ACL, but it will be disabled once you install
kmod-btrfs. This should prevent it.

Btrfs has enabled by default ACL for mount option.

More details:
https://cateee.net/lkddb/web-lkddb/BTRFS_FS_POSIX_ACL.html
https://btrfs.wiki.kernel.org/index.php/Manpage/btrfs(5)

Signed-off-by: Josef Schlehofer <josef.schlehofer@nic.cz>
2021-12-17 10:56:00 +08:00
Tianling Shen
9b72f9f7bb
r8152: remove upstreamed patch
Fixes: 15228d688e ("r8152: Update to 2.15.20211119")

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-12-16 19:59:04 +08:00
Tianling Shen
15228d688e
r8152: Update to 2.15.20211119
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit d9d24aaabe)
2021-12-14 21:01:19 +08:00
Tianling Shen
08045d9957
r8125: Update to 9.007.01
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 8ca4d542d8)
2021-12-14 20:58:26 +08:00
Tianling Shen
7ad96cf680
kmod-usb-net-aqc111: remove kernel 4.9 support
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-12-08 05:03:59 +08:00
AmadeusGhost
ee017ae07d mac80211: fix typo error in scripts 2021-11-30 11:41:32 +08:00
AmadeusGhost
3d8937fc08 ath10k: drop unneeded ignore debug info patch 2021-11-30 11:39:18 +08:00
Daniel Golle
11fd374b67 ltq-vdsl-fw: update w921v firmware download URL
Update Telekom Speedport W921V firmware download URL.
Contained TAPI and VDSL firmware blobs are identical.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-11-19 23:58:21 +08:00
Tianling Shen
3714e3aedc
Revert "mac80211: backport netif_rx_any_context support for batman-adv"
We need do tons of backports in this way...

This reverts commit fa0e4c1663.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-10-22 20:51:25 +08:00
Tianling Shen
fa0e4c1663
mac80211: backport netif_rx_any_context support for batman-adv
Fixes: #494

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-10-22 20:05:10 +08:00
Tianling Shen
cc506708b5
r8168: Update to 8.049.02
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit eddae41f4c)
2021-10-09 11:10:42 +08:00
Stijn Tintel
c60ddab896 kernel: drop kmod-gpio-dev
The GPIO_DEVICE symbol belonged to a custom driver that was removed from
OpenWrt in 2012. The symbol never existed in the upstream kernel.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2021-10-08 23:39:25 +08:00
Tianling Shen
929ec35350
r8125: Update to 9.006.04 version
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 52229a5153)
2021-10-07 11:19:20 +08:00
Tianling Shen
f515495d6a
r8125: Update to 9.006.04
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 47e884d6a3)
2021-10-07 09:19:40 +08:00
AmadeusGhost
04de9d5b37 exfat: fix build on kernel 4.9 and 4.14
Fixes: #477
2021-10-01 10:12:43 +08:00
Hauke Mehrtens
ab7fcb3a8c mac80211: Update to backports-4.19.207-1
Refresh all patches.

This contains fixes for CVE-2020-3702

1. These patches (ath, ath9k, mac80211)  were included in kernel
versions since 4.14.245 and 4.19.205. They fix security vulnerability
CVE-2020-3702 [1] similar to KrØØk, which was found by ESET [2].

Thank you Josef Schlehofer for reporting this problem.

[1] https://nvd.nist.gov/vuln/detail/CVE-2020-3702
[2] https://www.welivesecurity.com/2020/08/06/beyond-kr00k-even-more-wifi-chips-vulnerable-eavesdropping/

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2021-09-25 00:06:11 +08:00
AmadeusGhost
eef1d31b57 rtl8192eu: add new package
Also removed obsolete packages.
2021-09-13 15:50:16 +08:00
Tianling Shen
145b8fd486
exfat: Update to 5.14.1
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-09-11 04:31:35 +08:00
Petr Štetiar
b0f313aa6f gpio-button-hotplug: remove duplicate logging text
Removes one of the duplicate `gpio-keys` words found in the logs:

 gpio-keys gpio-keys: gpio-keysdoes not support key code:143

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2021-08-27 12:30:16 +08:00
Chuanhong Guo
e0ffeee947 gpio-button-hotplug: add volume button handling
This is used by PISEN WMB001N.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
2021-08-27 12:29:48 +08:00
David Bauer
9cf12ba1d3 gpio-button-hotplug: unify polled and interrupt code
This patch unifies the polled and interrupt-driven gpio_keys code
paths as well implements consistent handling of the debounce
interval set for the GPIO buttons and switches.

Hotplug events will only be fired if

1. The input changes its state and remains stable for the duration
   of the debounce interval (default is 5 ms).

2. In the initial stable (no state-change for duration of the
   debounce interval) state once the driver module gets loaded.

   Switch type inputs will always report their stable state.
   Unpressed buttons will not trigger an event for the initial
   stable state. Whereas pressed buttons will trigger an event.
   This is consistent with upstream's gpio-key driver that uses
   the input subsystem (and dont use autorepeat).

Prior to this patch, this was handled inconsistently for interrupt-based
an polled gpio-keys. Hence this patch unifies the shared logic into the
gpio_keys_handle_button() function and modify both implementations to
handle the initial state properly.

The changes described in 2. ) . can have an impact on the
failsafe trigger. Up until now, the script checked for button
state changes. On the down side, this allowed to trigger the
failsafe by releasing a held button at the right time. On the
plus side, the button's polarity setting didn't matter.

Now, the failsafe will only engage when a button was pressed
at the right moment (same as before), but now it can
theoretically also trigger when the button was pressed the
whole time the kernel booted and well into the fast-blinking
preinit phase. However, the chances that this can happen are
really small. This is because the gpio-button module is usually
up and ready even before the preinit state is entered. So, the
initial pressed button event gets lost and most devices behave
as before.

Bisectors: If this patch causes a device to permanently go into
failsafe or experience weird behavior due to inputs, please
check the following:
 - the GPIO polarity setting for the button
 - the software-debounce value

Run-tested for 'gpio-keys' and 'gpio-keys-polled' on

 - devolo WiFi pro 1200e
 - devolo WiFi pro 1750c
 - devolo WiFi pro 1750x
 - Netgear WNDR4700
 - Meraki MR24
 - RT-AC58U

Signed-off-by: David Bauer <mail@david-bauer.net>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com> [further
cleanups, simplification and unification]
2021-08-27 12:29:23 +08:00
Petr Štetiar
53d9afc41a gpio-button-hotplug: fix 4.19 build breakage on malta/be64
While testing 4.19 build on malta/be64, I've encountered following
error:

 gpio-button-hotplug/gpio-button-hotplug.c:529:18: error: implicit
 declaration of function 'gpio_to_desc'

which is caused by the missing include fixed by this patch.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2021-08-27 12:29:04 +08:00