Comments (15)
@lhernanz Hey there, my 8814 unit does not arrive until in 2 days or so, so I can not test this fix yet. If you do not want to wait, feel free to grab the sources from https://github.com/evilphish/rtl8812au (just committed a fix) and check whether it works now. If it works we can merge it back.
from rtl8812au.
Hi,
The @evilphish patch is working for me too!
I guess that we can close this one. We "only" need to make the AC mode to work and it will be almost perfect (have not checked if you have made any progress on that one lately). It is kind of crazy the mess that Realtek is creating and the low quality of the code.
Thanks for the help guys!
from rtl8812au.
That's the thing. It is changing to USB3 mode but this results in a drop in reception.
You can actually see more networks with the 8812 if you plug it into an old USB2 rather than a USB3 port. This leads me to believe that something is not working right with the mode switching. Even though the device does do the switch and is then listed as a USB3 device.
But I think we can close this and continue the discussion regarding the 8812 in the thread where this issue first manifested. #29 (comment)
from rtl8812au.
Thanks for the report, will take a look shortly :)
from rtl8812au.
Thanks,
I will keep testing the changes, although AC is not working with this version of the driver (see me comment on the AC bug) and, therefore, I am thinking about testing a previous version of the driver.
Regards
from rtl8812au.
Please be specific and do some test before the commit/changes are made.
from rtl8812au.
Sorry, I have not explained myself properly.
The bug report and fix is for v5.1.5. I have tested the change and I can confirm that the card changes to USB3.0 as expected after applying the patch.
My point about the need to move to a different version is that, in v5.1.5, AC is not working (at least for this card), so having USB3.0 is a moth point as you are not going to get wifi speeds above what USB 2.0 can support. Of course, the ideal thing would be to be able to fix the AC problem too :)
Regards
from rtl8812au.
Hi,
Uhm, I am not entirely sure. In the v5.1.5 you can already see some similar code doing some similar (there are important differences between the drivers, though) things. See the function rtw_cfg80211_create_vht_cap in 5.1.5 vs the rtw_cfg80211_init_vht_capab in 4.3.21.
But clearly the code in 5.1.5 is not working for AC, so it could be that the code is incomplete in that version. It is kind of amazing that Realtek of Alfa are not providing updated drivers for their products that are fully functional.
from rtl8812au.
Is there any real advantage of using v5.1.5 vs v4.3.21 as of today? As you say, code quality in v5.1.5 seems far from ideal.
from rtl8812au.
@lhernanz this issue has been resolved :)
from rtl8812au.
Hi,
the new code is not working for me. I am now connecting at USB2.0 speeds again. The problem still is the if (pHalData->EEPROMUsbSwitch == _FALSE)
comparison that you have uncommented in the last commit. If that comparison succeed, you get out of the method, therefore, you never get to execute the new code that you have added (that is working for me if I comment the mentioned statement as I was suggesting at the beginning of this thread).
My impression is that the variable pHalData->EEPROMUsbSwitch
is not initialized in the 8814 HAL code as the only references that I can find to that variable are in the 8812 HAL code:
hal/rtl8812a/usb/usb_halinit.c
2258: pHalData->EEPROMUsbSwitch = _FALSE;
2261: pHalData->EEPROMUsbSwitch = (PROMContent[EEPROM_USB_MODE_8812] & BIT1) >> 1;
2263: RTW_INFO("Usb Switch: %d\n", pHalData->EEPROMUsbSwitch);
Regards
from rtl8812au.
Yes, personally haven't got time for testing at the moment.
@evilphish is working on a solution for it, opened the issue report again so the discussion may be seen by others too. Thanks
from rtl8812au.
Got a friend to test it, and the device (on 8814au) is now working inn SuperSpeed on bcdUSB 3.00.
The patch seem to work great! Will have those logs sent first thing in the morning but it finally seems to be resolved.
from rtl8812au.
Confirmed working for 8814, how about 8812? If that works, we'll closed it..
from rtl8812au.
Closed. Continue om @evilphish issue report. Thanks
from rtl8812au.
Related Issues (20)
- Driver limit set wireless regulatory domain HOT 3
- Why has this so widely used driver not yet been submitted to the Linux kernel? HOT 8
- Build failure on linux 6.8.0 rc4
- Missing keystore
- Does not cross-compile with the kernel
- wish to add ZYNQ platform support
- ioctl(SIOCSIWMODE) not supported by driver: Operation not permitted
- Fedora Core 39 gcc (GCC) 13.2.1 20240316 HOT 1
- No combination possible (AP + managed) on RPi 4
- New in-kernel (mac80211) driver for rtl8821au, rtl8811au and rtl8821ae chipsets. HOT 6
- Edimax AC600 (+potentially other devices) no longer working after c7f8f6e3633bd91a9f359eb3406beb972e58cd7b HOT 8
- Implicit Function Declaration of "cfg80211_connect_bss" when compiling for Android Kernel
- 6.6.31 on x86_64 , adapter comes up but doesnt transfer any frames HOT 7
- Alfa AWUS036ACH. Why do I have these warnings ? HOT 1
- Adapter is available but not working HOT 12
- Any solution about IBSS mode?
- USB Wifi TP-Link AC600 cannot work with newest version HOT 45
- aircrack-ng HOT 1
- Alfa AWUS036EAC Monitor Mode issues HOT 2
- New kernel issue HOT 23
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rtl8812au.