@@ -3205,8 +3205,11 @@ static int cfg80211_rtw_scan(struct wiphy *wiphy
32053205 return ret ;
32063206
32073207}
3208-
3209- static int cfg80211_rtw_set_wiphy_params (struct wiphy * wiphy , u32 changed )
3208+ static int cfg80211_rtw_set_wiphy_params (struct wiphy * wiphy ,
3209+ #if (LINUX_VERSION_CODE >= KERNEL_VERSION (6 , 17 , 0 ))
3210+ int radio_idx ,
3211+ #endif
3212+ u32 changed )
32103213{
32113214#if 0
32123215 struct iwm_priv * iwm = wiphy_to_iwm (wiphy );
@@ -4053,6 +4056,9 @@ static int cfg80211_rtw_set_txpower(struct wiphy *wiphy,
40534056#if (LINUX_VERSION_CODE >= KERNEL_VERSION (3 , 8 , 0 ))
40544057 struct wireless_dev * wdev ,
40554058#endif
4059+ #if (LINUX_VERSION_CODE >= KERNEL_VERSION (6 , 17 , 0 ))
4060+ int radio_idx ,
4061+ #endif
40564062#if (LINUX_VERSION_CODE >= KERNEL_VERSION (2 , 6 , 36 )) || defined(COMPAT_KERNEL_RELEASE )
40574063 enum nl80211_tx_power_setting type , int mbm )
40584064#else
@@ -4093,6 +4099,9 @@ static int cfg80211_rtw_get_txpower(struct wiphy *wiphy,
40934099#if (LINUX_VERSION_CODE >= KERNEL_VERSION (3 , 8 , 0 ))
40944100 struct wireless_dev * wdev ,
40954101#endif
4102+ #if (LINUX_VERSION_CODE >= KERNEL_VERSION (6 , 17 , 0 ))
4103+ int radio_idx ,
4104+ #endif
40964105#if (LINUX_VERSION_CODE >= KERNEL_VERSION (6 , 14 , 0 ))
40974106 unsigned int link_id ,
40984107#endif
0 commit comments