aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/rtl8812au-ct
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2020-06-20 23:11:17 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2020-07-23 23:39:56 +0200
commited2015c38617ed6624471e77f27fbb0c58c8c660 (patch)
tree826f064eb96f6bfe23e478ce0e94acb23a30be63 /package/kernel/rtl8812au-ct
parentd1100c76b33ff68c6db0f5fa31a26532bdbb15c4 (diff)
downloadupstream-ed2015c38617ed6624471e77f27fbb0c58c8c660.tar.gz
upstream-ed2015c38617ed6624471e77f27fbb0c58c8c660.tar.bz2
upstream-ed2015c38617ed6624471e77f27fbb0c58c8c660.zip
mac80211: Update to version 5.8-rc2-1
The following patches: * 972-ath10k_fix-crash-due-to-wrong-handling-of-peer_bw_rxnss_override-parameter.patch * 973-ath10k_fix-band_center_freq-handling-for-VHT160-in-recent-firmwares.patch are replaced by this commit in the upstream kernel: * 3db24065c2c8 ("ath10k: enable VHT160 and VHT80+80 modes") The following patches were applied upstream: * 001-rt2800-enable-MFP-support-unconditionally.patch * 090-wireless-Use-linux-stddef.h-instead-of-stddef.h.patch The rtw88 driver is now split into multiple kernel modules, just put it all into one OpenWrt kernel package. rtl8812au-ct was patched to compile against the mac80211 from kernel 5.8, but not runtime tested. Add a patch which fixes ath10k on IPQ40XX, this patch was send upstream and fixes a crash when loading ath10k on this SoC. Tested-by: Stefan Lippers-Hollmann <s.l-h@gmx.de> [ipq40xx/ map-ac2200] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'package/kernel/rtl8812au-ct')
-rw-r--r--package/kernel/rtl8812au-ct/patches/003-wireless-5.8.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/package/kernel/rtl8812au-ct/patches/003-wireless-5.8.patch b/package/kernel/rtl8812au-ct/patches/003-wireless-5.8.patch
new file mode 100644
index 0000000000..64c5ab162b
--- /dev/null
+++ b/package/kernel/rtl8812au-ct/patches/003-wireless-5.8.patch
@@ -0,0 +1,37 @@
+--- a/os_dep/linux/ioctl_cfg80211.c
++++ b/os_dep/linux/ioctl_cfg80211.c
+@@ -5177,6 +5177,14 @@ exit:
+ return ret;
+ }
+
++#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 8, 0)) || defined(BUILD_OPENWRT)
++static void cfg80211_rtw_update_mgmt_frame_registrations(struct wiphy *wiphy,
++ struct wireless_dev *wdev,
++ struct mgmt_frame_regs *upd)
++{
++
++}
++#else
+ static void cfg80211_rtw_mgmt_frame_register(struct wiphy *wiphy,
+ #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 6, 0))
+ struct wireless_dev *wdev,
+@@ -5205,6 +5213,7 @@ static void cfg80211_rtw_mgmt_frame_regi
+ exit:
+ return;
+ }
++#endif
+
+ #if defined(CONFIG_TDLS) && (LINUX_VERSION_CODE >= KERNEL_VERSION(3,2,0))
+ static int cfg80211_rtw_tdls_mgmt(struct wiphy *wiphy,
+@@ -6019,7 +6028,10 @@ static struct cfg80211_ops rtw_cfg80211_
+ .cancel_remain_on_channel = cfg80211_rtw_cancel_remain_on_channel,
+ #endif
+
+-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,37)) || defined(COMPAT_KERNEL_RELEASE)
++#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,8,0)) || defined(BUILD_OPENWRT)
++ .mgmt_tx = cfg80211_rtw_mgmt_tx,
++ .update_mgmt_frame_registrations = cfg80211_rtw_update_mgmt_frame_registrations,
++#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,37)) || defined(COMPAT_KERNEL_RELEASE)
+ .mgmt_tx = cfg80211_rtw_mgmt_tx,
+ .mgmt_frame_register = cfg80211_rtw_mgmt_frame_register,
+ #elif (LINUX_VERSION_CODE>=KERNEL_VERSION(2,6,34) && LINUX_VERSION_CODE<=KERNEL_VERSION(2,6,35))