support for kernel 6.5

This commit is contained in:
morrownr 2023-07-16 14:55:34 -05:00
parent 98a05c530c
commit cb72035bfd
3 changed files with 7 additions and 4 deletions

View File

@ -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

View File

@ -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,

View File

@ -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