aboutsummaryrefslogtreecommitdiff
path: root/package/kernel
Commit message (Collapse)AuthorAge
...
* qca-ssdk: drop not used Malibu PHY patchRobert Marko2024-02-15
| | | | | | | Now that Malibu (QCA807x) PHY-s use an upstream driver we dont need support for defining address of the first PHY in the package so drop the patch. Signed-off-by: Robert Marko <robimarko@gmail.com>
* qca-ssdk: drop deprecated Xiaomi LEDs quirk patchChristian Marangi2024-02-11
| | | | | | | Drop deprecated Xiaomi LEDs quirk patches as they are not needed anymore as LEDs are now supported by the upstream qca807x driver. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* qca-ssdk: add patch to support detection of PSGMII mode for PHYChristian Marangi2024-02-11
| | | | | | | | | | | If a PHY doesn't use the integrated driver, SSDK use poll the phydev to get the real PHY mode. qca807x use PSGMII as PHY mode and this specific mode is not detected in qca SSDK while used in the entire driver. Add support for it in the hsl_port_phydev_interface_mode_status_get function used to translate PHY mode to the internal SSDK value. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* qca-ssdk: disable Malibu PHY in favor of upstream versionChristian Marangi2024-02-11
| | | | | | | | | | Disable Malibu PHY driver in Qca SSDK in favor of the upstream version. The same workaround are applied and the version upstream is just a drop in replacement and is well tested from the ipq40xx target. Also using the upstream version permits further support for LEDs. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* qca-ssdk: add support for ipq60xxRobert Marko2024-02-09
| | | | | | | | | IPQ60xx uses a different codename for SSDK, so lets pass the correct one as otherwise SSDK asumes we are building for the old MIPS SoC-s. Signed-off-by: Robert Marko <robimarko@gmail.com> [ drop outdated commit description info ] Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* kernel: modules: video: add missing video-mem2mem symbolÁlvaro Fernández Rojas2024-02-05
| | | | | | v4l2-mem2mem.ko needs CONFIG_V4L2_MEM2MEM_DEV symbol. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* kernel: modules: video: add missing video-videobuf2 symbolÁlvaro Fernández Rojas2024-02-05
| | | | | | videobuf2-v4l2.ko needs CONFIG_VIDEOBUF2_V4L2 symbol. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* kernel: modules: video: remove v4l2-common from video-coreÁlvaro Fernández Rojas2024-02-05
| | | | | | | v4l2-common.ko was merged into videodev.ko and no longer exists. Fixes: ac5671f46cb4 ("kernel: remove obsolete kernel version switches for 4.19") Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* mt76: update to Git HEAD (2024-02-03)Felix Fietkau2024-02-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a9693e1979c2 linux-firmware: add firmware for MT7996 0258dc90e3a1 wifi: mt76: mt7603: fix reading target power from eeprom 3e81173d9e2b wifi: mt76: mt7603: initialize chainmask 786a339bac36 wifi: mt76: mt7996: fix fortify warning bc37a7ebc267 wifi: mt76: mt7996: fix fw loading timeout 027bab6a88a3 wifi: mt76: usb: create a dedicated queue for psd traffic e8909c610c3b wifi: mt76: usb: store usb endpoint in mt76_queue 8b3d96fa4ead wifi: mt76: mt792xu: enable dmashdl support 7864d7ad0ed0 wifi: mt76: mt76x2u: add netgear wdna3100v3 to device table 27c81f7c1480 wifi: mt76: mt7925: fix connect to 80211b mode fail in 2Ghz band b7443c63069a wifi: mt76: mt7925: fix SAP no beacon issue in 5Ghz and 6Ghz band bab721a65f5a wifi: mt76: mt7925: fix mcu query command fail 1f0f71ed81e8 wifi: mt76: mt7925: fix wmm queue mapping bcfe2ad966f3 wifi: mt76: mt7925: fix fw download fail f982c3d67a29 wifi: mt76: mt7925: fix WoW failed in encrypted mode 6a72716ec213 wifi: mt76: mt7925: fix the wrong header translation config 50928b7e1359 wifi: mt76: mt7925: add flow to avoid chip bt function fail 762ab4530e8f wifi: mt76: mt7925: add support to set ifs time by mcu command 87deaf82efa4 wifi: mt76: mt7925: update PCIe DMA settings c190c1576522 wifi: mt76: mt7925: support temperature sensor 025d5734caba wifi: mt76: mt7996: check txs format before getting skb by pid 4768bfa2baca wifi: mt76: mt7996: fix TWT issues a65e3eced907 wifi: mt76: mt7996: disable AMSDU for non-data frames d71716d93aee wifi: mt76: mt7996: fix incorrect interpretation of EHT MCS caps f21728f3f4bd wifi: mt76: mt7996: ensure 4-byte alignment for beacon commands 68dad7dacd2a wifi: mt76: mt7996: fix HE beamformer phy cap for station vif 66a28f340cdc wifi: mt76: mt7996: mark GCMP IGTK unsupported b47ad8a7764e wifi: mt76: mt7996: fix efuse reading issue c2fc7dae7b72 wifi: mt76: mt7996: remove TXS queue setting e0f1ed168ed5 wifi: mt76: mt7996: add locking for accessing mapped registers d0cc92c1fd08 wifi: mt76: connac: set correct muar_idx for mt799x chipsets ae0c62279adc wifi: mt76: mt7996: fix HIF_TXD_V2_1 value ecc14276af54 wifi: mt76: mt792x: fix ethtool warning 9827df56b241 wifi: mt76: move wed common utilities in wed.c dccbd2598505 wifi: mt76: mt7925: fix the wrong data type for scan command 9907f4f20261 wifi: mt76: mt792x: add the illegal value check for mtcl table of acpi 1b088a7ac06d wifi: mt76: mt7921e: fix use-after-free in free_irq() f3c5b4820d7f wifi: mt76: mt7925e: fix use-after-free in free_irq() d75eac9f5531 wifi: mt76: mt7921: fix incorrect type conversion for CLC command 7bd5401f5bb1 wifi: mt76: mt792x: fix a potential loading failure of the 6Ghz channel config from ACPI ea55196bc4a0 wifi: mt76: mt792x: update the country list of EU for ACPI SAR 6124ea9135ed wifi: mt76: mt7921: fix the unfinished command of regd_notifier before suspend Signed-off-by: Felix Fietkau <nbd@nbd.name>
* broadcom-wl: remove packageFelix Fietkau2024-02-03
| | | | | | | Also remove remaining wireless extension support, since this package was the only in-tree user of it Signed-off-by: Felix Fietkau <nbd@nbd.name>
* wifi-scripts: add new package, move wifi scripts to a single placeFelix Fietkau2024-02-03
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: modules: video: fix video-coda for 6.1Tim Harvey2024-02-02
| | | | | | | The coda kernel modules were moved between 5.15 and 6.1. Adapt the coda-vpu and imx-vdoa modules for that. Signed-off-by: Tim Harvey <tharvey@gateworks.com>
* kernel: modules: video: fix drm-imx for 6.1Tim Harvey2024-02-02
| | | | | | | | Linux 6.1 changed DRM_GEM_DMA_HELPER to a module (drm_dma_helper.ko). Add this to the drm-imx to fix module dependencies. Signed-off-by: Tim Harvey <tharvey@gateworks.com>
* kernel: modules: video: fix kmod-imx-pxp build for 6.1Lech Perczak2024-02-02
| | | | | | | Location of the module file was changed between 5.15 and 6.1. Adapt the recipe for that. Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
* kernel: modules: video: fix video-core for 6.1Tim Harvey2024-02-02
| | | | | | | | Linux 6.1 wraps core video drivers in a MEDIA_PLATFORM_DRIVERS submenu. Enable that for 6.1 and add some new necessary undefines to target/linux/generic/config-6.1 to avoid build failures. Signed-off-by: Tim Harvey <tharvey@gateworks.com>
* kernel: modules: video: fix kmod-video-imx-ldb build under 6.1Lech Perczak2024-02-02
| | | | | | | drm_dp_aux_bus.ko isn't built or required anymore under kernel 6.1. Mark that in the recipe. Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
* kernel: modules: video: fix deps for kmod-drm-imx-hdmi for 6.1Lech Perczak2024-02-02
| | | | | | | kmod-drm-imx-hdmi depends on kmod-drm-display-helper since 6.1. Include that in OpenWrt's recipes. Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
* lantiq: add support for AVM Fritzbox 7490Daniel Kestrel2024-02-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds support for the Fritzbox 7490 device. It contains two SoCs, one Lantiq without WiFi and one QCA9558 with 2.4GHz and 5 GHz WiFi. Only the Lantiq has access to the flash memory, the Atheros runs fully from RAM and is booted by using a remoteproc kernel module and is not supported with this commit. The devices were manufactured with varying NAND chips which requires Micron and non-Micron versions of the images. Specifications: - SoC: Lantiq 500 MHz - RAM: 256 MB - Storage: 512 MB NAND, 1MB FLASH - Wireless, separate SOC QCA9558 with 128MB RAM (not supported yet): · Qualcomm-QCA9558 w/ 3×3 MIMO for 2.4GHz 802.11b/g/n · Qualcomm-QCA9880 w/ 3×3 MIMO for 5GHz 802.11a/ac · AG71xx ethernet - Ethernet: Built-in AR 803x, 7 port 4 phy switch, 4x 1000/100/10 port, Port 5 is fixed and connected to the WASP SOC - Renesas µPD720202 USB3 PCIe, requires firmware binary on the device - VDSL2 modem Unsupported: - DECT and ISDN telephony Installation: Check which NAND the device has by using the following procedure with stock firmware: Go to to http://<fritzbox_ip>/support.lua, download the support data file and search for string "NAND device" to get the manufacturer kernel output. Use Micron image if Micron is displayed otherwise the non-Micron image. Use the eva_ramboot.py script to boot the initramfs image. Follow the procedure to interrupt booting by ftp into 192.168.178.1 within 5 seconds after poweron. Then transfer the sysupgrade image to the device and run sysupgrade to flash it to the NAND. For making USB work, an renesas xhci firmware file (e.g. v2026) is needed and it should be copied to /lib/firmware/ (file name renesas_usb_fw.mem). Signed-off-by: Daniel Kestrel <kestrel1974@t-online.de>
* kernel: move gpio packages to gpio menuChukun Pan2024-02-01
| | | | | | Move gpio packages to the 'GPIO support' menu. Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
* kernel: modules: move gpio modules to gpio menuChukun Pan2024-02-01
| | | | | | | | Since we have the 'GPIO support' menu, it is strange to look up gpio related modules in 'Other modules' menu. So move these modules and put them in the gpio menu. Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
* kernel: modules: gpio.mk: renamed from gpio-cascade.mkChukun Pan2024-02-01
| | | | | | This can be used to place the gpio module, so rename it. Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
* qca-ssdk: disable compiling qca8081 PHY driver in favor of upstreamChristian Marangi2024-01-27
| | | | | | | Disable compiling qca8081 PHY driver in favor of upstream to better support it and add better control of attached LEDs. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* mac80211: brcm: fix warning on ARCH_BCM2835Álvaro Fernández Rojas2024-01-27
| | | | | | | | | Completely disable dump_survey code on ARCH_BCM2835 to fix defined but not used warning. https://github.com/openwrt/openwrt/commit/512b762ddbb602b744f0e7a443cf4ac7422155c1?w=1#commitcomment-137899352 Fixes: 512b762ddbb6 ("mac80211: brcm: disable dump_survey on Raspberry Pi") Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* mac80211: brcm: disable dump_survey on Raspberry PiÁlvaro Fernández Rojas2024-01-26
| | | | | | | | Enabling this causes slow iwinfo calls on Raspberry Pi and LuCI slows down when wireless is enabled. Fixes: https://github.com/openwrt/openwrt/issues/14013 Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* mac80211: brcm: remove alternative DT firmware names patchÁlvaro Fernández Rojas2024-01-26
| | | | | | | This patch has been reverted in the Raspberry Pi linux repository. Also refresh the rest of the patches. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* generic: 5.15: backport upstream Aquantia PHY firmware loader patchesChristian Marangi2024-01-26
| | | | | | | | | | | | | | Backport merged upstream patch that adds support for firmware loader from NVMEM or attached filesystem for Aquantia PHYs. Refresh all kernel patches affected by this change. Also update the path for aquantia .ko that got moved to dedicated directory upstream. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com> [rmilecki: port to 5.15] Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* mac80211: fix typo in getting path from board.jsonFelix Fietkau2024-01-26
| | | | | | | Use json_get_vars in order to avoid getting bogus values when extra properties are present Signed-off-by: Felix Fietkau <nbd@nbd.name>
* hostapd: remove obsolete functionFelix Fietkau2024-01-25
| | | | | | Leftover from authsae, which was removed a long time ago Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to Git HEAD (2024-01-18)Felix Fietkau2024-01-19
| | | | | | | | | | | | | | 83e3947e2c52 linux-firmware: update firmware for MT7922 WiFi device ddaa8cb6e81a linux-firmware: update firmware for MT7921 WiFi device f83b1601cc10 linux-firmware: update firmware for MT7922 WiFi device 61d334ab0f33 linux-firmware: add firmware for MT7925 a7836e4c8a60 wifi: mt76: disable HW AMSDU when using fixed rate a8571ebbcd95 wifi: mt76: check txs format before getting skb by pid 3d5890e2cab3 wifi: mt76: mt7915: fix error recovery with WED enabled 703c26d01197 wifi: mt76: mt7915: add locking for accessing mapped registers f77188160441 wifi: mt76: mt7915: update mt798x_wmac_adie_patch_7976 Signed-off-by: Felix Fietkau <nbd@nbd.name>
* bcm27xx-gpu-fw: update to latest versionÁlvaro Fernández Rojas2024-01-16
| | | | | | | | | raspberrypi/firmware is about 40G, so getting the full history log isn't an option. There have been multiple improvements and also support for the RPi 5 has been added. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* kernel: add kmod-leds-lp5562 and kmod-leds-lp55xx-commonCheWei Chien2024-01-15
| | | | | | | Add kernel module for lp5562 LED driver. The kmod-leds-lp5562 depends on kmod-leds-lp55xx-common. Signed-off-by: CheWei Chien <chewei.chien@wnc.com.tw>
* Revert "mac80211: rework interface setup, fix race condition"Felix Fietkau2024-01-13
| | | | | | | | This reverts commit b7f9742da82fa9b122e8d63e48a9a5c0dec298f2. There are several reports of regressions with this commit. Will be added back once I've figured out and fixed the cause Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: rework interface setup, fix race conditionFelix Fietkau2024-01-11
| | | | | | | Only tell netifd about vifs when the setup is complete and hostapd + wpa_supplicant have been notified Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211.sh: fix deadlock on configuring multiple PHYs simultaneouslyFelix Fietkau2024-01-11
| | | | | | | | When hitting a timing window where ubus configuration calls are hitting hostapd and wpa_supplicant simultaneously, they can deadlock waiting for each other. Fix this by using a lock around the ubus calls. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: do not emit VHT160 capabilities if channel width is less than 160 MHzFelix Fietkau2024-01-09
| | | | | | Fixes compatibility issues with VHT160 capable clients Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: avoid crashing on invalid band infoDavid Bauer2024-01-07
| | | | | | | | | | | | | | | Frequent crashes have been observed on MT7916 based platforms. While the root of these crashes are currently unknown, they happen when decoding rate information of connected STAs in AP mode. The rate-information is associated with a band which is not available on the PHY. Check for this condition in order to avoid crashing the whole system. This patch should be removed once the roout cause has been found and fixed. Link: https://github.com/freifunk-gluon/gluon/issues/2980 Signed-off-by: David Bauer <mail@david-bauer.net>
* kernel: include modinfo for built-in modulesTony Ambardar2024-01-06
| | | | | | | | | | | | | | | | | | Add modules.builtin.modinfo to the kernel package, to support presence testing using module aliases and printing module details with 'modinfo'. With related kmodloader changes this adds ~2 KB to compressed image sizes. root@OpenWrt:/# modinfo unix name: unix filename: (builtin) alias: net-pf-1 license: GPL root@OpenWrt:/# modprobe net-pf-1 && echo SUCCESS || echo FAIL SUCCESS Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* kernel: include built-in module listTony Ambardar2024-01-06
| | | | | | | | | | | | | | | | | | | | | | Add modules.builtin to the kernel package for improved handling of loadable and builtin modules. As with other distros, this allows 'modprobe <module>' to consistently return success for both loaded/built-in modules, a useful feature for presence-testing. Given OpenWrt's few built-in modules, this change and related kmodloader support add ~1 KB to the compressed image size. Using sch_fq_codel (builtin) and sch_cake (loadable) for example: root@OpenWrt:/# modprobe sch_fq_codel && echo SUCCESS || echo FAIL SUCCESS root@OpenWrt:/# modprobe sch_cake && echo SUCCESS || echo FAIL SUCCESS root@OpenWrt:/# rmmod sch_fq_codel module is builtin Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* mac80211: add missing newline for "min_tx_power"Rany Hany2024-01-05
| | | | | | | This prevents min_tx_power from functioning properly in some circumstances. Add the missing newline. Signed-off-by: Rany Hany <rany_hany@riseup.net>
* linux/modules: remove deprecated moduleJohn Audia2024-01-04
| | | | | | | | | Remove upstream deprecated module from our build, see[1] 1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit?h=v5.15.145&id=6cd90c01b032f335d18966b2d979eef43eb2cfc1 Suggested-by: Shiji Yang <yangshiji66@qq.com> Signed-off-by: John Audia <therealgraysky@proton.me>
* mac80211: fix a race condition related to enabling fast-xmitFelix Fietkau2024-01-04
| | | | | | | | | | fast-xmit must only be enabled after the sta has been uploaded to the driver, otherwise it could end up passing the not-yet-uploaded sta via drv_tx calls to the driver, leading to potential crashes because of uninitialized drv_priv data. Add a missing sta->uploaded check and re-check fast xmit after inserting a sta. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: fix flush during station removalOldřich Jedlička2023-12-24
| | | | | | | | | | This fixes WARN_ONs when using AP_VLANs after station removal. The flush call passed AP_VLAN vif to driver, but because these vifs are virtual and not registered with drivers, we need to translate to the correct AP vif first. Fixes: openwrt#12420 Signed-off-by: Oldřich Jedlička <oldium.pro@gmail.com>
* mt76: update to Git HEAD (2023-12-18)Felix Fietkau2023-12-18
| | | | | | bebd9cffc2ae wifi: mt76: mt7921: fix 6GHz disabled by the missing default CLC config Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: backport list_count_nodes()Rafał Miłecki2023-12-15
| | | | | | | It's needed by various stuff we backport. That includes NVMEM changes queued for v6.8. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* package: kernel: detach of-mdio dependency from stmmac-coreChristian Marangi2023-12-13
| | | | | | | | | | | | | Detach of-mdio dependency from stmmac-core kmod to fix support for x86_64 target. This target doesn't use OpenFirmware infrastructure and stmmac-core for the dwmac-intel driver doesn't depends on it. Add kmod-of-mdio to any other user of stmmac-core as it's not inherit from stmmac-core anymore. Fixes: #14209 Fixes: 4b4c940fbc8f ("x86: Add kmod-dwmac-intel") Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* package: kernel: move pcs-xpcs from armsr to genericChristian Marangi2023-12-13
| | | | | | | | | | Move pcs-xpcs kmod from armsr modules.mk to generic modules package. Also add additional dependency to x86_64 as stmmac-core it's now used by x86_64 target and depends on this package. Fixes: 4b4c940fbc8f ("x86: Add kmod-dwmac-intel") Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* kernel: modules: package MT7986 audio driversDaniel Golle2023-12-11
| | | | | | | Packages the audio drivers for the MediaTek MT7986 SoC used with Wolfson WM8960 codec. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: modules: break-out WM8960 codec moduleDaniel Golle2023-12-11
| | | | | | | Package codec module for WM8960 in its own package to be used by more than one target. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mt76: update to Git HEAD (2023-12-11)Felix Fietkau2023-12-11
| | | | | | f63f87cd5b45 wifi: mt76: mt7996: fix shift overflow warning on 32 bit systems Signed-off-by: Felix Fietkau <nbd@nbd.name>
* x86: kernel: modules: clean makefilesPascal Coudurier2023-12-09
| | | | Signed-off-by: Pascal Coudurier <coudu@gmx.com>