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 2021-06-24 17:42:57.000000000 +0000 +++ rtl8812au-4.3.8.12175.20140902+dfsg/debian/changelog 2022-02-06 18:06:19.000000000 +0000 @@ -1,3 +1,10 @@ +rtl8812au (4.3.8.12175.20140902+dfsg-0ubuntu14~20.04.3) focal; urgency=medium + + * Support linux 5.15: (LP: #1960169) + - debian/patches/0020-drop-ipx-and-apple-talk-support.patch + + -- Andrea Righi Sun, 06 Feb 2022 18:06:19 +0000 + rtl8812au (4.3.8.12175.20140902+dfsg-0ubuntu13~20.04.3) focal; urgency=medium * Backported from Hirsute 4.3.8.12175.20140902+dfsg-0ubuntu14 (LP: #1932169) diff -Nru rtl8812au-4.3.8.12175.20140902+dfsg/debian/patches/0020-drop-ipx-and-apple-talk-support.patch rtl8812au-4.3.8.12175.20140902+dfsg/debian/patches/0020-drop-ipx-and-apple-talk-support.patch --- rtl8812au-4.3.8.12175.20140902+dfsg/debian/patches/0020-drop-ipx-and-apple-talk-support.patch 1970-01-01 00:00:00.000000000 +0000 +++ rtl8812au-4.3.8.12175.20140902+dfsg/debian/patches/0020-drop-ipx-and-apple-talk-support.patch 2022-02-06 18:06:11.000000000 +0000 @@ -0,0 +1,44 @@ +Subject: drop IPX and AppleTalk on linux 5.15 +Author: Andrea Righi + +Index: rtl8812au-4.3.8.12175.20140902+dfsg/core/rtw_br_ext.c +=================================================================== +--- rtl8812au-4.3.8.12175.20140902+dfsg.orig/core/rtw_br_ext.c ++++ rtl8812au-4.3.8.12175.20140902+dfsg/core/rtw_br_ext.c +@@ -22,7 +22,6 @@ + #ifdef __KERNEL__ + #include + #include +-#include + #include + #include + #include +@@ -56,6 +55,12 @@ + #endif + #endif + ++#ifdef __KERNEL__ ++#if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 15, 0)) ++#include ++#endif ++#endif ++ + #ifdef CONFIG_BR_EXT + + //#define BR_EXT_DEBUG +@@ -931,6 +936,7 @@ int nat25_db_handle(_adapter *priv, stru + } + } + ++#if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 15, 0)) + /*---------------------------------------------------*/ + /* Handle IPX and Apple Talk frame */ + /*---------------------------------------------------*/ +@@ -1191,6 +1197,7 @@ int nat25_db_handle(_adapter *priv, stru + + return -1; + } ++#endif + + /*---------------------------------------------------*/ + /* Handle PPPoE frame */ 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 2021-06-24 17:42:57.000000000 +0000 +++ rtl8812au-4.3.8.12175.20140902+dfsg/debian/patches/series 2022-02-06 18:06:11.000000000 +0000 @@ -25,3 +25,4 @@ 5.8-kernel-compatibility.patch LINUX-5.8-rename-struct-sha256-to-rtl_sha256-and-ret.patch 0001-switch-readFile-writeFile-to-kernel_read-kernel_writ.patch +0020-drop-ipx-and-apple-talk-support.patch