RTL88x2BU-Linux-Driver icon indicating copy to clipboard operation
RTL88x2BU-Linux-Driver copied to clipboard

feat: Add compatibility for modern Linux kernels

Open Nic69Han opened this issue 4 months ago • 2 comments

This change introduces a series of patches to make the RTL88x2BU driver compatible with modern Linux kernels (up to 6.8). The following changes were made:

  • The station_info struct is now handled correctly for kernel 6.2 and newer.
  • The cfg80211_scan_info struct is now initialized using designated initializers for better forward compatibility.
  • The driver now uses wiphy_new_nm instead of the deprecated wiphy_new on kernel 6.8 and newer.
  • The call to cfg80211_inform_bss_frame has been updated for kernel 6.1 and newer, which removed the gfp_t argument.

These changes address the most common breaking changes in the kernel's wireless subsystem and should allow the driver to compile and run on a wider range of Linux distributions.

Nic69Han avatar Aug 09 '25 05:08 Nic69Han