rtl8812au-chinawrj/os_dep/linux
Christian Sarre d8ad927155 Fix build on 6.x kernels.
It was broken due to kernel changes backported from 6.5 (torvalds/linux@e8c2af6).
Changes have been tested on the following configurations and observed to build:
 - Debian Bullseye, kernel 6.1.38-4 (bullseye-backports)
 - Debian Bookworm, kernel 6.1.52-1
 - Ubuntu 23.04 Lunar, kernel 6.2.0-36

There are also other kernel versions which are affected up to some point in their history,
but there were a few reasons I ended up not including them:
 - Kernel 6.2: Not in use on Debian, likely skipped in favor of 6.4+. Ubuntu though has backported the change to 6.2 on Lunar.
 - Kernel 6.3: Not in use on Debian/Ubuntu, seems to have been skipped in favor of 6.4/6.5+.
 - Kernel 6.4: Not in use on Ubuntu. Debian Bookworm has this available in backports, but they now also offer 6.5 which does not have the issue.

In case someone tries to build this module running kernel 6.2 on something other than Ubuntu, this fix is most likely necessary.
2023-10-31 21:04:54 +02:00
..
custom_gpio_linux.c
ioctl_cfg80211.c
ioctl_cfg80211.h
ioctl_linux.c
ioctl_mp.c
mlme_linux.c
os_intfs.c
recv_linux.c
rhashtable.c
rhashtable.h
rtw_android.c
rtw_proc.c
rtw_proc.h
rtw_rhashtable.c
rtw_rhashtable.h
usb_intf.c
usb_ops_linux.c
wifi_regd.c Fix build on 6.x kernels. 2023-10-31 21:04:54 +02:00
xmit_linux.c