mirror of
https://github.com/RinCat/RTL88x2BU-Linux-Driver.git
synced 2025-10-13 19:45:27 +00:00
Linux 6.17 compat: radio_idx
Signed-off-by: Rin Cat (鈴猫) <rincat@rincat.dev>
This commit is contained in:
parent
77a82dbac7
commit
471877314b
@ -3592,7 +3592,12 @@ static void cfg80211_rtw_abort_scan(struct wiphy *wiphy,
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static int cfg80211_rtw_set_wiphy_params(struct wiphy *wiphy, u32 changed)
|
static int cfg80211_rtw_set_wiphy_params(
|
||||||
|
struct wiphy *wiphy,
|
||||||
|
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 17, 0))
|
||||||
|
int radio_idx,
|
||||||
|
#endif
|
||||||
|
u32 changed)
|
||||||
{
|
{
|
||||||
#if 0
|
#if 0
|
||||||
struct iwm_priv *iwm = wiphy_to_iwm(wiphy);
|
struct iwm_priv *iwm = wiphy_to_iwm(wiphy);
|
||||||
@ -4597,6 +4602,9 @@ static int cfg80211_rtw_set_txpower(struct wiphy *wiphy,
|
|||||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0))
|
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0))
|
||||||
struct wireless_dev *wdev,
|
struct wireless_dev *wdev,
|
||||||
#endif
|
#endif
|
||||||
|
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 17, 0))
|
||||||
|
int radio_idx,
|
||||||
|
#endif
|
||||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 36)) || defined(COMPAT_KERNEL_RELEASE)
|
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 36)) || defined(COMPAT_KERNEL_RELEASE)
|
||||||
enum nl80211_tx_power_setting type, int mbm)
|
enum nl80211_tx_power_setting type, int mbm)
|
||||||
#else
|
#else
|
||||||
@ -4659,6 +4667,9 @@ static int cfg80211_rtw_get_txpower(struct wiphy *wiphy,
|
|||||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0))
|
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0))
|
||||||
struct wireless_dev *wdev,
|
struct wireless_dev *wdev,
|
||||||
#endif
|
#endif
|
||||||
|
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 17, 0))
|
||||||
|
int radio_idx,
|
||||||
|
#endif
|
||||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 14, 0))
|
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 14, 0))
|
||||||
unsigned int link_id,
|
unsigned int link_id,
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user