The driver fails to compile on 5.19 kernels with the following errors:
/home/itrue/host/git/riscv/sipeed-lichee-kernel-snap/parts/wlan-driver/build/rtl8723ds-dkms/5.1.1.5/build/8723ds/os_dep/linux/ioctl_cfg80211.c:6821:20: error: initialization of ‘int (*)(struct wiphy *, struct net_device *, unsigned int)’ from incompatible pointer type ‘int (*)(struct wiphy *, struct net_device *)’ [-Werror=incompatible-pointer-types] 6821 | .stop_ap = cfg80211_rtw_stop_ap, | ^~~~~~~~~~~~~~~~~~~~ /home/itrue/host/git/riscv/sipeed-lichee-kernel-snap/parts/wlan-driver/build/rtl8723ds-dkms/5.1.1.5/build/8723ds/os_dep/linux/ioctl_cfg80211.c:6821:20: note: (near initialization for ‘rtw_cfg80211_ops.stop_ap’) /home/itrue/host/git/riscv/sipeed-lichee-kernel-snap/parts/wlan-driver/build/rtl8723ds-dkms/5.1.1.5/build/8723ds/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_wdev_unregister’: /home/itrue/host/git/riscv/sipeed-lichee-kernel-snap/parts/wlan-driver/build/rtl8723ds-dkms/5.1.1.5/build/8723ds/os_dep/linux/ioctl_cfg80211.c:7052:17: error: ‘struct wireless_dev’ has no member named ‘current_bss’ 7052 | if (wdev->current_bss) { | ^~
The driver fails to compile on 5.19 kernels with the following errors:
/home/itrue/ host/git/ riscv/sipeed- lichee- kernel- snap/parts/ wlan-driver/ build/rtl8723ds -dkms/5. 1.1.5/build/ 8723ds/ os_dep/ linux/ioctl_ cfg80211. c:6821: 20: error: initialization of ‘int (*)(struct wiphy *, struct net_device *, unsigned int)’ from incompatible pointer type ‘int (*)(struct wiphy *, struct net_device *)’ [-Werror= incompatible- pointer- types] rtw_stop_ ap, ~~~~~~~ ~~~~~~ host/git/ riscv/sipeed- lichee- kernel- snap/parts/ wlan-driver/ build/rtl8723ds -dkms/5. 1.1.5/build/ 8723ds/ os_dep/ linux/ioctl_ cfg80211. c:6821: 20: note: (near initialization for ‘rtw_cfg80211_ ops.stop_ ap’) host/git/ riscv/sipeed- lichee- kernel- snap/parts/ wlan-driver/ build/rtl8723ds -dkms/5. 1.1.5/build/ 8723ds/ os_dep/ linux/ioctl_ cfg80211. c: In function ‘rtw_wdev_ unregister’ : host/git/ riscv/sipeed- lichee- kernel- snap/parts/ wlan-driver/ build/rtl8723ds -dkms/5. 1.1.5/build/ 8723ds/ os_dep/ linux/ioctl_ cfg80211. c:7052: 17: error: ‘struct wireless_dev’ has no member named ‘current_bss’
6821 | .stop_ap = cfg80211_
| ^~~~~~~
/home/itrue/
/home/itrue/
/home/itrue/
7052 | if (wdev->current_bss) {
| ^~