RTL88x2BU-Linux-Driver
RTL88x2BU-Linux-Driver copied to clipboard
feat: Add compatibility for modern Linux kernels
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_infostruct is now handled correctly for kernel 6.2 and newer. - The
cfg80211_scan_infostruct is now initialized using designated initializers for better forward compatibility. - The driver now uses
wiphy_new_nminstead of the deprecatedwiphy_newon kernel 6.8 and newer. - The call to
cfg80211_inform_bss_framehas been updated for kernel 6.1 and newer, which removed thegfp_targument.
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.