-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kernel 6.3 fix #39
Comments
Thanks. I also recommend using the rtw88 driver, either the built-in version in 6.2+, or the later version in https://github.com/lwfinger/rtw88.git. BTW, I will soo drop maintenance of this repo. |
still useful for older kernel arm systems @lwfinger - thanks for providing it |
OK, I will keep it for now. How old a kernel are you describing? |
Some SBC's go back to 4.4 but most are now going to 6.1LTS |
It certainly builds on 6.1. I do not know about the 4.4. I cannot even do a test of a kernel that old. My gcc version would croak! |
see: lwfinger/rtl8723du#39 diff --git a/os_dep/ioctl_cfg80211.c b/os_dep/ioctl_cfg80211.c index 64541a3641..a2d9d49fcf 100644 --- a/os_dep/ioctl_cfg80211.c +++ b/os_dep/ioctl_cfg80211.c @@ -173,6 +173,8 @@ u8 rtw_cfg80211_ch_switch_notify(struct adapter *adapter, u8 ch, u8 bw, u8 offse #if LINUX_VERSION_CODE < KERNEL_VERSION(5, 19, 2) cfg80211_ch_switch_notify(adapter->pnetdev, &chdef); +#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 3, 0)) + cfg80211_ch_switch_notify(adapter->pnetdev, &chdef, 0, 0); #else cfg80211_ch_switch_notify(adapter->pnetdev, &chdef, 0); #endif or use the driver in linux 6.2+ with CONFIG_RTW88 CONFIG_RTW88_8723DU CONFIG_WLAN CONFIG_WLAN_VENDOR_REALTEK
or use the driver in linux 6.2+ with
The text was updated successfully, but these errors were encountered: