From 3c8f87566142075c87f2894b955224308bbf5a7b Mon Sep 17 00:00:00 2001 From: morrownr Date: Wed, 19 Feb 2025 13:26:24 -0600 Subject: [PATCH] support for kernel 6.14 --- README.md | 8 ++++---- os_dep/linux/ioctl_cfg80211.c | 3 +++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d21a770..440fc70 100644 --- a/README.md +++ b/README.md @@ -60,15 +60,15 @@ the hardware to test the above. ### Compatible Kernels -- Kernels: 5.4 - 5.11 (Realtek) -- Kernels: 5.12 - 6.11 (community support) +- Kernels: 5.10 - 5.11 (Realtek) +- Kernels: 5.12 - 6.14 (community support) -Note: Kernels earlier than 5.4 may work but are not tested or +Note: Kernels earlier than 5.10 may work but are not tested or supported. ### Tested Compilers -- gcc 11, 12 and 13 +- gcc 12, 13 and 14 ### Tested Linux Distributions diff --git a/os_dep/linux/ioctl_cfg80211.c b/os_dep/linux/ioctl_cfg80211.c index b6294b6..b1385b4 100644 --- a/os_dep/linux/ioctl_cfg80211.c +++ b/os_dep/linux/ioctl_cfg80211.c @@ -4649,6 +4649,9 @@ exit: static int cfg80211_rtw_get_txpower(struct wiphy *wiphy, #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0)) struct wireless_dev *wdev, +#endif +if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 14, 0)) + unsigned int link_id, #endif int *dbm) {