Closed Vadimatorik closed 1 year ago
I think that it needs new static if...
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 19, 0))
if (started) {
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 11, 0))
cfg80211_ch_switch_started_notify(adapter->pnetdev, &chdef, 0, 0, false);
#else
cfg80211_ch_switch_started_notify(adapter->pnetdev, &chdef, 0);
#endif
I pushed a fix for builds up to v6.4.
Have you tried the repo at https://github.com/lwfinger/rtw88.git? It now supports the 8723DU.
No. I not try to use it. Thank you. I will try it today.
Okey... I have tried...
$ make
make -C /lib/modules/5.15.0-72-generic/build M=/home/vadimatorik/Downloads/rtw88 modules
make[1]: Entering directory '/usr/src/linux-headers-5.15.0-72-generic'
CC [M] /home/vadimatorik/Downloads/rtw88/main.o
CC [M] /home/vadimatorik/Downloads/rtw88/mac80211.o
CC [M] /home/vadimatorik/Downloads/rtw88/util.o
CC [M] /home/vadimatorik/Downloads/rtw88/debug.o
CC [M] /home/vadimatorik/Downloads/rtw88/tx.o
CC [M] /home/vadimatorik/Downloads/rtw88/rx.o
CC [M] /home/vadimatorik/Downloads/rtw88/mac.o
CC [M] /home/vadimatorik/Downloads/rtw88/phy.o
CC [M] /home/vadimatorik/Downloads/rtw88/coex.o
CC [M] /home/vadimatorik/Downloads/rtw88/efuse.o
CC [M] /home/vadimatorik/Downloads/rtw88/fw.o
CC [M] /home/vadimatorik/Downloads/rtw88/ps.o
/home/vadimatorik/Downloads/rtw88/ps.c: In function ‘rtw_recalc_lps’:
/home/vadimatorik/Downloads/rtw88/ps.c:338:39: error: ‘struct ieee80211_vif’ has no member named ‘cfg’
338 | if (data.count == 1 && data.found_vif->cfg.ps) {
| ^~
make[2]: *** [scripts/Makefile.build:297: /home/vadimatorik/Downloads/rtw88/ps.o] Error 1
make[1]: *** [Makefile:1907: /home/vadimatorik/Downloads/rtw88] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.15.0-72-generic'
make: *** [Makefile:117: all] Error 2
I cannot build it :(
I just pushed a fix that should allow a build on kernel 5.15.
I just pushed a fix that should allow a build on kernel 5.15.
No. It is not working :(
$ make
make -C /lib/modules/5.15.0-72-generic/build M=/home/vadimatorik/Downloads/rtw88 modules
make[1]: Entering directory '/usr/src/linux-headers-5.15.0-72-generic'
CC [M] /home/vadimatorik/Downloads/rtw88/main.o
CC [M] /home/vadimatorik/Downloads/rtw88/mac80211.o
CC [M] /home/vadimatorik/Downloads/rtw88/util.o
CC [M] /home/vadimatorik/Downloads/rtw88/debug.o
CC [M] /home/vadimatorik/Downloads/rtw88/tx.o
CC [M] /home/vadimatorik/Downloads/rtw88/rx.o
CC [M] /home/vadimatorik/Downloads/rtw88/mac.o
CC [M] /home/vadimatorik/Downloads/rtw88/phy.o
CC [M] /home/vadimatorik/Downloads/rtw88/coex.o
CC [M] /home/vadimatorik/Downloads/rtw88/efuse.o
CC [M] /home/vadimatorik/Downloads/rtw88/fw.o
CC [M] /home/vadimatorik/Downloads/rtw88/ps.o
/home/vadimatorik/Downloads/rtw88/ps.c: In function ‘rtw_recalc_lps’:
/home/vadimatorik/Downloads/rtw88/ps.c:338:39: error: ‘struct ieee80211_vif’ has no member named ‘cfg’
338 | if (data.count == 1 && data.found_vif->cfg.ps) {
| ^~
make[2]: *** [scripts/Makefile.build:297: /home/vadimatorik/Downloads/rtw88/ps.o] Error 1
make[1]: *** [Makefile:1907: /home/vadimatorik/Downloads/rtw88] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.15.0-72-generic'
make: *** [Makefile:117: all] Error 2
I checked commit version.
$ git log
commit e8b743f3d2af2f32eb0825177b746ce5134af56b (HEAD -> master, origin/master, origin/HEAD)
Author: Larry Finger <Larry.Finger@lwfinger.net>
Date: Sat May 27 09:56:16 2023 -0500
Revert "rtw88: Disable SUPPORTS_DYNAMIC_PS"
This reverts commit 4cbee7154f9223d536ad745d2222dae8ad6d8e17.
I just pushed a fix that should take care of your problem.
I just pushed a fix that should take care of your problem.
Thank you) I did it.
$ make
make -C /lib/modules/5.15.0-72-generic/build M=/home/vadimatorik/Downloads/rtw88 modules
make[1]: Entering directory '/usr/src/linux-headers-5.15.0-72-generic'
CC [M] /home/vadimatorik/Downloads/rtw88/main.o
CC [M] /home/vadimatorik/Downloads/rtw88/mac80211.o
CC [M] /home/vadimatorik/Downloads/rtw88/util.o
CC [M] /home/vadimatorik/Downloads/rtw88/debug.o
CC [M] /home/vadimatorik/Downloads/rtw88/tx.o
CC [M] /home/vadimatorik/Downloads/rtw88/rx.o
CC [M] /home/vadimatorik/Downloads/rtw88/mac.o
CC [M] /home/vadimatorik/Downloads/rtw88/phy.o
CC [M] /home/vadimatorik/Downloads/rtw88/coex.o
CC [M] /home/vadimatorik/Downloads/rtw88/efuse.o
CC [M] /home/vadimatorik/Downloads/rtw88/fw.o
CC [M] /home/vadimatorik/Downloads/rtw88/ps.o
CC [M] /home/vadimatorik/Downloads/rtw88/sec.o
CC [M] /home/vadimatorik/Downloads/rtw88/wow.o
CC [M] /home/vadimatorik/Downloads/rtw88/bf.o
CC [M] /home/vadimatorik/Downloads/rtw88/regd.o
CC [M] /home/vadimatorik/Downloads/rtw88/sar.o
LD [M] /home/vadimatorik/Downloads/rtw88/rtw_core.o
CC [M] /home/vadimatorik/Downloads/rtw88/rtw8822b.o
CC [M] /home/vadimatorik/Downloads/rtw88/rtw8822b_table.o
LD [M] /home/vadimatorik/Downloads/rtw88/rtw_8822b.o
CC [M] /home/vadimatorik/Downloads/rtw88/rtw8822be.o
LD [M] /home/vadimatorik/Downloads/rtw88/rtw_8822be.o
CC [M] /home/vadimatorik/Downloads/rtw88/rtw8822bu.o
LD [M] /home/vadimatorik/Downloads/rtw88/rtw_8822bu.o
CC [M] /home/vadimatorik/Downloads/rtw88/rtw8822bs.o
LD [M] /home/vadimatorik/Downloads/rtw88/rtw_8822bs.o
CC [M] /home/vadimatorik/Downloads/rtw88/rtw8822c.o
CC [M] /home/vadimatorik/Downloads/rtw88/rtw8822c_table.o
LD [M] /home/vadimatorik/Downloads/rtw88/rtw_8822c.o
CC [M] /home/vadimatorik/Downloads/rtw88/rtw8822ce.o
LD [M] /home/vadimatorik/Downloads/rtw88/rtw_8822ce.o
CC [M] /home/vadimatorik/Downloads/rtw88/rtw8822cu.o
LD [M] /home/vadimatorik/Downloads/rtw88/rtw_8822cu.o
CC [M] /home/vadimatorik/Downloads/rtw88/rtw8822cs.o
LD [M] /home/vadimatorik/Downloads/rtw88/rtw_8822cs.o
CC [M] /home/vadimatorik/Downloads/rtw88/rtw8723d.o
CC [M] /home/vadimatorik/Downloads/rtw88/rtw8723d_table.o
LD [M] /home/vadimatorik/Downloads/rtw88/rtw_8723d.o
CC [M] /home/vadimatorik/Downloads/rtw88/rtw8723de.o
LD [M] /home/vadimatorik/Downloads/rtw88/rtw_8723de.o
CC [M] /home/vadimatorik/Downloads/rtw88/rtw8723du.o
LD [M] /home/vadimatorik/Downloads/rtw88/rtw_8723du.o
CC [M] /home/vadimatorik/Downloads/rtw88/rtw8723ds.o
LD [M] /home/vadimatorik/Downloads/rtw88/rtw_8723ds.o
CC [M] /home/vadimatorik/Downloads/rtw88/rtw8821c.o
CC [M] /home/vadimatorik/Downloads/rtw88/rtw8821c_table.o
LD [M] /home/vadimatorik/Downloads/rtw88/rtw_8821c.o
CC [M] /home/vadimatorik/Downloads/rtw88/rtw8821ce.o
LD [M] /home/vadimatorik/Downloads/rtw88/rtw_8821ce.o
LD [M] /home/vadimatorik/Downloads/rtw88/rtw_8821cs.o
CC [M] /home/vadimatorik/Downloads/rtw88/rtw8821cu.o
LD [M] /home/vadimatorik/Downloads/rtw88/rtw_8821cu.o
CC [M] /home/vadimatorik/Downloads/rtw88/pci.o
LD [M] /home/vadimatorik/Downloads/rtw88/rtw_pci.o
CC [M] /home/vadimatorik/Downloads/rtw88/sdio.o
LD [M] /home/vadimatorik/Downloads/rtw88/rtw_sdio.o
CC [M] /home/vadimatorik/Downloads/rtw88/usb.o
LD [M] /home/vadimatorik/Downloads/rtw88/rtw_usb.o
MODPOST /home/vadimatorik/Downloads/rtw88/Module.symvers
CC [M] /home/vadimatorik/Downloads/rtw88/rtw_8723d.mod.o
LD [M] /home/vadimatorik/Downloads/rtw88/rtw_8723d.ko
BTF [M] /home/vadimatorik/Downloads/rtw88/rtw_8723d.ko
Skipping BTF generation for /home/vadimatorik/Downloads/rtw88/rtw_8723d.ko due to unavailability of vmlinux
CC [M] /home/vadimatorik/Downloads/rtw88/rtw_8723de.mod.o
LD [M] /home/vadimatorik/Downloads/rtw88/rtw_8723de.ko
BTF [M] /home/vadimatorik/Downloads/rtw88/rtw_8723de.ko
Skipping BTF generation for /home/vadimatorik/Downloads/rtw88/rtw_8723de.ko due to unavailability of vmlinux
CC [M] /home/vadimatorik/Downloads/rtw88/rtw_8723ds.mod.o
LD [M] /home/vadimatorik/Downloads/rtw88/rtw_8723ds.ko
BTF [M] /home/vadimatorik/Downloads/rtw88/rtw_8723ds.ko
Skipping BTF generation for /home/vadimatorik/Downloads/rtw88/rtw_8723ds.ko due to unavailability of vmlinux
CC [M] /home/vadimatorik/Downloads/rtw88/rtw_8723du.mod.o
LD [M] /home/vadimatorik/Downloads/rtw88/rtw_8723du.ko
BTF [M] /home/vadimatorik/Downloads/rtw88/rtw_8723du.ko
Skipping BTF generation for /home/vadimatorik/Downloads/rtw88/rtw_8723du.ko due to unavailability of vmlinux
CC [M] /home/vadimatorik/Downloads/rtw88/rtw_8821c.mod.o
LD [M] /home/vadimatorik/Downloads/rtw88/rtw_8821c.ko
BTF [M] /home/vadimatorik/Downloads/rtw88/rtw_8821c.ko
Skipping BTF generation for /home/vadimatorik/Downloads/rtw88/rtw_8821c.ko due to unavailability of vmlinux
CC [M] /home/vadimatorik/Downloads/rtw88/rtw_8821ce.mod.o
LD [M] /home/vadimatorik/Downloads/rtw88/rtw_8821ce.ko
BTF [M] /home/vadimatorik/Downloads/rtw88/rtw_8821ce.ko
Skipping BTF generation for /home/vadimatorik/Downloads/rtw88/rtw_8821ce.ko due to unavailability of vmlinux
CC [M] /home/vadimatorik/Downloads/rtw88/rtw_8821cs.mod.o
LD [M] /home/vadimatorik/Downloads/rtw88/rtw_8821cs.ko
BTF [M] /home/vadimatorik/Downloads/rtw88/rtw_8821cs.ko
Skipping BTF generation for /home/vadimatorik/Downloads/rtw88/rtw_8821cs.ko due to unavailability of vmlinux
CC [M] /home/vadimatorik/Downloads/rtw88/rtw_8821cu.mod.o
LD [M] /home/vadimatorik/Downloads/rtw88/rtw_8821cu.ko
BTF [M] /home/vadimatorik/Downloads/rtw88/rtw_8821cu.ko
Skipping BTF generation for /home/vadimatorik/Downloads/rtw88/rtw_8821cu.ko due to unavailability of vmlinux
CC [M] /home/vadimatorik/Downloads/rtw88/rtw_8822b.mod.o
LD [M] /home/vadimatorik/Downloads/rtw88/rtw_8822b.ko
BTF [M] /home/vadimatorik/Downloads/rtw88/rtw_8822b.ko
Skipping BTF generation for /home/vadimatorik/Downloads/rtw88/rtw_8822b.ko due to unavailability of vmlinux
CC [M] /home/vadimatorik/Downloads/rtw88/rtw_8822be.mod.o
LD [M] /home/vadimatorik/Downloads/rtw88/rtw_8822be.ko
BTF [M] /home/vadimatorik/Downloads/rtw88/rtw_8822be.ko
Skipping BTF generation for /home/vadimatorik/Downloads/rtw88/rtw_8822be.ko due to unavailability of vmlinux
CC [M] /home/vadimatorik/Downloads/rtw88/rtw_8822bs.mod.o
LD [M] /home/vadimatorik/Downloads/rtw88/rtw_8822bs.ko
BTF [M] /home/vadimatorik/Downloads/rtw88/rtw_8822bs.ko
Skipping BTF generation for /home/vadimatorik/Downloads/rtw88/rtw_8822bs.ko due to unavailability of vmlinux
CC [M] /home/vadimatorik/Downloads/rtw88/rtw_8822bu.mod.o
LD [M] /home/vadimatorik/Downloads/rtw88/rtw_8822bu.ko
BTF [M] /home/vadimatorik/Downloads/rtw88/rtw_8822bu.ko
Skipping BTF generation for /home/vadimatorik/Downloads/rtw88/rtw_8822bu.ko due to unavailability of vmlinux
CC [M] /home/vadimatorik/Downloads/rtw88/rtw_8822c.mod.o
LD [M] /home/vadimatorik/Downloads/rtw88/rtw_8822c.ko
BTF [M] /home/vadimatorik/Downloads/rtw88/rtw_8822c.ko
Skipping BTF generation for /home/vadimatorik/Downloads/rtw88/rtw_8822c.ko due to unavailability of vmlinux
CC [M] /home/vadimatorik/Downloads/rtw88/rtw_8822ce.mod.o
LD [M] /home/vadimatorik/Downloads/rtw88/rtw_8822ce.ko
BTF [M] /home/vadimatorik/Downloads/rtw88/rtw_8822ce.ko
Skipping BTF generation for /home/vadimatorik/Downloads/rtw88/rtw_8822ce.ko due to unavailability of vmlinux
CC [M] /home/vadimatorik/Downloads/rtw88/rtw_8822cs.mod.o
LD [M] /home/vadimatorik/Downloads/rtw88/rtw_8822cs.ko
BTF [M] /home/vadimatorik/Downloads/rtw88/rtw_8822cs.ko
Skipping BTF generation for /home/vadimatorik/Downloads/rtw88/rtw_8822cs.ko due to unavailability of vmlinux
CC [M] /home/vadimatorik/Downloads/rtw88/rtw_8822cu.mod.o
LD [M] /home/vadimatorik/Downloads/rtw88/rtw_8822cu.ko
BTF [M] /home/vadimatorik/Downloads/rtw88/rtw_8822cu.ko
Skipping BTF generation for /home/vadimatorik/Downloads/rtw88/rtw_8822cu.ko due to unavailability of vmlinux
CC [M] /home/vadimatorik/Downloads/rtw88/rtw_core.mod.o
LD [M] /home/vadimatorik/Downloads/rtw88/rtw_core.ko
BTF [M] /home/vadimatorik/Downloads/rtw88/rtw_core.ko
Skipping BTF generation for /home/vadimatorik/Downloads/rtw88/rtw_core.ko due to unavailability of vmlinux
CC [M] /home/vadimatorik/Downloads/rtw88/rtw_pci.mod.o
LD [M] /home/vadimatorik/Downloads/rtw88/rtw_pci.ko
BTF [M] /home/vadimatorik/Downloads/rtw88/rtw_pci.ko
Skipping BTF generation for /home/vadimatorik/Downloads/rtw88/rtw_pci.ko due to unavailability of vmlinux
CC [M] /home/vadimatorik/Downloads/rtw88/rtw_sdio.mod.o
LD [M] /home/vadimatorik/Downloads/rtw88/rtw_sdio.ko
BTF [M] /home/vadimatorik/Downloads/rtw88/rtw_sdio.ko
Skipping BTF generation for /home/vadimatorik/Downloads/rtw88/rtw_sdio.ko due to unavailability of vmlinux
CC [M] /home/vadimatorik/Downloads/rtw88/rtw_usb.mod.o
LD [M] /home/vadimatorik/Downloads/rtw88/rtw_usb.ko
BTF [M] /home/vadimatorik/Downloads/rtw88/rtw_usb.ko
Skipping BTF generation for /home/vadimatorik/Downloads/rtw88/rtw_usb.ko due to unavailability of vmlinux
make[1]: Leaving directory '/usr/src/linux-headers-5.15.0-72-generic'
But I cannot turn on it:
$ sudo make install
make -C /lib/modules/5.15.0-72-generic/build M=/home/vadimatorik/Downloads/rtw88 modules
make[1]: Entering directory '/usr/src/linux-headers-5.15.0-72-generic'
make[1]: Leaving directory '/usr/src/linux-headers-5.15.0-72-generic'
Install rtw88 SUCCESS
$ sudo modprobe -v 8723du
modprobe: FATAL: Module 8723du not found in directory /lib/modules/5.15.0-72-generic
The module is named rtw_8723du, not 8723du.
I'm sorry))) Okey) It's working) Thank you very math)
Hi!) My laptop: DEXP Aquilon My OS: Ubuntu 20.04.6 LTS My core version: 5.15.0-72-generic A try to build code from this repository (branch v5.13.4). I installed all requirements, A see this message: