Linux 6.14 compat: get_txpower

Signed-off-by: Rin Cat (鈴猫) <rincat@rincat.dev>
This commit is contained in:
Rin Cat (鈴猫) 2025-04-06 00:22:33 -04:00
parent f0644acaa8
commit fda90b7760
Signed by: RinCat
GPG Key ID: 4B857E8B2AFC09BC
2 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,6 @@
# REALTEK RTL88x2B USB Linux Driver
**Current Driver Version**: 5.13.1-30
**Support Kernel**: 2.6.24 ~ 6.13 (with unofficial patches)
**Support Kernel**: 2.6.24 ~ 6.14 (with unofficial patches)
Linux in-tree rtw8822bu driver is working in process, check [this](https://lore.kernel.org/lkml/20220518082318.3898514-1-s.hauer@pengutronix.de/) patchset.

View File

@ -4658,6 +4658,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)
{