ulli-kroll / rtl8188fu

rtl8188fu driver for linux / rtlwifi prepare
GNU General Public License v2.0
62 stars 292 forks source link

Kernel 6.1.0 Support #24

Open Foxy6670 opened 1 year ago

Foxy6670 commented 1 year ago

There appears to be no active support for Linux kernel 6.1.0. Here's a dump of make's output:

make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/6.1.0-10-amd64/build M=/home/debian/rtl8188fu  modules
make[1]: Entering directory '/usr/src/linux-headers-6.1.0-10-amd64'
  CC [M]  /home/debian/rtl8188fu/core/rtw_cmd.o
  CC [M]  /home/debian/rtl8188fu/core/rtw_security.o
  CC [M]  /home/debian/rtl8188fu/core/rtw_debug.o
  CC [M]  /home/debian/rtl8188fu/core/rtw_io.o
  CC [M]  /home/debian/rtl8188fu/core/rtw_ioctl_query.o
  CC [M]  /home/debian/rtl8188fu/core/rtw_ioctl_set.o
  CC [M]  /home/debian/rtl8188fu/core/rtw_ieee80211.o
  CC [M]  /home/debian/rtl8188fu/core/rtw_mlme.o
  CC [M]  /home/debian/rtl8188fu/core/rtw_mlme_ext.o
  CC [M]  /home/debian/rtl8188fu/core/rtw_wlan_util.o
  CC [M]  /home/debian/rtl8188fu/core/rtw_pwrctrl.o
  CC [M]  /home/debian/rtl8188fu/core/rtw_rf.o
  CC [M]  /home/debian/rtl8188fu/core/rtw_recv.o
  CC [M]  /home/debian/rtl8188fu/core/rtw_sta_mgt.o
  CC [M]  /home/debian/rtl8188fu/core/rtw_ap.o
  CC [M]  /home/debian/rtl8188fu/core/rtw_xmit.o
/home/debian/rtl8188fu/core/rtw_mlme_ext.c: In function ‘mgt_dispatcher’:
/home/debian/rtl8188fu/core/rtw_mlme_ext.c:1161:27: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1161 |                         if(check_fwstate(pmlmepriv, WIFI_AP_STATE) == _TRUE)
      |                           ^
/home/debian/rtl8188fu/core/rtw_mlme_ext.c:1166:17: note: here
 1166 |                 case WIFI_ASSOCREQ:
      |                 ^~~~
  CC [M]  /home/debian/rtl8188fu/core/rtw_p2p.o
/home/debian/rtl8188fu/core/rtw_sta_mgt.c: In function ‘rtw_mfree_stainfo’:
/home/debian/rtl8188fu/core/rtw_sta_mgt.c:328:24: warning: the comparison will always evaluate as ‘true’ for the address of ‘lock’ will never be NULL [-Waddress]
  328 |         if(&psta->lock != NULL)
      |                        ^~
In file included from /home/debian/rtl8188fu/include/drv_types.h:108,
                 from /home/debian/rtl8188fu/core/rtw_sta_mgt.c:22:
/home/debian/rtl8188fu/include/sta_info.h:162:17: note: ‘lock’ declared here
  162 |         _lock   lock;
      |                 ^~~~
  CC [M]  /home/debian/rtl8188fu/core/rtw_iol.o
  CC [M]  /home/debian/rtl8188fu/core/rtw_odm.o
  CC [M]  /home/debian/rtl8188fu/core/efuse/rtw_efuse.o
  CC [M]  /home/debian/rtl8188fu/os_dep/osdep_service.o
  CC [M]  /home/debian/rtl8188fu/os_dep/linux/os_intfs.o
  CC [M]  /home/debian/rtl8188fu/os_dep/linux/usb_intf.o
  CC [M]  /home/debian/rtl8188fu/os_dep/linux/usb_ops_linux.o
  CC [M]  /home/debian/rtl8188fu/os_dep/linux/ioctl_linux.o
  CC [M]  /home/debian/rtl8188fu/os_dep/linux/xmit_linux.o
  CC [M]  /home/debian/rtl8188fu/os_dep/linux/mlme_linux.o
  CC [M]  /home/debian/rtl8188fu/os_dep/linux/recv_linux.o
/home/debian/rtl8188fu/os_dep/osdep_service.c: In function ‘rtw_random32’:
/home/debian/rtl8188fu/os_dep/osdep_service.c:1470:16: error: implicit declaration of function ‘prandom_u32’; did you mean ‘prandom_u32_max’? [-Werror=implicit-function-declaration]
 1470 |         return prandom_u32();
      |                ^~~~~~~~~~~
      |                prandom_u32_max
cc1: some warnings being treated as errors
make[2]: *** [/usr/src/linux-headers-6.1.0-10-common/scripts/Makefile.build:255: /home/debian/rtl8188fu/os_dep/osdep_service.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [/usr/src/linux-headers-6.1.0-10-common/Makefile:2037: /home/debian/rtl8188fu] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.1.0-10-amd64'
make: *** [Makefile:261: modules] Error 2