File kernel616.patch of Package rtw88
diff -Naur rtw88/tx.c rtw88n/tx.c
--- rtw88/tx.c 2025-06-27 16:52:18.590622237 +0200
+++ rtw88n/tx.c 2025-07-14 10:19:57.598169952 +0200
@@ -198,7 +198,9 @@
void rtw_tx_report_purge_timer(void *cntx)
#endif
{
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 14, 0)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 16, 0)
+struct rtw_dev *rtwdev = timer_container_of(rtwdev, t, tx_report.purge_timer);
+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(4, 14, 0)
struct rtw_dev *rtwdev = from_timer(rtwdev, t, tx_report.purge_timer);
#else
struct rtw_dev *rtwdev = (struct rtw_dev *)cntx;