rtl8812au
rtl8812au copied to clipboard
This code is based on an old driver (v4.2.2); can you upgrade it to be based on v4.3.2?
I see from your readme that:
This is a fork of the Realtek 802.11ac (rtl8812au) v4.2.2 (7502.20130507)
However, v4.3.2 has been available, apparently, since 2014-04-11. Can you update this repo to use that later driver? Here's a copy of it that came on my Alfa AWUS036AC driver CD I bought recently: https://github.com/ElectricRCAircraftGuy/AlfaWiFiAdapterSoftware/blob/master/ALFA_Driver_DVD_v3.0/driver/Linux_driver/AWUS036AC/AWUS036AC_036EAC_ACH_linux_v4.3.2_11100.20140411.tar
Note, when I run make
, here's the build error output, which led me to search until I landed on your repo here. Apparently this driver is only functional with old Linux kernels or something, as I'm sure you are aware.
gabriel@gabriel-Latitude-7490:~/Downloads/Install_Files/AlfaWifi/AWUS036AC/AWUS036AC_036EAC_ACH_linux_v4.3.2_11100.20140411$ make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.4.0-48-generic/build M=/home/gabriel/Downloads/Install_Files/AlfaWifi/AWUS036AC/AWUS036AC_036EAC_ACH_linux_v4.3.2_11100.20140411 modules
make[1]: Entering directory '/usr/src/linux-headers-5.4.0-48-generic'
CC [M] /home/gabriel/Downloads/Install_Files/AlfaWifi/AWUS036AC/AWUS036AC_036EAC_ACH_linux_v4.3.2_11100.20140411/core/rtw_cmd.o
In file included from /home/gabriel/Downloads/Install_Files/AlfaWifi/AWUS036AC/AWUS036AC_036EAC_ACH_linux_v4.3.2_11100.20140411/include/osdep_service.h:41,
from /home/gabriel/Downloads/Install_Files/AlfaWifi/AWUS036AC/AWUS036AC_036EAC_ACH_linux_v4.3.2_11100.20140411/include/drv_types.h:32,
from /home/gabriel/Downloads/Install_Files/AlfaWifi/AWUS036AC/AWUS036AC_036EAC_ACH_linux_v4.3.2_11100.20140411/core/rtw_cmd.c:22:
/home/gabriel/Downloads/Install_Files/AlfaWifi/AWUS036AC/AWUS036AC_036EAC_ACH_linux_v4.3.2_11100.20140411/include/osdep_service_linux.h: In function ‘_init_timer’:
/home/gabriel/Downloads/Install_Files/AlfaWifi/AWUS036AC/AWUS036AC_036EAC_ACH_linux_v4.3.2_11100.20140411/include/osdep_service_linux.h:253:8: error: ‘_timer’ {aka ‘struct timer_list’} has no member named ‘data’
253 | ptimer->data = (unsigned long)cntx;
| ^~
/home/gabriel/Downloads/Install_Files/AlfaWifi/AWUS036AC/AWUS036AC_036EAC_ACH_linux_v4.3.2_11100.20140411/include/osdep_service_linux.h:254:2: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]
254 | init_timer(ptimer);
| ^~~~~~~~~~
| _init_timer
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:275: /home/gabriel/Downloads/Install_Files/AlfaWifi/AWUS036AC/AWUS036AC_036EAC_ACH_linux_v4.3.2_11100.20140411/core/rtw_cmd.o] Error 1
make[1]: *** [Makefile:1734: /home/gabriel/Downloads/Install_Files/AlfaWifi/AWUS036AC/AWUS036AC_036EAC_ACH_linux_v4.3.2_11100.20140411] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.4.0-48-generic'
make: *** [Makefile:1350: modules] Error 2
And, in color for context: