diff --git a/README.md b/README.md index 7607c11..35c7d3f 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ confirm that this is the correct driver for your adapter. ### Compatible CPU Architectures -- x86, i686 +- x86, i386, i686 - x86-64, amd64 - armv6l, armv7l (arm) - aarch64 (arm64) @@ -60,11 +60,11 @@ confirm that this is the correct driver for your adapter. ### Compatible Kernels - Kernels: 4.19 - 5.11 (Realtek) -- Kernels: 5.12 - 6.4 (community support) +- Kernels: 5.12 - 6.5 (community support) ### Tested Compilers -- gcc 9, 10, 11 and 12 +- gcc 10, 11 and 12 ### Tested Linux Distributions diff --git a/os_dep/linux/ioctl_cfg80211.c b/os_dep/linux/ioctl_cfg80211.c index b15f1e8..655ab10 100644 --- a/os_dep/linux/ioctl_cfg80211.c +++ b/os_dep/linux/ioctl_cfg80211.c @@ -8447,6 +8447,9 @@ static int cfg80211_rtw_tdls_mgmt(struct wiphy *wiphy, const u8 *peer, #else u8 *peer, +#endif +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 5, 0)) + int link_id, #endif u8 action_code, u8 dialog_token, diff --git a/os_dep/linux/wifi_regd.c b/os_dep/linux/wifi_regd.c index 81e1dc7..ee12492 100644 --- a/os_dep/linux/wifi_regd.c +++ b/os_dep/linux/wifi_regd.c @@ -405,7 +405,7 @@ int rtw_regd_init(struct wiphy *wiphy) wiphy->regulatory_flags &= ~REGULATORY_DISABLE_BEACON_HINTS; #endif -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 19, 0)) +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 19, 0)) && (LINUX_VERSION_CODE < KERNEL_VERSION(6, 5, 0)) wiphy->regulatory_flags |= REGULATORY_IGNORE_STALE_KICKOFF; #endif