-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
News: USB WiFi Adapters based on the mt7921au chipset (WiFi 6e) are now available... #87
Comments
I confirm that these adapters are multi-state. EDIT: 2022-08-03 - @haevalencia It is looking like the person providing the information was not well informed. Multiple users that have one of the adapters in hand have reported that the adapters are single state. Some stores on AliExpress are already preparing devices with this new MediaTek chip like Edup Official Store which will released it soon. The Anddear Store, which makes the current unbranded adapter with the MT7612U chip, said that if there was interest from users, it would work on a new model with the MT7921au chip. So go show your interest wink wink. |
Thanks for contacting ANDDEAR. Be wary - they are in my opinion currently selling non-functional mt7612u adapters. My hope would be they don't repeat the same mistake(s) with their mt7621au adapters. |
I bought two units of the Using your really useful, but obviously lacking in features, Will report back when I get my hands on them. I will be following this thread, but if someone gets those adapters first, could you test and mention me here? Thanks. |
Hopefully we can spread the word to Linux users to be careful what they ask for. We should be asking for single-state adapters and if the maker wants to include a small, cheap flash drive for the Windows and MAC drivers, that would be great. The reason I word it this way is because out-of-kernel drivers, such as those that Realtek makes, do not work well because of the development model of Linux. Unlike Windows or the MAC OS, Linux does not lock apis for long periods. Linux is under constant development so the only way to keep device drivers up to date and working is for them to be located in the mainstream kernel. Linux users do not want Linux drivers on a CD...it will not work. Period. The 5 out-of-kernel Realtek drivers that I and other maintain here make for a lot of work and we do it with no help from Realtek. Realtek is doing things wrong. Linux device drivers need to be developed in-kernel and they need to meet the applicable standards. In the case of the Realtek out-of-kernel drivers, the driver are not in-kernel and they do not meet published stanards. Thank goodness for Mediatek. They are doing it right.
I will be showing my interest by talking directly to makers and resellers. Come on ALFA! |
@amisix speaks words of wisdom. The unbranded mt7612u adapter in the Anddear store is to be avoided. I did have it in the list of recommended adapters for a short period but a serious bug was found. We researched and tested the issue and can only conclude that there is an engineering error somewhere in that adapter. Try to use it in USB3 port 1 and see what happens. The unbranded mt7610u adapter works well and is still listed. Regards |
Hi @bcdonadio
We are waiting on your review. Cool.
I wish the 8814au driver was better because a lot of Linux users have adapters based on that chipset. At one point last year, a post doctoral student contacted me as he was doing research on beamforming. He was doing a deep dive on the beamforming support in 8814au and he reported that things are not good in 8814au. It is hard to work on the Realtek drivers and we get zero help from Realtek so it is a minor miracle that we have that driver as stable as it is. I really think Linux users that want to work on code should concentrate on the in-kernel Mediatek MT76 and MT7601u drivers.
Did I mention that we are waiting? He he. |
@morrownr drop a link here to an AliExpress, Amazon wish list or even a Paypal account so I can send this adapter (or another one you may want) your way. It's only fair with all this awesome work you've been doing for the community. My hardware would be an expensive brick without your effort. I would have sent you something already trough Github Sponsors if it weren't a pain to setup. You can send the link to my email too if you prefer. Thanks for all your effort and be safe! |
Oh. What is the bug? I have been using it on several laptops and even my ThinkPad T495 which has a 3.x and 3.1 gen 2 (10Gbps) USB-A ports and no visible issues. |
Use Not a port 2 or port 3 or port 4. @amisix and I have not been able to get it to get it to work or at least work well in a port 1. If it does work and you put iperf3 on a run of 300 seconds or more it will slow down and eventually stop. Sometimes it will show the same symptoms on port 2. This has happened on a variety of hardware. I have some test results around here somewhere. I'm currently in major maintenance mode so I'll need to to local the file. |
It doesn't initialize/work in certain USB3 ports, issue was originally identified on a Raspberry Pi 4B then replicated on several other x86 platforms. USB3 Port 1 "Top" USB port fails, USB3 Port 2 "Bottom" USB Port functions. It will initialize in a USB2 port intermittently but ultimately fail while running iperf3 as referenced by @morrownr. Original Thread: Discussion with WLAN-PI team regarding this issue (replicated on their Pi setup and x86 hardware). |
I appreciate the kind words and offer. I might set something up someday but for now let's just say that I am paying forward what others did to help me over the years. Nick |
Partly, I mean sure their hardware has good specs and they have great drivers but how much is that really worth when you can't even acquire their products. Let's be honest either they don't care or they've got a little Nvidia market manipulation "chipset shortage" thing going on. Sure to some extend there is a chipset shortage but RealTek among others seem to be having no issues pushing out there products. Nothing generates profits like a global conflict, am I right?
When's the last time those guys manufactured anything new and interesting? Couple of years ago, yeah, they don't care... Easier and cheaper to push propaganda and fake articles instead of you know, actually designing a new product. XXXX all the corporate zombies enabling all this bullshit, but that's the conspiracy man. Not sure if this one's been spotted yet but here you are, Gigabyte PCIe MT7921K (MT7921K (RZ608)) 40$. |
I am all for having a good discussion about economics as it has to do with USB WiFi in some way. Your message is taking the original topic off course so I am requesting that you start a new topic in the Discussion section and I am requesting that you refrain from using foul language is I would like to keep this site G rated. Would I enjoy a discussion about economics and business practices around the world? Certainly. I don't give much information about my background usually but I will here so that you know: I have undergraduate and graduate degrees in Economics. I have taught economics at the university level. I learned programming using FORTRAN on an IBM mainframe. That should give you an idea of my age. I have little tolerance for conspiracy theories. I do my best to make sure the information on this site is useful and factual. I understand a great deal about how businesses work and what factors are at work in the world economy. In the world of IT related products, some companies own their own fabs. Some do not. Fab plants are extremely expensive. Whether a company owns their own fab can have a great deal of influence on how they are able to conduct business. I look forward to you starting a new discussion. Regards, Nick |
Doesn't everything have to do something with something?
You're right and GitHub isn't exactly the appropriate platform for this.
Do you really want to discuss economics on GitHub? I mean ultimately we can beat around the bush all we want. The new MediaTek chipsets are currently just not available. Blame it on economics, blame it on Admin Smith it doesn't matter, there's nothing we can do in order to change that.
I think it's important to note that I normally don't swear at all, more on this later.
Given your mention about having studied economics I doubt we'd come to agreement about how things work.
That's a good thing, I personally think the best programmers are born due to their understanding of "low level" languages because grasping them really helps you understand on a deeper level how a computer works.
I probably should've worded that differently, it's not necessarily a conspiracy theory if there's some truth in it an well I think we all can establish that all markets in the world are in one way or another manipulated. I don't mean to come across as someone who believes in crazy conspiracy theories and is actively spreading them, that's not at all the case. More so it was a moment of weakness, desperation, because I've been actively searching for new hardware for about a month now and I lost my patience. I also should probably note, and not as a reason to excuse my actions but I struggle from severe health issues which sometimes cause me to act irrationally.
Both RealTek and MediaTek are fabless according to Wikipedia. Undoubtedly these factories are incredibly expensive, but the profit some of these companies turn over, or are able to turn over must make such a expense worth it don't you think? |
This one seems pretty humble. I think I want it. Also, I'm gonna have to agree with @morrownr about Mediatek support on Linux. Look at the sheer amount of work on these chipsets that we have coming in to the mainline tree, with a good chunk of those patches authored by Mediatek employees. |
I monitor linux-wireless so I see the flow on a daily basis: http://vger.kernel.org/vger-lists.html#linux-wireless While it is easy to pick out employees of a company since their email address will be something like @mediatek.com or @intel.com, what may not be obvious unless you monitor the list is that individuals such as Lorenzo Bianconi and Felix Fietkau are likely under contract to Mediatek as they do a LOT of work that they could not do unless they were under the direction of Mediatek and were supported by Mediatek with information that would be needed. Both individuals also appear to have contracts with the Foundation as they work on wireless parts that are maintained by the Foundation. My opinion is that Mediatek is all in. When is the last time you can remember a USB WiFi adapter driver being in the mainline kernel BEFORE the hardware is available to buy? I'm pretty sure the answer is never. I certainly can't this happening. I will not surprise me to see Mediatek grab a lot of market share from several of their competitors over the next few years. |
All in is a bold move. I must say however, you're optimism and continual updates are very uplifting and help me remain hope.
You're very much so right.
That's great, I think this is them @nbd168 and @LorenzoBianconi. Both of them seem to have a lot of experience and primarily devote their attention to wireless communication, they've both developed drivers and worked on OpenWRT. Felix seems a bit more high profile and has a bigger social media presence, he's even got a speech about open source WiFi drivers, ironically I think I've come across this video on hackaday or a similar site in the past already. I hope MediaTek can continue supporting developers as such, and considering they made 4 766 832.82 USD this year in Q1 already I doubt it'll be much of an issue for them, financially speaking anyway. If this deems true however I fully agree with you, I think MediaTek will absolutely dominate the Linux market. I doubt they're allowed to say anything but maybe these gentlemen can tell us a little more about what the future holds? |
I ordered and received both devices (CF-951AX & CF-953AX) and they are not multi-state! The box contains a small cdrom with the drivers for Windows. |
Hi @yaslama Thanks for the information. We would appreciate a performance report from you as you are able. Something like the reviews for certain adapters in the following document:
This is great news. Just to be sure, can I get you to disable usb_modeswitch? Look at the last section at the below link: https://github.com/morrownr/USB-WiFi/blob/main/home/How_to_Modeswitch.md If they fire up and work with usb_modeswitch deactivated, then we have confirmation that they are single-state.
I was doing a little research the other day and ran across the above. When it did not mention I realize that I am going to need to include instructions for users since adapters based on the mt7921au are going to require some assistance for now:
Probably should give instructions for at least one popular distro.
Regards |
I ran iperf3 with an Turris Omia (not upgraded to wifi 6) and a Mini PC (Asus PN51) having also an internal ax200 card at a distance of 50 cm from the Omnia:
-- Wired using an ethernet cable
I made sure that no usb-modeswitch is installed in my test system
I think that your instructions are OK. I copied the same 3 files to /lib/firmware/mediatek/ |
Thanks for checking again. I am also seeing the same from @foen73 in discussion #88 so I am convinced the CF-953AX is indeed a single state adapter and giving the performance reports so far I think I will add it to the in-kernel list soon. @foen73 sent along the
|
I'm curious as to why the 6 GHz channels are shown? |
Based on the press release https://corp.mediatek.com/news-events/press-releases/mediatek-and-samsung-introduce-worlds-first-wi-fi-6e-enabled-8k-tv, It said: MT7921AU supports Wi-Fi 6E and Bluetooth 5.2 from a single, highly integrated platform. ... Wi-Fi 6E is designed to make use of uncongested bandwidth in the 6GHz spectrum .... so should it be reasonable to see 6GHz to be supported in the device? |
Hi @objelf I am aware of that press release. I found it yesterday when trying to get to the bottom of this 6 GHz issue. Is the MT7921AU chipset that is used in the new CF-953AX the same as the chipset used in the Samsung TV? That is not clear to me. If we select http://en.comfast.com.cn/index.php?m=content&c=index&a=show&catid=13&id=182 I would love it if the CF-953AX really is a tri-band adapter. That is what we want. Regards |
@morrownr It seems that indeed CF-953AX (and CF-951AX) supports 6 GHz channels ans is a tri-band adapter even if Comfast is not advertising it. I tried to run hostapd (from git because the debian version is too old) with a configuration using channel 93 from Band 4 with the CF-953AX and tried to connect to this AP with the CF-951AX in another PC and the connection didn't work (I need to work more on that), but I saw that data was exchanged in the 6415 MHz frequency. |
Oh wow! I have not set up hostapd with 6 GHz due to the lack of a usb wifi adapter that supports 6 GHz. Reading the hostapd.conf docs is probably needed. Would you like for me to read the docs and make suggestions to your hostapd.conf? |
FYI, the manual of COMFAST CF-951AX mentions: "Note: When using a desktop computer, it is recommended to use a USB extension cord base to connect to the port on the back of the computer case (some desktop ports have an insufficient power supply or cannot be used), and extend it to the Desktop computer USB ports." I observed this in my case; using the Comfast extension cable CF-U316 I could not get the wifi adapter working using the front-panel USBs. It was working though either on its own plugged on the front-panel USBs or using the extension cable plugged on the back ports of the M/B. @bcdonadio , on another note, the Windows driver package for this device includes both wifi_mt7961u_patch_mcu_1_2_hdr.bin and wifi_ram_code_mt7961u_1.bin, which are the linux firmware files. I was wondering if I would be successful and the adapter would work fine with the latest firmware if I just replaced such files with the latest ones (e.g. dated 20.01.2023) and re-installed the existing (older) windows driver. Or are the latest linux firmware files tied with the specific respective driver/.inf/.sys files ? |
@pstlr78 I believe you can edit the .sys file or whatever and point to the new filename, or replace the content with the old name. Regardless, you will almost sure run into driver signature issues (the file hash won't be accepted). You can disable the Driver Signature Enforcement, which is OK for a test system, but you probably won't want that in your production system. Simply too much of a target for malware. Anyway, it's your choice. In order to disable DSE you have to disable Secure Boot as well, which also entails in disabling the Core Isolation protection (Windows 11 now run in a transparent Hyper-V VM with this feature enabled, and offers a good amount of protection against kernel vulnerabilities, since you would need to exploit both the guest kernel and the Hyper-V hypervisor, the later having a much smaller vulnerability surface exactly because it is a hypervisor and not a fully-fledged OS). So, almost a Windows 98 in terms of security. :) Maybe run a minimalistic Linux distro with Hyper-V, perform a USB passthrough, and point your default route towards that VM? |
Regarding the power issues: I had to increase the voltage a little bit on my front ports, or use a powered USB hub to get it working on my desktop without reaching for the back ports. On my small NUC the front ports worked well with standard settings. |
Ah, the new firmware might come packaged in the Update Tuesday (second Tuesday of the month), which is when Microsoft releases batches of patches, fixes and also driver updates as well. You might need to wait just until Feb 14 (guesswork though). |
I'll admit that I know little about Windows as I followed this path on small computers: CP/M, PC-DOS, DR-DOS, OS/2 and Linux. But... it almost sounds like you expect Microsoft to ship updated Linux firmware files.
Yes, you can always upgrade firmware files to the latest in Linux. The Main Menu here has a menu item that gives the locations and filenames for the firmware that most regular users would use.
Okay. Windows drivers and Linux drivers have nothing to do with each other. As far as I know, Windows doesn't have the equivalent of the Linux firmware files because the entire Windows driver is already a binary blob. Linux uses 2 part drivers (for the in-kernel drivers) so that as much as possible can be open source and included in the kernel which also allows companies to maintain some company secrets in firmware (binary blob that we can't read). Firmware is not part of the kernel. It is part of the distro and each distro has to have one or more people that keep the firmware in the distro up to date. Often it boils down to us out here in userland to file bugs or otherwise contact the person that maintains the firmware. Firmware generally does not get updated too often. The mt7921 firmware has been seeing new firmware drops every one to two month for some time now but I think that mostly has to do with adding new capability and not so much with fixing bugs. The new Wifi 6/6e drivers are big and incredibly complicated. |
Maybe I misunderstood, but I thought that you were talking about the firmware blobs that run on the adapter's SoC itself. I couldn't think of a reason an engineer would choose to have different firmwares for different OSes. Seems like completely unnecessary pain since you need to support more than one system anyway. And don't forget the cost saving of not having to put an extra NAND chip that will be read just once per initialization, while you can get away with just a tiny NOR chip (that you already need anyway because you can't access instruction per instruction with NAND for the very beginning of the initialization process and big NOR chips are hellish expensive). The part that differ is the driver (as in the kernel module) which of course are completely different. The blobs are usually the same, you can copy from one system to another. The OS is oblivious to what is in there, it just knows that it needs to transfer that thingy during the device initialization. Curiously, even this was not entiiiiirely true a little bit more than a decade ago (god, I'm getting old). There was a complete lack of Linux drivers for these adapters, and one solution was to use ndiswrapper to horseshoe Windows Ethernet/WiFi drivers into Linux by means of translating the Windows ABI which the driver library expected to interact with. There was no hope that the manufacturers would bother writing these drivers for Linux and reverse-engineering is always a PITA. And now we have the interesting situation where a firmware blob is available first (with a little bit of manual work) for Linux, a few weeks in advance. Weird, but I will take it. :) |
And Microsoft is doing only the "delivery" part here. Mediatek has probably submitted the updated driver+firmware combo a while ago, but Microsoft keeps a regular cadence of updates in order not to drive the sysadmins (even more) nuts. |
For some reason Windows Update Catalog does not have any drivers with reference to mtkwl6eux.inf . No drivers for Netgear A8000 there either. If you search on the internet you could only find the drivers on Comfast's website (older version 1.0.0.68), on 3rd party driver websites (v1.0.0.76) and on Netgear's website for A8000 (v1.0.0.108). Hence I would not expect anything on Feb 14th or whenever the new update is out. @morrownr , the Windows driver pack (consisitng of various files) does include wifi_mt7961u_patch_mcu_1_2_hdr.bin and wifi_ram_code_mt7961u_1.bin firmware files too. If they are not used anywhere then why are they part of the package? |
FWIW: I have a new Alfa AWUS036AXML, and I can confirm that it Just Works™ when plugged into a machine running Linux 6.1.14. No USB mode switch is required. It's so refreshing to see a Linux Wi-Fi driver that fully and correctly implements cfg80211/mac80211 rather than rolling its own proprietary garbage. |
Nice adapter.
Seems kind of expensive (especially outside the US) and not widely available yet.
|
Congrats of the new Alfa. It would be cool if you take a some pics and start a new issue...if you have time. |
I'm going to defend Alfa on the price. I certainly would like to see a lower price but my experience is that Alfa products are generally worth it as they tend to use higher quality parts and their adapters tend to hold up better over the long term. Every Alfa adapter I have ever bought still works fine. Something else to consider with this adapter is that it comes with a nice cable that plugs into either USB-C or USB-A. Good quality cables like this can cost $20 USD or more. USB adapters can be problematic and the CF-951AX I have annoys me. The chipset works well and, as we know, the mt7921u driver is stabilizing out nicely. What gets me about the CF-951AX is that it will not work reliably unless it is plugged directly into a port on my desktop. This is likely a power issue which is a problem caused by the maker of the adapter, not the supplier of the chipset and driver. I'm thinking about dropping the CF-951AX from the in-kernel list as I have had it long enough now to see. I'd really like a good report from @whitslack . |
Hello @morrownr, Do you have a range comparison information between AWUS036AXML and AWUS036ACHM at 2.4Ghz? AWUS036AXML's TX Power is listed above as 30dBm at 2.4Ghz which seems similar to the AWUS036ACHM's 2.4Ghz PA SE2576L's output power listed in its specs. (Couldn't compare directly to AWUS036ACHM's iw list output since it reports absurdly low, whatever) Can we say that they both perform similar at 2,4Ghz in terms of range? |
Hi @BuyukBang
I do now. The AXML I have is a pre-production test model but I don't think there is anything that would have changed ragarding the results of this test. 2.4 GHz range test AXML ACHM Summary: The AXML shows higher throughput while the ACHM shows a signal level indicating it has longer range. This checks with Alfa's system of ratings. Alfa has 3 categories: Nornal, High Power and Max Power. The ACHM is a Max Power rated adapter while the AXML is a High Power rated adapter. Power is not actually a good way to put it as the range is actually coming from the quality of the antennas and amp. Good antennas and AMPs are costly which is why you see Alfa's adapters usually costing more. The reason for the AXML having higher throughput is that it is simply a later generation of 2.4 GHz technology. Both adapters are good quality adapters that should last for years. There are adapters on the market that would struggle to produce the signal levels from this test if they were 5 ft away from the router. Both of these adapter have really good range in the 2.4 band with the ACHM having extraordinary range. Hope this helps. |
Thank you very much for sharing this information! I really impressed how AXML performed in 2,4 GHz. I mean I didn't expected so much throughput difference at 2,4 GHz. Signal level difference is 15dBm and this number seems to be matching how a PA in this price range amplificates WiFi signal. Now I better understood the difference between Alfa's "Max Power" and "High Power" categorisation. I wonder if there will be a "Max Power" version of AXML with a replaceble antenna. Best regards, |
The following is basically a rumor so take it as such. I have heard there will be a Max Power version at some point this year. It won't be called AXML as it will have a new product number. It may use the mt7922u chipset. That is a sister chipset to the mt7921au but it has 160 MHz channel width capability. |
Sound as an effective and all-rounder solution in terms of speed and range.I wish this would happen. |
That 160 MHz channel width capability... whew! Can you say greater than 1 Gbps wifi? |
Found a CF-953AX clone: https://www.aliexpress.com/item/1005005935638503.html |
I don't see the chipset.
|
For $9.44, shipped, I'll bite.
It's in the product description. MT7921, it says. Doesn't specifically say it's the "AU" variant. |
You need to have hawkeyes to read specs on anything tech related on aliexpress 😂 |
Thanks for the link. If any of you get this adapter, how about letting us know the details on this adapter. |
|
Hi @whitslack Great post! I like the design as it includes a lot of vent holes even though the chipset has not shown to have any heating problems. It appears to be single-state as it includes a CD and no mention of bluetooth probably means single-function. Should this adapter be in the Plug and Play list? If you think so after using it, tell me and I make it happen. |
I unplugged a Qualcomm/Atheros AR9271 802.11n adapter from a headless Raspberry Pi, plugged in the Fenvi, and powered up, and it came right up on my network with no config changes needed. I would call that pretty Plug-and-Play! |
Does anyone use MT7921 in Parrot OS with Airgeddon, he is ok? How does it work in VB/LiveUSB? I want to buy a dongle. |
Updated: 2023-02-26
July 2022
Comfast CF-953AX - chipset: mt7921au (single-state) (BT 5.2)
http://en.comfast.com.cn/index.php?m=content&c=index&a=show&catid=13&id=182
July 2022
Comfast CF- 951AX - chipset: mt7921au (single-state) (BT 5.2)
http://en.comfast.com.cn/index.php?m=content&c=index&a=show&catid=13&id=209
October 2022
Netgear A8000 AX3000 USB Adapter - chipset: mt7921au
https://dongknows.com/netgear-a8000-ax3000-usb-adapter-is-here/
February 2023
ALFA AWUS036AXML
https://www.alfa.com.tw/products/awus036axml?variant=39754360684616
EDIT: 2022-07-22 - Important info: The above adapters use the mt7921u driver. The mt7921 base driver has been in the Linux kernel since 5.12 so internal cards have been working well for some time with the exception of AP mode. The above are usb adapters and usb support was not added to the mt7921 driver until kernel 5.18. Most of the more popular distros provide instructions for upgrading kernels. I can provide instructions for Ubuntu based distros on request. AP mode support was added in kernel 5.19. It requires a firmware upgrade, see Main Menu 8.
EDIT: 2022-07-22 - We now have reports from @foen73 and @yaslama about the CF-953AX. Both report that it is a single-state adapter. That is very encouraging.
EDIT: 2022-08-03 - FYI: I see from an ad that the chipset is called mt7921au. This is the first time I have seen that specific name. It appears the mt7921au chipset has the same capabilities as the mt7921k that we have known about for some time.
EDIT: 2022-07-22 - Disclaimer: While we do have limited positive reports at this point, there could be issues that have not been discovered yet.
Regards,
Nick
The text was updated successfully, but these errors were encountered: