AND THERE'S NO WORKING DRIVER FOR THIS REALTEK CHIP.
You can sell this to a Windows user and buy a Qualcomm/Intel pcie wireless adapter.
btw, this comfast adapter is TRASH. It will not recognize 5GHz network on Windows 7/8/8.1, and WILL NOT WORK on Windows 10. Just DO NOT BUY this comfast thing.
I got a linux driver for rtl8814ae_comfast, but it only support up to kernel version 4.4, so I managed to extinguish all the make errors, but after I inserted the module, it just did not work and I got no wireless interface.
Now I upload it to github, hoping to get some assist.
Here are the commits I made to let it successfully complie.
Error | On kernel above | Solution |
---|---|---|
timer | 4.15 | link |
sha256 | 5.8 | link |
set/get_fs | Unknown | link1; link2(*also in rtw_efuse.c) |
vfs_read/write | 4.14 | link1; link2(*also in rtw_efuse.c) |
rtw_select_queue | 5.2 & 4.19 | link |
date&time(warning) | N/A | link |
IEEE80211_MAX_AMPDU_BUF redefine(warning) | 4.19 | link |
is_compat_task | 4.6 | link(modified according to codes near is_compat_task) (*also in rtw_android.c) |
IEEE80211_band | 4.7 | link |
cfg80211_roamed incompatible pointer type | 4.12 | link |
get_monotonic_boottime (get_boottime in some drivers) | 4.20 | link(This commit raises new error, and I had to change `ktime_to_timespec` to `ktime_to_timespec64`) link(found modifying according to codes near `get_monotonic_boottime(&ts)` better, and also solved the "ts unknown" error) |
‘struct cfg80211_scan_info *’ type ‘bool’ | 4.8 | link(The first attempt was reverted) |
destructor | 4.12 | link |
access_ok | 5.0 | link |
proc_create_data incompatible pointer type | 5.6 | link(my driver only have functions called `rtw_drv_*_fops` using `single_release`) |
ISO C90 forbids variable length array ‘input’(warning) | N/A | link |
‘struct net_device’ has no member named ‘trans_start’ | 4.7 | link(modified according to codes near `padapter->pnetdev->trans_start = jiffies;`) |