diff -Nru rtl8812au-4.3.8.12175.20140902+dfsg/debian/changelog rtl8812au-4.3.8.12175.20140902+dfsg/debian/changelog --- rtl8812au-4.3.8.12175.20140902+dfsg/debian/changelog 2023-12-12 13:56:39.000000000 +0000 +++ rtl8812au-4.3.8.12175.20140902+dfsg/debian/changelog 2024-01-12 14:52:22.000000000 +0000 @@ -1,3 +1,9 @@ +rtl8812au (4.3.8.12175.20140902+dfsg-0ubuntu22) noble; urgency=medium + + * Support Linux 6.7 (LP: #2049212). + + -- Paolo Pisati Fri, 12 Jan 2024 14:52:22 +0000 + rtl8812au (4.3.8.12175.20140902+dfsg-0ubuntu21) noble; urgency=medium * Fix dkms.conf to build against the requested kernel, rather than the diff -Nru rtl8812au-4.3.8.12175.20140902+dfsg/debian/patches/6.7-kernel-compatibility.patch rtl8812au-4.3.8.12175.20140902+dfsg/debian/patches/6.7-kernel-compatibility.patch --- rtl8812au-4.3.8.12175.20140902+dfsg/debian/patches/6.7-kernel-compatibility.patch 1970-01-01 00:00:00.000000000 +0000 +++ rtl8812au-4.3.8.12175.20140902+dfsg/debian/patches/6.7-kernel-compatibility.patch 2024-01-12 14:52:13.000000000 +0000 @@ -0,0 +1,42 @@ +From 0a344cf1f8f7d9c294cbb2e236b15bb225a5c1a0 Mon Sep 17 00:00:00 2001 +From: Paolo Pisati +Date: Fri, 12 Jan 2024 14:50:44 +0000 +Subject: [PATCH] 6.7 kernel compatibility + +Signed-off-by: Paolo Pisati +--- + os_dep/linux/ioctl_cfg80211.c | 11 ++++++++++- + 1 file changed, 10 insertions(+), 1 deletion(-) + +diff --git a/os_dep/linux/ioctl_cfg80211.c b/os_dep/linux/ioctl_cfg80211.c +index 947f73c..4f11501 100644 +--- a/os_dep/linux/ioctl_cfg80211.c ++++ b/os_dep/linux/ioctl_cfg80211.c +@@ -4232,14 +4232,23 @@ static int cfg80211_rtw_start_ap(struct wiphy *wiphy, struct net_device *ndev, + } + + static int cfg80211_rtw_change_beacon(struct wiphy *wiphy, struct net_device *ndev, +- struct cfg80211_beacon_data *info) ++#if (LINUX_VERSION_CODE < KERNEL_VERSION(6,7,0)) ++ struct cfg80211_beacon_data *info ++#else ++ struct cfg80211_ap_update *info ++#endif ++ ) + { + int ret = 0; + _adapter *adapter = (_adapter *)rtw_netdev_priv(ndev); + + DBG_871X(FUNC_NDEV_FMT"\n", FUNC_NDEV_ARG(ndev)); + ++#if (LINUX_VERSION_CODE < KERNEL_VERSION(6,7,0)) + ret = rtw_add_beacon(adapter, info->head, info->head_len, info->tail, info->tail_len); ++#else ++ ret = rtw_add_beacon(adapter, info->beacon.head, info->beacon.head_len, info->beacon.tail, info->beacon.tail_len); ++#endif + + return ret; + } +-- +2.43.0 + diff -Nru rtl8812au-4.3.8.12175.20140902+dfsg/debian/patches/series rtl8812au-4.3.8.12175.20140902+dfsg/debian/patches/series --- rtl8812au-4.3.8.12175.20140902+dfsg/debian/patches/series 2023-07-04 14:36:51.000000000 +0000 +++ rtl8812au-4.3.8.12175.20140902+dfsg/debian/patches/series 2024-01-12 14:52:13.000000000 +0000 @@ -28,3 +28,4 @@ 5.18-kernel-compatibility.patch 5.19-kernel-compatibility.patch 6.2-kernel-compatibility.patch +6.7-kernel-compatibility.patch