Open ilgiznurgaliev opened 3 years ago
Seems that from reading https://github.com/aircrack-ng/rtl8812au/issues/721 you may have an RTL8821CU. Can you look if: https://github.com/ulli-kroll/rtl8821cu or https://github.com/brektrou/rtl8821CU compile and work for you?
@zebulon2 thanks for your response. Unable to compile the modules above. Got same error for both of them:
...
CC [M] /home/casper/build/rtl8821CU/os_dep/linux/recv_linux.o
/home/casper/build/rtl8821CU/os_dep/linux/recv_linux.c: In function ‘napi_recv’:
/home/casper/build/rtl8821CU/os_dep/linux/recv_linux.c:358:76: error: ‘GRO_DROP’ undeclared (first use in this function)
358 | if (rtw_napi_gro_receive(&padapter->napi, pskb) != GRO_DROP)
| ^~~~~~~~
/home/casper/build/rtl8821CU/os_dep/linux/recv_linux.c:358:76: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [scripts/Makefile.build:271: /home/casper/build/rtl8821CU/os_dep/linux/recv_linux.o] Error 1
make[1]: *** [Makefile:1851: /home/casper/build/rtl8821CU] Error 2
make[1]: Leaving directory '/usr/lib/modules/5.12.4-arch1-2/build'
make: *** [Makefile:2212: modules] Error 2
5.12 compatibility has just been proposed a few hours ago: https://github.com/brektrou/rtl8821CU/pull/134 The patch is approved but not yet merged to the main branch. You would have to patch your sources yourself: https://github.com/brektrou/rtl8821CU/pull/134/commits/d4a3d37441a3a17064eeebada09c30c264b44b23
@zebulon2 , thank you very much. With the patch works perfectly.
Hi,
After system upgrade I'm unable to compile the driver, getting the error below:
OS:
Arch Linux
Kernel:5.12.4-arch1-2
Device ID:0bda:c811
Could anyone please help to fix it?