support for kernel 6.14

This commit is contained in:
morrownr 2025-02-19 13:26:24 -06:00
parent 2dce552dc6
commit 3c8f875661
2 changed files with 7 additions and 4 deletions

View File

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

View File

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