mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-28 17:48:58 +00:00
323e249ce8
This updates mac80211 to version 6.1.97-1. This code is based on Linux 6.1.97 and contains all fixes included in the upstream wireless subsystem from that kernel version. This includes many bugfixes and also some security fixes. The removed patches are already integrated in upstream Linux 6.1.97 or in backports. The following patches were integrated in upstream Linux: ath11k/0013-wifi-ath11k-synchronize-ath11k_mac_he_gi_to_nl80211_.patch ath11k/0035-wifi-ath11k-Use-platform_get_irq-to-get-the-interrup.patch ath11k/0036-wifi-ath11k-fix-SAC-bug-on-peer-addition-with-sta-ba.patch ath11k/0047-wifi-ath11k-fix-deinitialization-of-firmware-resourc.patch ath11k/0053-wifi-ath11k-fix-writing-to-unintended-memory-region.patch ath11k/0060-wifi-ath11k-Ignore-frags-from-uninitialized-peer-in-.patch ath11k/0065-wifi-ath11k-fix-tx-status-reporting-in-encap-offload.patch ath11k/0067-wifi-ath11k-Fix-SKB-corruption-in-REO-destination-ri.patch ath11k/0069-wifi-ath11k-fix-registration-of-6Ghz-only-phy-withou.patch ath11k/0080-wifi-ath11k-add-support-default-regdb-while-searchin.patch ath11k/0085-wifi-ath11k-fix-memory-leak-in-WMI-firmware-stats.patch ath11k/0086-wifi-ath11k-Add-missing-check-for-ioremap.patch ath11k/0096-wifi-ath11k-fix-boot-failure-with-one-MSI-vector.patch subsys/337-wifi-mac80211-fix-race-condition-on-enabling-fast-xm.patch The following patches were integrated in upstream backports: ath11k/901-wifi-ath11k-pci-fix-compilation-in-5.16-and-older.patch build/080-resv_start_op.patch build/110-backport_napi_build_skb.patch The following files are missing in backports, we do not have to remove them any more. Some were already missing before some were removed in this update: include/linux/cordic.h include/linux/crc8.h include/linux/eeprom_93cx6.h include/linux/wl12xx.h include/net/ieee80211.h backport-include/linux/bcm47xx_nvram.h include/linux/ath9k_platform.h include/net/bluetooth/ backports ships a dummy Mediatek wed header for older kernel versions. We backported the feature in our kernel, remove the dummy header: backport-include/linux/soc/mediatek/mtk_wed.h Remove header files for subsystems used form the mainline kernel: include/trace/events/qrtr.h include/net/rsi_91x.h backport-include/linux/platform_data/brcmnand.h Link: https://github.com/openwrt/openwrt/pull/15827 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
77 lines
2.4 KiB
Diff
77 lines
2.4 KiB
Diff
From 54e0f9aaf340377fb76acdffee9ec7372c4b70ae Mon Sep 17 00:00:00 2001
|
|
From: Robert Marko <robimarko@gmail.com>
|
|
Date: Mon, 17 Oct 2022 11:35:36 +0200
|
|
Subject: [PATCH] backports: drop QRTR and MHI
|
|
|
|
Backports currently include QRTR and MHI due to ath11k-pci requiring them,
|
|
however this at the same time prevents us from adding ath11k-ahb as it
|
|
also requires QRTR however its AHB variant from the kernel will conflict
|
|
with the core provided by backports.
|
|
|
|
Since MHI also conflicts with existing OpenWrt kmods providing MHI drop
|
|
both from backports and use the ones provided by OpenWrt kernel.
|
|
|
|
Signed-off-by: Robert Marko <robimarko@gmail.com>
|
|
---
|
|
Kconfig.sources | 2 --
|
|
Makefile.kernel | 2 --
|
|
drivers/net/wireless/ath/ath11k/Kconfig | 6 +++---
|
|
local-symbols | 8 --------
|
|
4 files changed, 3 insertions(+), 15 deletions(-)
|
|
|
|
--- a/Kconfig.sources
|
|
+++ b/Kconfig.sources
|
|
@@ -4,8 +4,6 @@ source "$BACKPORT_DIR/compat/Kconfig"
|
|
# these are copied from the kernel
|
|
source "$BACKPORT_DIR/net/wireless/Kconfig"
|
|
source "$BACKPORT_DIR/net/mac80211/Kconfig"
|
|
-source "$BACKPORT_DIR/net/qrtr/Kconfig"
|
|
-source "$BACKPORT_DIR/drivers/bus/mhi/Kconfig"
|
|
source "$BACKPORT_DIR/drivers/soc/qcom/Kconfig"
|
|
source "$BACKPORT_DIR/drivers/net/wireless/Kconfig"
|
|
source "$BACKPORT_DIR/drivers/net/usb/Kconfig"
|
|
--- a/Makefile.kernel
|
|
+++ b/Makefile.kernel
|
|
@@ -38,9 +38,7 @@ obj-y += compat/
|
|
|
|
obj-$(CPTCFG_CFG80211) += net/wireless/
|
|
obj-$(CPTCFG_MAC80211) += net/mac80211/
|
|
-obj-$(CPTCFG_QRTR) += net/qrtr/
|
|
obj-$(CPTCFG_QCOM_QMI_HELPERS) += drivers/soc/qcom/
|
|
-obj-$(CPTCFG_MHI_BUS) += drivers/bus/mhi/
|
|
obj-$(CPTCFG_WLAN) += drivers/net/wireless/
|
|
obj-$(CPTCFG_USB_NET_RNDIS_WLAN) += drivers/net/usb/
|
|
|
|
--- a/drivers/net/wireless/ath/ath11k/Kconfig
|
|
+++ b/drivers/net/wireless/ath/ath11k/Kconfig
|
|
@@ -25,9 +25,9 @@ config ATH11K_PCI
|
|
tristate "Atheros ath11k PCI support"
|
|
depends on m
|
|
depends on ATH11K && PCI
|
|
- select MHI_BUS
|
|
- select QRTR
|
|
- select QRTR_MHI
|
|
+ depends on MHI_BUS
|
|
+ depends on QRTR
|
|
+ depends on QRTR_MHI
|
|
help
|
|
This module adds support for PCIE bus
|
|
|
|
--- a/local-symbols
|
|
+++ b/local-symbols
|
|
@@ -57,14 +57,6 @@ MAC80211_MESH_PS_DEBUG=
|
|
MAC80211_TDLS_DEBUG=
|
|
MAC80211_DEBUG_COUNTERS=
|
|
MAC80211_STA_HASH_MAX_SIZE=
|
|
-QRTR=
|
|
-QRTR_SMD=
|
|
-QRTR_TUN=
|
|
-QRTR_MHI=
|
|
-MHI_BUS=
|
|
-MHI_BUS_DEBUG=
|
|
-MHI_BUS_PCI_GENERIC=
|
|
-MHI_BUS_EP=
|
|
QCOM_AOSS_QMP=
|
|
QCOM_COMMAND_DB=
|
|
QCOM_CPR=
|