Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rtl88x2bu for openSUSE:Factory checked in at 2026-08-31 15:56:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rtl88x2bu (Old) and /work/SRC/openSUSE:Factory/.rtl88x2bu.new.1265 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rtl88x2bu" Mon Aug 31 15:56:48 2026 rev:13 rq:1374769 version:5.8.7.1+git20260818.04ed700 Changes: -------- --- /work/SRC/openSUSE:Factory/rtl88x2bu/rtl88x2bu.changes 2026-07-20 10:00:40.682831752 +0200 +++ /work/SRC/openSUSE:Factory/.rtl88x2bu.new.1265/rtl88x2bu.changes 2026-08-31 15:57:04.782770086 +0200 @@ -1,0 +2,9 @@ +Sun Aug 30 22:42:11 UTC 2026 - Eyad Issa <[email protected]> + +- Update to version 5.8.7.1+git20260818.04ed700: + * docs: Mention broken build for v6.14 and older + * docs: Mention successful build for v7.2 + * Replace strncpy with memcpy + * Add rx_addr to cfg80211_rtw_remain_on_channel + +------------------------------------------------------------------- Old: ---- rtl88x2bu-5.8.7.1+git20260615.fc158d1.obscpio New: ---- rtl88x2bu-5.8.7.1+git20260818.04ed700.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rtl88x2bu.spec ++++++ --- /var/tmp/diff_new_pack.StjEVS/_old 2026-08-31 15:57:06.963846181 +0200 +++ /var/tmp/diff_new_pack.StjEVS/_new 2026-08-31 15:57:06.964846216 +0200 @@ -17,7 +17,7 @@ Name: rtl88x2bu -Version: 5.8.7.1+git20260615.fc158d1 +Version: 5.8.7.1+git20260818.04ed700 Release: 0 Summary: Kernel driver for Realtek 88x2bu wifi cards License: GPL-2.0-only ++++++ _service ++++++ --- /var/tmp/diff_new_pack.StjEVS/_old 2026-08-31 15:57:07.040848868 +0200 +++ /var/tmp/diff_new_pack.StjEVS/_new 2026-08-31 15:57:07.051849251 +0200 @@ -4,7 +4,7 @@ <param name="url">https://github.com/cilynx/rtl88x2bu.git</param> <param name="filename">rtl88x2bu</param> <param name="versionformat">5.8.7.1+git%cd.%h</param> - <param name="revision">fc158d1f71b9e5dfcd1fccaf4d28725b65086e3b</param> + <param name="revision">04ed7009bac4b235fe1880ba29e23159f49a6121</param> <param name="changesgenerate">enable</param> </service> <service name="set_version" mode="manual" /> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.StjEVS/_old 2026-08-31 15:57:07.110851310 +0200 +++ /var/tmp/diff_new_pack.StjEVS/_new 2026-08-31 15:57:07.122851728 +0200 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/cilynx/rtl88x2bu.git</param> - <param name="changesrevision">fc158d1f71b9e5dfcd1fccaf4d28725b65086e3b</param></service></servicedata> + <param name="changesrevision">04ed7009bac4b235fe1880ba29e23159f49a6121</param></service></servicedata> (No newline at EOF) ++++++ rtl88x2bu-5.8.7.1+git20260615.fc158d1.obscpio -> rtl88x2bu-5.8.7.1+git20260818.04ed700.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rtl88x2bu-5.8.7.1+git20260615.fc158d1/README.md new/rtl88x2bu-5.8.7.1+git20260818.04ed700/README.md --- old/rtl88x2bu-5.8.7.1+git20260615.fc158d1/README.md 2026-06-15 18:07:00.000000000 +0200 +++ new/rtl88x2bu-5.8.7.1+git20260818.04ed700/README.md 2026-08-18 08:59:03.000000000 +0200 @@ -1,4 +1,13 @@ -# Pending Deprecation +## Driver for rtl88x2bu wifi adaptors + +Updated driver for rtl88x2bu wifi adaptors based on Realtek's source +distributed with myriad adapters. + +Realtek's 5.6.1.6 source was found bundled with the [Cudy WU1200 AC1200 High +Gain USB Wi-Fi Adapter](https://amzn.to/351ADVq) and can be downloaded from +[Cudy's website](http://www.cudytech.com/wu1200_software_download). + +## Pending Deprecation A few versions ago (around 6.4 IIRC), rtw88x2bu support has been added to the mainline Linux kernel. This repo will be maintained until we either receive a @@ -13,11 +22,7 @@ supported by the mainline kernel. Therefore, the maintainer will not be able to detect subtle issues themself anymore. -# Driver for rtl88x2bu wifi adaptors - -Updated driver for rtl88x2bu wifi adaptors based on Realtek's source distributed with myriad adapters. - -Realtek's 5.6.1.6 source was found bundled with the [Cudy WU1200 AC1200 High Gain USB Wi-Fi Adapter](https://amzn.to/351ADVq) and can be downloaded from [Cudy's website](http://www.cudytech.com/wu1200_software_download). +## Compatibility Build confirmed on: @@ -28,13 +33,19 @@ - Linux version `6.1.*` to `6.12.*` (self-compiled) on Debian and Ubuntu 22.04 - Linux version `6.10.3` to `6.12.10` on Debian Trixie - Linux version `6.13.0` (self-compiled) on Debian Trixie -- Linux version `6.17.0` - `7.1` on Cachy OS (`make CC=clang LD=ld.lld -j16`) +- Linux version `6.17.0` - `7.2` on Cachy OS (`make CC=clang LD=ld.lld -j16`) As of lately the maintainer experienced issues with the driver on Debian Testing, covering several Linux Kernel versions. More details can be found in [issue 280](https://github.com/cilynx/rtl88x2bu/issues/280). Any suggestions on how to troubleshoot or fix this are welcome there too. +**NOTE:** The fixes for Linux v7.2 broke compatibility with Linux v6.14 and +older. The scope of the fixes was so big that it was decided not to use the +conditional code inclusion technique for this case. If you need to use the +driver on Linux v6.14 or older, please use the an older version of the driver +(e.g. fc158d1f71b9e5dfcd1fccaf4d28725b65086e3b). + ## Using and Installing the Driver ### Simple Usage diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rtl88x2bu-5.8.7.1+git20260615.fc158d1/core/rtw_debug.c new/rtl88x2bu-5.8.7.1+git20260818.04ed700/core/rtw_debug.c --- old/rtl88x2bu-5.8.7.1+git20260615.fc158d1/core/rtw_debug.c 2026-06-15 18:07:00.000000000 +0200 +++ new/rtl88x2bu-5.8.7.1+git20260818.04ed700/core/rtw_debug.c 2026-08-18 08:59:03.000000000 +0200 @@ -636,7 +636,7 @@ char tmp_str[10] = {'\0'}; len = snprintf(tmp_str, sizeof(tmp_str), "%s", "ap_id:"); - strncpy(p, tmp_str, len); + memcpy(p, tmp_str, len); p += len; _rtw_memset(&tmp_str, '\0', sizeof(tmp_str)); #ifdef DBG_HW_PORT @@ -644,7 +644,7 @@ #else len = snprintf(tmp_str, sizeof(tmp_str), "%d", iface->vap_id); #endif - strncpy(p, tmp_str, len); + memcpy(p, tmp_str, len); } #endif #ifdef CONFIG_CLIENT_PORT_CFG @@ -654,7 +654,7 @@ char tmp_str[10] = {'\0'}; len = snprintf(tmp_str, sizeof(tmp_str), "%s", "c_pid:"); - strncpy(p, tmp_str, len); + memcpy(p, tmp_str, len); p += len; _rtw_memset(&tmp_str, '\0', sizeof(tmp_str)); #ifdef DBG_HW_PORT @@ -662,7 +662,7 @@ #else len = snprintf(tmp_str, sizeof(tmp_str), "%d", iface->client_port); #endif - strncpy(p, tmp_str, len); + memcpy(p, tmp_str, len); } #endif @@ -7235,11 +7235,11 @@ if (_titlestring) { if (sel == RTW_DBGDUMP) { len = snprintf(str_val, sizeof(str_val), "%s", DRIVER_PREFIX); - strncpy(p, str_val, len); + memcpy(p, str_val, len); p += len; } len = snprintf(str_val, sizeof(str_val), "%s", _titlestring); - strncpy(p, str_val, len); + memcpy(p, str_val, len); p += len; } if (p != &str_out[0]) { @@ -7254,18 +7254,18 @@ p = &str_out[0]; if (sel == RTW_DBGDUMP) { len = snprintf(str_val, sizeof(str_val), "%s", DRIVER_PREFIX); - strncpy(p, str_val, len); + memcpy(p, str_val, len); p += len; } if (_idx_show) { len = snprintf(str_val, sizeof(str_val), "0x%03X: ", __i * RTW_BUFDUMP_BSIZE); - strncpy(p, str_val, len); + memcpy(p, str_val, len); p += len; } for (__j =0; __j < RTW_BUFDUMP_BSIZE; __j++) { idx = __i * RTW_BUFDUMP_BSIZE + __j; len = snprintf(str_val, sizeof(str_val), "%02X%s", ptr[idx], (((__j + 1) % 4) == 0) ? " " : " "); - strncpy(p, str_val, len); + memcpy(p, str_val, len); p += len; } _RTW_STR_DUMP_SEL(sel, str_out); @@ -7275,18 +7275,18 @@ p = &str_out[0]; if ((sel == RTW_DBGDUMP) && remain_byte) { len = snprintf(str_val, sizeof(str_val), "%s", DRIVER_PREFIX); - strncpy(p, str_val, len); + memcpy(p, str_val, len); p += len; } if (_idx_show && remain_byte) { len = snprintf(str_val, sizeof(str_val), "0x%03X: ", block_num * RTW_BUFDUMP_BSIZE); - strncpy(p, str_val, len); + memcpy(p, str_val, len); p += len; } for (__i = 0; __i < remain_byte; __i++) { idx = block_num * RTW_BUFDUMP_BSIZE + __i; len = snprintf(str_val, sizeof(str_val), "%02X%s", ptr[idx], (((__i + 1) % 4) == 0) ? " " : " "); - strncpy(p, str_val, len); + memcpy(p, str_val, len); p += len; } _RTW_STR_DUMP_SEL(sel, str_out); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rtl88x2bu-5.8.7.1+git20260615.fc158d1/hal/hal_com.c new/rtl88x2bu-5.8.7.1+git20260818.04ed700/hal/hal_com.c --- old/rtl88x2bu-5.8.7.1+git20260615.fc158d1/hal/hal_com.c 2026-06-15 18:07:00.000000000 +0200 +++ new/rtl88x2bu-5.8.7.1+git20260818.04ed700/hal/hal_com.c 2026-08-18 08:59:03.000000000 +0200 @@ -13129,7 +13129,7 @@ return _FALSE; j = (*Start) - 2; - strncpy((char *)Out, (const char *)(In + i), j - i + 1); + memcpy((char *)Out, (const char *)(In + i), j - i + 1); return _TRUE; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rtl88x2bu-5.8.7.1+git20260615.fc158d1/hal/hal_com_phycfg.c new/rtl88x2bu-5.8.7.1+git20260818.04ed700/hal/hal_com_phycfg.c --- old/rtl88x2bu-5.8.7.1+git20260615.fc158d1/hal/hal_com_phycfg.c 2026-06-15 18:07:00.000000000 +0200 +++ new/rtl88x2bu-5.8.7.1+git20260818.04ed700/hal/hal_com_phycfg.c 2026-08-18 08:59:03.000000000 +0200 @@ -5086,9 +5086,9 @@ if (strlen(szLine) < 10 || szLine[0] != '[') continue; - strncpy(band, szLine + 1, 2); - strncpy(path, szLine + 5, 1); - strncpy(sign, szLine + 8, 1); + memcpy(band, szLine + 1, 2); + memcpy(path, szLine + 5, 1); + memcpy(sign, szLine + 8, 1); i = 10; /* szLine+10 */ if (!ParseQualifiedString(szLine, &i, rate, '[', ']')) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rtl88x2bu-5.8.7.1+git20260615.fc158d1/hal/phydm/phydm_debug.c new/rtl88x2bu-5.8.7.1+git20260818.04ed700/hal/phydm/phydm_debug.c --- old/rtl88x2bu-5.8.7.1+git20260615.fc158d1/hal/phydm/phydm_debug.c 2026-06-15 18:07:00.000000000 +0200 +++ new/rtl88x2bu-5.8.7.1+git20260818.04ed700/hal/phydm/phydm_debug.c 2026-08-18 08:59:03.000000000 +0200 @@ -5527,7 +5527,7 @@ "[FW debug message] freg_num = (( %d )), c2h_seq=(( %d ))\n", freg_num, c2h_seq); - strncpy(debug_trace_11byte, &cmd_buf[1], (cmd_len - 1)); + memcpy(debug_trace_11byte, &cmd_buf[1], (cmd_len - 1)); debug_trace_11byte[cmd_len - 1] = '\0'; PHYDM_DBG(dm, DBG_FW_TRACE, "[FW debug message] %s\n", debug_trace_11byte); @@ -5558,7 +5558,7 @@ return; } - strncpy((char *)&dm->fw_debug_trace[dm->c2h_cmd_start], + memcpy((char *)&dm->fw_debug_trace[dm->c2h_cmd_start], (char *)&cmd_buf[1], (cmd_len - 1)); dm->c2h_cmd_start += (cmd_len - 1); dm->fw_buff_is_enpty = false; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rtl88x2bu-5.8.7.1+git20260615.fc158d1/os_dep/linux/ioctl_cfg80211.c new/rtl88x2bu-5.8.7.1+git20260818.04ed700/os_dep/linux/ioctl_cfg80211.c --- old/rtl88x2bu-5.8.7.1+git20260615.fc158d1/os_dep/linux/ioctl_cfg80211.c 2026-06-15 18:07:00.000000000 +0200 +++ new/rtl88x2bu-5.8.7.1+git20260818.04ed700/os_dep/linux/ioctl_cfg80211.c 2026-08-18 08:59:03.000000000 +0200 @@ -1847,7 +1847,7 @@ goto addkey_end; } - strncpy((char *)param->u.crypt.alg, alg_name, IEEE_CRYPT_ALG_NAME_LEN); + memcpy((char *)param->u.crypt.alg, alg_name, IEEE_CRYPT_ALG_NAME_LEN); if (!mac_addr || is_broadcast_ether_addr(mac_addr) @@ -5001,7 +5001,7 @@ } mon_ndev->type = ARPHRD_IEEE80211_RADIOTAP; - strncpy(mon_ndev->name, name, IFNAMSIZ); + memcpy(mon_ndev->name, name, IFNAMSIZ); mon_ndev->name[IFNAMSIZ - 1] = 0; #if (LINUX_VERSION_CODE > KERNEL_VERSION(4, 11, 8)) mon_ndev->priv_destructor = rtw_ndev_destructor; @@ -7077,7 +7077,11 @@ #if (LINUX_VERSION_CODE < KERNEL_VERSION(3, 8, 0)) enum nl80211_channel_type channel_type, #endif - unsigned int duration, u64 *cookie) + unsigned int duration, u64 *cookie +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(7, 2, 0)) + ,const u8 *rx_addr +#endif +) { s32 err = 0; u8 remain_ch = (u8) ieee80211_frequency_to_channel(channel->center_freq); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rtl88x2bu-5.8.7.1+git20260615.fc158d1/os_dep/linux/ioctl_linux.c new/rtl88x2bu-5.8.7.1+git20260818.04ed700/os_dep/linux/ioctl_linux.c --- old/rtl88x2bu-5.8.7.1+git20260615.fc158d1/os_dep/linux/ioctl_linux.c 2026-06-15 18:07:00.000000000 +0200 +++ new/rtl88x2bu-5.8.7.1+git20260818.04ed700/os_dep/linux/ioctl_linux.c 2026-08-18 08:59:03.000000000 +0200 @@ -3141,7 +3141,7 @@ goto exit; } - strncpy((char *)param->u.crypt.alg, alg_name, IEEE_CRYPT_ALG_NAME_LEN); + memcpy((char *)param->u.crypt.alg, alg_name, IEEE_CRYPT_ALG_NAME_LEN); if (pext->ext_flags & IW_ENCODE_EXT_SET_TX_KEY) param->u.crypt.set_tx = 1; @@ -5769,7 +5769,7 @@ #endif reg_ifname = padapter->registrypriv.if2name; - strncpy(rereg_priv->old_ifname, reg_ifname, IFNAMSIZ); + memcpy(rereg_priv->old_ifname, reg_ifname, IFNAMSIZ); rereg_priv->old_ifname[IFNAMSIZ - 1] = 0; } @@ -5794,7 +5794,7 @@ /* rtw_ips_mode_req(&padapter->pwrctrlpriv, rereg_priv->old_ips_mode); */ } - strncpy(rereg_priv->old_ifname, new_ifname, IFNAMSIZ); + memcpy(rereg_priv->old_ifname, new_ifname, IFNAMSIZ); rereg_priv->old_ifname[IFNAMSIZ - 1] = 0; if (_rtw_memcmp(new_ifname, "disable%d", 9) == _TRUE) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rtl88x2bu-5.8.7.1+git20260615.fc158d1/os_dep/linux/os_intfs.c new/rtl88x2bu-5.8.7.1+git20260818.04ed700/os_dep/linux/os_intfs.c --- old/rtl88x2bu-5.8.7.1+git20260615.fc158d1/os_dep/linux/os_intfs.c 2026-06-15 18:07:00.000000000 +0200 +++ new/rtl88x2bu-5.8.7.1+git20260818.04ed700/os_dep/linux/os_intfs.c 2026-08-18 08:59:03.000000000 +0200 @@ -1692,7 +1692,7 @@ RTW_PRINT(FUNC_ADPT_FMT" if%d mac_addr="MAC_FMT"\n" , FUNC_ADPT_ARG(adapter), (adapter->iface_id + 1), MAC_ARG(dev->dev_addr)); - strncpy(adapter->old_ifname, dev->name, IFNAMSIZ); + memcpy(adapter->old_ifname, dev->name, IFNAMSIZ); adapter->old_ifname[IFNAMSIZ - 1] = '\0'; rtw_adapter_proc_init(dev); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rtl88x2bu-5.8.7.1+git20260615.fc158d1/os_dep/linux/rtw_cfgvendor.c new/rtl88x2bu-5.8.7.1+git20260818.04ed700/os_dep/linux/rtw_cfgvendor.c --- old/rtl88x2bu-5.8.7.1+git20260615.fc158d1/os_dep/linux/rtw_cfgvendor.c 2026-06-15 18:07:00.000000000 +0200 +++ new/rtl88x2bu-5.8.7.1+git20260818.04ed700/os_dep/linux/rtw_cfgvendor.c 2026-08-18 08:59:03.000000000 +0200 @@ -1379,7 +1379,7 @@ type = nla_type(iter); switch (type) { case LOGGER_ATTRIBUTE_RING_NAME: - strncpy(ring_name, nla_data(iter), + memcpy(ring_name, nla_data(iter), MIN(sizeof(ring_name) -1, nla_len(iter))); break; case LOGGER_ATTRIBUTE_LOG_LEVEL: @@ -1508,7 +1508,7 @@ type = nla_type(iter); switch (type) { case LOGGER_ATTRIBUTE_RING_NAME: - strncpy(ring_name, nla_data(iter), + memcpy(ring_name, nla_data(iter), MIN(sizeof(ring_name) -1, nla_len(iter))); RTW_INFO(" %s LOGGER_ATTRIBUTE_RING_NAME : %s\n", __func__, ring_name); break; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rtl88x2bu-5.8.7.1+git20260615.fc158d1/os_dep/linux/usb_intf.c new/rtl88x2bu-5.8.7.1+git20260818.04ed700/os_dep/linux/usb_intf.c --- old/rtl88x2bu-5.8.7.1+git20260615.fc158d1/os_dep/linux/usb_intf.c 2026-06-15 18:07:00.000000000 +0200 +++ new/rtl88x2bu-5.8.7.1+git20260818.04ed700/os_dep/linux/usb_intf.c 2026-08-18 08:59:03.000000000 +0200 @@ -847,7 +847,7 @@ /* It is used to distinguish between normal and PC-side wifi dongle/module. */ if ((pdid->idVendor == vid) && (pdid->idProduct == pid) && (flags & SPEC_DEV_ID_ASSIGN_IFNAME)) { extern char *ifname; - strncpy(ifname, "wlan10", 6); + memcpy(ifname, "wlan10", 6); /* RTW_INFO("%s()-%d: ifname=%s, vid=%04X, pid=%04X\n", __FUNCTION__, __LINE__, ifname, vid, pid); */ } #endif /* RTK_DMP_PLATFORM */ ++++++ rtl88x2bu.obsinfo ++++++ --- /var/tmp/diff_new_pack.StjEVS/_old 2026-08-31 15:57:08.745908355 +0200 +++ /var/tmp/diff_new_pack.StjEVS/_new 2026-08-31 15:57:08.749908494 +0200 @@ -1,5 +1,5 @@ name: rtl88x2bu -version: 5.8.7.1+git20260615.fc158d1 -mtime: 1781539620 -commit: fc158d1f71b9e5dfcd1fccaf4d28725b65086e3b +version: 5.8.7.1+git20260818.04ed700 +mtime: 1787036343 +commit: 04ed7009bac4b235fe1880ba29e23159f49a6121
