File leap156.patch of Package rtl8822bu
diff -Naur RTL88x2BU-Linux-Driver/os_dep/linux/ioctl_cfg80211.c RTL88x2BU-Linux-Drivern/os_dep/linux/ioctl_cfg80211.c --- RTL88x2BU-Linux-Driver/os_dep/linux/ioctl_cfg80211.c 2025-04-06 11:24:32.703724112 +0200 +++ RTL88x2BU-Linux-Drivern/os_dep/linux/ioctl_cfg80211.c 2025-09-09 11:16:40.893491088 +0200 @@ -5460,7 +5460,7 @@ } static int cfg80211_rtw_change_beacon(struct wiphy *wiphy, struct net_device *ndev, -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 7, 0)) +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 4, 0)) struct cfg80211_ap_update *ap) #else struct cfg80211_beacon_data *info) @@ -5471,7 +5471,7 @@ RTW_INFO(FUNC_NDEV_FMT"\n", FUNC_NDEV_ARG(ndev)); -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 7, 0)) +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 4, 0)) ret = rtw_add_beacon(adapter, ap->beacon.head, ap->beacon.head_len, ap->beacon.tail, ap->beacon.tail_len); #else @@ -8516,6 +8516,9 @@ #else u8 *peer, #endif +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 4, 0)) + int link_id, +#endif u8 action_code, u8 dialog_token, u16 status_code,