File kernel616.patch of Package rtl8814au
diff -Naur rtl8821au/include/osdep_service_linux.h rtl8821aun/include/osdep_service_linux.h
--- rtl8821au/include/osdep_service_linux.h 2023-08-12 15:52:38.353822159 +0200
+++ rtl8821aun/include/osdep_service_linux.h 2025-06-14 13:10:27.985147579 +0200
@@ -354,7 +354,11 @@
#endif
{
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 14, 0))
+ #if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 16, 0))
+ _timer *ptimer = timer_container_of(ptimer, in_timer, timer);
+ #else
_timer *ptimer = from_timer(ptimer, in_timer, timer);
+ #endif
#else
_timer *ptimer = (_timer *)cntx;
#endif