aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
Commit message (Collapse)AuthorAgeFilesLines
* ltq-tapi: Fix compile with kernel 5.15Hauke Mehrtens2022-11-051-0/+14
| | | | | | | | | | Do not use find_vpid(), but get_task_pid() to get the pid from pThrCntrl->tid. This is now a ponter to struct task_struct instead of an integer. This fixes the build of ltq-tapi with lantiq/xway. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ltq-ifxos: Fix compile with ltq-tapiHauke Mehrtens2022-11-051-0/+11
| | | | | | | Do not include asm/irq.h directly, but include linux/interrupt.h instead. This fixes the build of ltq-tapi with lantiq/xway. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: further cleanup of xfrm[4|6]_mode*Martin Schiller2022-11-051-6/+0
| | | | | | | | | In my commit da5c45f4d886 ("kernel: remove handling of xfrm[4|6]_mode_* modules") I missed a few default config options and description entries. Those should be gone as well. Fixes: da5c45f4d886 ("kernel: remove handling of xfrm[4|6]_mode_* modules") Signed-off-by: Martin Schiller <ms@dev.tdt.de>
* kernel: sort filesystems symbols alphabeticallyRafał Miłecki2022-11-021-35/+36
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: Add kmod-drm-ttm-helperHauke Mehrtens2022-11-011-2/+16
| | | | | | | | | | | | Add a package for drm_ttm_helper.ko. CONFIG_DRM_TTM_HELPER is compiled into the kernel on armvirt/64, x86/64, x86/generic and x86/legacy because also some DRM drivers are compiled into the kernel. On x86/geode it is not compiled into the kernel, but kmod-drm-amdgpu and kmod-drm-radeon depend on it. This fixes the x86/geode build. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: remove handling of xfrm[4|6]_mode_* modulesMartin Schiller2022-10-311-12/+2
| | | | | | | | | | | | | | | For kernel versions before 5.2, the required IPsec modes have to be enabled explicitly (they are built-in for newer kernels). Commit 1556ed155a9a ("kernel: mode_beet mode_transport mode_tunnel xfram modules") tried to handle this, but it does not really work. Since we don't support these kernel versions anymore and the code is also broken, let's remove it. Signed-off-by: Martin Schiller <ms@dev.tdt.de> [Remove old generic config options too] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: replace gpio-mcp23s08 with pinctrl-mcp23s08*Florian Eckert2022-10-301-10/+43
| | | | | | | | | | | | The kernel module gpio-mcp23s08 has been replaced by the new pinctrl-mcp23s08* kernel modules. There are now 3 kernel modules for this device - Common module for both I2C and SPI kmod-pinctrl-mcp23s08 - Module for I2C kmod-pinctrl-mcp23s08-i2c - Module for SPI kmod-pinctrl-mcp23s08-spi Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* mac80211: fix masking nested A-MSDU support for meshAndre Heider2022-10-251-1/+1
| | | | | | | | | CONFIG_MAC80211_MESH isn't defined for this package, rendering the patch useless. Match protecting the access of sta_info.mesh with the very same define declaring it. Fixes 45109f69a6 "mac80211: fix compile error when mesh is disabled" Signed-off-by: Andre Heider <a.heider@gmail.com>
* mac80211: use KERNEL_MAKEOPTS instead of KERNEL_MAKE_FLAGSFelix Fietkau2022-10-241-2/+2
| | | | | | Fixes issues with disabling stack validation on non-linux systems Signed-off-by: Felix Fietkau <nbd@nbd.name>
* button-hotplug: simplify buildFelix Fietkau2022-10-243-19/+2
| | | | | | Remove unnecessary kconfig junk Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: Update to version 5.15.74-1Hauke Mehrtens2022-10-2329-2258/+36
| | | | | | | | This updates mac80211 to version 5.15.74-1 which is based on kernel 5.15.74. The removed patches were applied upstream. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ksmbd: update to 3.4.6Nick Hainke2022-10-232-71/+2
| | | | | | | | | | Release Announcement: https://github.com/cifsd-team/ksmbd/releases/tag/3.4.6 Remove upstreamed: - 10-fix-build-on-kernel-5.15.52-or-higher.patch Signed-off-by: Nick Hainke <vincent@systemli.org>
* kernel: ltq-adsl-mei: Fix compilation with Linux 5.15Martin Blumenstingl2022-10-221-0/+1
| | | | | | | struct of_device_id is not implicitly included anymore. Include <linux/mod_devicetable.h> to fix compilation on Linux 5.15. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
* kernel: ltq-vmmc: Fix compilation with Linux 5.15Martin Blumenstingl2022-10-221-0/+10
| | | | | | | MODULE_SUPPORTED_DEVICE is gone after Linux 5.15. Drop it's usage on newer kernels to fix compilation with Linux 5.15. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
* kernel: ltq-vdsl-vr9-mei: Fix compilation with Linux 5.15Martin Blumenstingl2022-10-222-10/+71
| | | | | | | The result of copy_to_user() now has to be checked explicitly. Also MODULE_SUPPORTED_DEVICE is gone after Linux 5.10. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
* kernel: ltq-tapi: Fix compilation with Linux 5.15Martin Blumenstingl2022-10-221-0/+10
| | | | | | | MODULE_SUPPORTED_DEVICE was removed after Linux 5.10. Drop it from the driver as well. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
* kernel: ltq-deu: Fix compilation with Linux 5.15Martin Blumenstingl2022-10-223-0/+11
| | | | | | | | | | struct of_device_id is not implicitly included anymore. Include <linux/mod_devicetable.h> to fix compilation on Linux 5.15. Also upstream commit a24d22b225ce15 ("crypto: sha - split sha.h into sha1.h and sha2.h") from Linux 5.11 moves functionality from sha.h to sha1.h. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
* ltq-ifxos: add compatibility with kernel 5.15Jan Hoffmann2022-10-221-0/+68
| | | | | | | set_fs is no longer supported since kernel 5.13 for mips. Signed-off-by: Jan Hoffmann <jan@3e8.eu> Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
* kernel: x86: Add glue_helper.ko only on kernel < 5.12Hauke Mehrtens2022-10-221-2/+2
| | | | | | | This module was removed with kernel 5.12. This fixes the build of the x86 target. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: modules: iio: create and use AddDependsDaniel Golle2022-10-191-52/+55
| | | | | | Just like for other subsystems, create a reusable AddDepends call. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: test for kernel version greater 5.13 to fix mmc-spiNick Hainke2022-10-191-2/+3
| | | | | | | | | | The of_mmc_spi.o resource is provider agnostic in kernels greater 5.13 and does not depend anymore on CONFIG_OF [0]. [0] - https://github.com/torvalds/linux/commit/edd602146507532c1714d8428f654b87205f492e Suggested-by: John Thomson <git@johnthomson.fastmail.com.au> Signed-off-by: Nick Hainke <vincent@systemli.org>
* kernel: disable kmod-fs-ntfs3 for Linux 5.10Rafał Miłecki2022-10-191-0/+1
| | | | | | | | This new NTFS driver was added in kernel 5.15. Avoid building empty package for kernel 5.10. Fixes: bd0db6017b192 ("kernel: 5.15: add new module") Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* rtl8812au-ct: Fix compileHauke Mehrtens2022-10-181-0/+24
| | | | | | | | Replace the extern inline with a static inline. With extern inline the compiler will generate the function in all compile units including this file which breaks linking later. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* mac80211: use board.json provided phy names in generated default configFelix Fietkau2022-10-141-51/+62
| | | | | | The phy will be automatically renamed on setup Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: change the default config for a renamed wiphyFelix Fietkau2022-10-141-21/+28
| | | | | | use option phy to reference the device instead of path/macaddr Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: fix detecting highest radio* config section indexFelix Fietkau2022-10-141-5/+10
| | | | | | Deal with gaps by iterating over existing sections instead of counting Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: rename phy according to board.json entries on bringupFelix Fietkau2022-10-141-3/+65
| | | | | | | This allows phy names specified in board.json to be used directly instead of the path option Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: change default ifname to <phy>-<type><index>Felix Fietkau2022-10-141-2/+17
| | | | | | | | This makes it clear, which phy a wlan device belongs to and also helps with telling them apart by including the mode in the ifname. Preparation for automatically renaming PHYs Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: fix typo in netifd scriptFelix Fietkau2022-10-131-1/+1
| | | | | | Reported-by: Chad Monroe <chad.monroe@smartrg.com> Fixes: 590eaaeed59a ("mac80211: fix issues in HE capabilities") Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: add patch that gives the driver more control over netdev offloadsFelix Fietkau2022-10-131-0/+513
| | | | | | This can be used to selectively disable checksum, SG or GSO offloads Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: backport security fixesFelix Fietkau2022-10-1316-3/+2059
| | | | | | | | | | | This mainly affects scanning and beacon parsing, especially with MBSSID enabled Fixes: CVE-2022-41674 Fixes: CVE-2022-42719 Fixes: CVE-2022-42720 Fixes: CVE-2022-42721 Fixes: CVE-2022-42722 Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: fix issues in HE capabilitiesFelix Fietkau2022-10-131-10/+22
| | | | | | | | | | | Enable HE SU beamformee by default Fix spatial reuse configuration: - he_spr_sr_control is not a bool for enabling, it contains multiple bits which disable features that should be disabled by default - one of the features (PSR) can be enabled through he_spr_psr_enabled - add option to disable bss color / spatial reuse Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: sync rx STP fix with updated versionFelix Fietkau2022-10-071-12/+14
| | | | | | Add back skb length check and fix a minor issue in protocol detection Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: fix issues with receiving small STP packetsFelix Fietkau2022-10-072-0/+122
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: fix compile error when mesh is disabledKoen Vandeputte2022-10-041-1/+3
| | | | | | | | | | | | | | | | | | | This fixes following compile error seen when building mac80211 with mesh disabled: .../backports-5.15.58-1/net/mac80211/agg-rx.c: In function 'ieee80211_send_addba_resp': ...backports-5.15.58-1/net/mac80211/agg-rx.c:255:17: error: 'struct sta_info' has no member named 'mesh' 255 | if (!sta->mesh) | ^~ sta_info.h shows this item as being optional based on flags: struct mesh_sta *mesh; Guard the check to fix this. Fixes: f96744ba6b ("mac80211: mask nested A-MSDU support for mesh") Signed-off-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
* mac80211: mask nested A-MSDU support for meshDavid Bauer2022-10-021-0/+31
| | | | | | | | | | | | mac80211 incorrectly processes A-MSDUs contained in A-MPDU frames. This results in dropped packets and severely impacted throughput. As a workaround, don't indicate support for A-MSDUs contained in A-MPDUs. This improves throughput over mesh links by factor 10. Ref: https://github.com/openwrt/mt76/issues/450 Signed-off-by: David Bauer <mail@david-bauer.net>
* mt76: update to the latest versionFelix Fietkau2022-10-011-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | e4fa68a9b3b3 linux-firmware: update firmware for MT7921 WiFi device 60fcf08fe659 linux-firmware: update firmware for MT7921 WiFi device 9d601f4eee8f linux-firmware: update firmware for MT7922 WiFi device e49b6063fb4b wifi: mt76: move mt76_rate_power from core to mt76x02 driver code 3f27f6adb1ab wifi: mt76: mt76x02: simplify struct mt76x02_rate_power c07f3d2d5ede wifi: mt76: mt7921: fix antenna signal are way off in monitor mode 9059a5de3bd0 wifi: mt76: Remove unused inline function mt76_wcid_mask_test() d75f15ddeb90 wifi: mt76: mt7915: fix bounds checking for tx-free-done command 06df7e689294 wifi: mt76: mt7915: reserve 8 bits for the index of rf registers ad3d0f8db00b wifi: mt76: mt7915: rework eeprom tx paths and streams init 66065073177b wifi: mt76: mt7915: deal with special variant of mt7916 b0114a0abb57 wifi: mt76: mt7915: rework testmode tx antenna setting 6dee964e1f36 wifi: mt76: connac: introduce mt76_connac_spe_idx() 48c116d92939 wifi: mt76: mt7915: add spatial extension index support db6db4ded0fd wifi: mt76: mt7915: set correct antenna for radar detection on MT7915D 2b8f56a72d76 wifi: mt76: mt7915: fix mt7915_mac_set_timing() d554a02554db wifi: mt76: mt7915: move wed init routines in mmio.c 61ce40e65852 wifi: mt76: mt7915: enable wed for mt7986 chipset 584a96ec4a0f wifi: mt76: mt7915: enable wed for mt7986-wmac chipset 172d68b6253d mt76: mt76x02: fix vht rate power array overrun 72b87836d368 Revert "mt76: use IEEE80211_OFFLOAD_ENCAP_ENABLED instead of MT_DRV_AMSDU_OFFLOAD" Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ubnt-ledbar: make package available on other targetsDaniel Golle2022-09-301-2/+2
| | | | | | | | As also ramips/mt7621 now has a user of the ubnt-ledbar driver, make the package available on all targets by removing the dependency on @TARGET_mediatek_mt7622. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: remove hack patch, move kirkwood specific kmods to target modules.mkFelix Fietkau2022-09-302-32/+0
| | | | | | | Tweaking the KCONFIG line of kmod-ata-marvell-sata makes the hack patch unnecessary Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: move ubnt ledbar driver to a separate packageFelix Fietkau2022-09-303-0/+290
| | | | | | | Simplifies the tree by removing a non-upstream kernel patch and related kconfig symbols Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: fix decap offload for stations on AP_VLAN interfacesFelix Fietkau2022-09-301-0/+37
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: netsupport: replace insmod by modprobeManas Sambhus2022-09-271-1/+1
| | | | | | Replace insmod by modprobe in TEQL hotplug script Signed-off-by: Manas Sambhus <manas.sambhus+github@gmail.com>
* build: fix issues with targets installed via feedsFelix Fietkau2022-09-271-3/+4
| | | | | | | - fix including modules.mk when a target is being replaced - fix calling make targets from target/linux Signed-off-by: Felix Fietkau <nbd@nbd.name>
* Revert "mt76: fix compilation error with mt7915 and kernel >= 5.15.61"Christian Marangi2022-09-251-38/+0
| | | | | | | | | | | This reverts commit 6e9613844ca1ddea7e36abc44a513c89ef0598ff. The patch was wrong in the first place as we base everything on backports package and the compilation error was caused by an ath11k present downstream. (will be needed later when backports package will be updated but not now) Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* mt76: fix compilation error with mt7915 and kernel >= 5.15.61Christian Marangi2022-09-251-0/+38
| | | | | | | | With kernel 5.15.61 the define IEEE80211_MAX_AMPDU_BUF got changed to IEEE80211_MAX_AMPDU_BUF_HE. Add patch to fix compilation error on next 5.15 kernel versions. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* mac80211: fix parameter reading for AC_BE tx burstingAlberto Martinez-Alvarez2022-09-241-2/+2
| | | | | | | | | | | | | | | The "tx_burst" option which should control the value was expecting more of a list and hence tx_queue_data2_burst value wasn't updated. Yes, it would make sense to have a list for this, the existing code only updates tx_queue_data2_burst and not the other tx_queue_data[0134]_burst values. Signed-off-by: Alberto Martinez-Alvarez <amteza@gmail.com> (formatted commit message, wrote extra information into commit, moved tx_burst to existing json_get_vars) Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* mac80211: remove broken CFG80211_WEXT select from the r8723bs driverFelix Fietkau2022-09-231-0/+10
| | | | | | Fixes a build error Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: mark lib80211 as hiddenFelix Fietkau2022-09-231-0/+1
| | | | | | | Prevents build errors by ensuring that it is only selected when a wext based driver that needs it is also selected Signed-off-by: Felix Fietkau <nbd@nbd.name>
* acx-mac80211: set DL_DIR to package specific subdirectoryMichael Pratt2022-09-221-0/+2
| | | | | | | | | | | | | | | | | This package downloads raw files which have names that are not corresponding to the name and version of the package as it is defined in the Makefile. Use the option DL_SUBDIR to set the DL_DIR to be a subdirectory named with PKG_NAME and PKG_SOURCE_DATE to better organize the downloads. Define PKG_VERSION here using PKG_SOURCE_DATE. Signed-off-by: Michael Pratt <mcpratt@pm.me>
* mac80211: disable drivers that rely on wireless extensionsFelix Fietkau2022-09-223-0/+5
| | | | | | They are unmaintained and don't work properly with current wifi scripts Signed-off-by: Felix Fietkau <nbd@nbd.name>