mirror of
https://github.com/amazingfate/rtl8723ds.git
synced 2026-06-22 12:27:17 +01:00
Patch for kernel 6.17
This commit is contained in:
@@ -2518,7 +2518,7 @@ exit:
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static int cfg80211_rtw_set_wiphy_params(struct wiphy *wiphy, u32 changed)
|
static int cfg80211_rtw_set_wiphy_params(struct wiphy *wiphy, int radio_idx, u32 changed)
|
||||||
{
|
{
|
||||||
#if 0
|
#if 0
|
||||||
struct iwm_priv *iwm = wiphy_to_iwm(wiphy);
|
struct iwm_priv *iwm = wiphy_to_iwm(wiphy);
|
||||||
@@ -3323,6 +3323,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
|
||||||
@@ -3363,6 +3366,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
|
||||||
|
|||||||
Reference in New Issue
Block a user