aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorChristian Marangi <ansuelsmth@gmail.com>2022-09-25 20:34:46 +0200
committerChristian Marangi <ansuelsmth@gmail.com>2022-09-25 20:36:42 +0200
commit4ed90e84f87e8284cb98d0ed99de041a8a4cde35 (patch)
treef01f66eabd6f880b62b057a4094873d7effcac08 /package/kernel
parentd924a75be360dfddc69cd8dedd2fc88aa19598a1 (diff)
downloadupstream-4ed90e84f87e8284cb98d0ed99de041a8a4cde35.tar.gz
upstream-4ed90e84f87e8284cb98d0ed99de041a8a4cde35.tar.bz2
upstream-4ed90e84f87e8284cb98d0ed99de041a8a4cde35.zip
Revert "mt76: fix compilation error with mt7915 and kernel >= 5.15.61"
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>
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/mt76/patches/0001-mt76-mt7915-fix-changed-IEEE80211_MAX_AMPDU_BUF-defi.patch38
1 files changed, 0 insertions, 38 deletions
diff --git a/package/kernel/mt76/patches/0001-mt76-mt7915-fix-changed-IEEE80211_MAX_AMPDU_BUF-defi.patch b/package/kernel/mt76/patches/0001-mt76-mt7915-fix-changed-IEEE80211_MAX_AMPDU_BUF-defi.patch
deleted file mode 100644
index 885c0aee04..0000000000
--- a/package/kernel/mt76/patches/0001-mt76-mt7915-fix-changed-IEEE80211_MAX_AMPDU_BUF-defi.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From 2994307fe092a9627e12ad7cd9f32f4d36c201d8 Mon Sep 17 00:00:00 2001
-From: Christian Marangi <ansuelsmth@gmail.com>
-Date: Sun, 25 Sep 2022 15:58:37 +0200
-Subject: [PATCH] mt76: mt7915: fix changed IEEE80211_MAX_AMPDU_BUF define in
- new kernel
-
-New kernel use IEEE80211_MAX_AMPDU_BUF_HE instead of
-IEEE80211_MAX_AMPDU_BUF.
-This got backported to stable kernel 5.15.61 and cause compilation
-error.
-Add required ifdef to handle this changed define.
-
-Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
----
- mt7915/init.c | 5 +++++
- 1 file changed, 5 insertions(+)
-
-diff --git a/mt7915/init.c b/mt7915/init.c
-index 489f6e77..1813370a 100644
---- a/mt7915/init.c
-+++ b/mt7915/init.c
-@@ -327,8 +327,13 @@ mt7915_init_wiphy(struct ieee80211_hw *hw)
- struct mt7915_dev *dev = phy->dev;
-
- hw->queues = 4;
-+#if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 15, 61))
- hw->max_rx_aggregation_subframes = IEEE80211_MAX_AMPDU_BUF;
- hw->max_tx_aggregation_subframes = IEEE80211_MAX_AMPDU_BUF;
-+#else
-+ hw->max_rx_aggregation_subframes = IEEE80211_MAX_AMPDU_BUF_HE;
-+ hw->max_tx_aggregation_subframes = IEEE80211_MAX_AMPDU_BUF_HE;
-+#endif
- hw->netdev_features = NETIF_F_RXCSUM;
-
- hw->radiotap_timestamp.units_pos =
---
-2.37.2
-