-
Notifications
You must be signed in to change notification settings - Fork 178
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
Mediatek MT7921K "Question about AP mode" #66
Comments
Hi Craig, As hard as i try to keep with all of the details related to the new mt7921 chipsets and drivers, I am not where I would like to be. I am under the impression that the mt7921k supports 6 GHz and I saw the new Can you post the results of the following so I can get a better handle on what you have? iw list My laptop has a mt7921 based card. It is dual band, not triple band like you would get from a mt7921k based card. I just ran Nick |
I updated to Can you confirm that your card uses the
|
My laptop with mt7921: $ lspci 0000:02:00.0 Network controller: MEDIATEK Corp. Device 7961 $ iw list |
Can you run
|
$ sudo lspci -vv 0000:02:00.0 Network controller: MEDIATEK Corp. Device 7961 |
Ok, same driver then. I'm guessing that at a minimum, the I'll reach out to the driver maintainer to confirm and report back with my findings. Thanks |
The principal dev for this driver got back to me quickly and confirmed that "mt7921 only supports sta (client) and monitor mode at the moment." I'm not sure why your card would like AP Mode support in this case since it sounds like it won't work for any mt7921 devices. Anyway, feel free to update your table with these findings to remove indication of AP mode support. |
I changed AP mode in the PCIe chart to show There is very heavy development going on with the mt7921 driver right now. |
Sounds good! Hopefully we get something soon. One other small nit - technically the AX200 and AX210 drivers do support AP mode, it's just handicapped for LAR affected bands. So in the AP Mode row for these, you could say something like "2.4 GHz only" to be more precise. |
Also I just happened to have a MediaTek MT7921 lying around (same card as you), so I tried it: But it gives the same results, no AP supported with the mt7921e driver:
I actually had two 7961 cards with different sub-models, Are you certain the |
I am sure. No other internal wifi in that laptop and no usb adapter plugged in. You are just going to have to face the fact that my driver is better than yours. ... he he he. Seriously, I'm running kernel 5.13. I've not checked to see if AP mode is working. I have checked monitor and managed modes. Just because my driver says AP mode is working does not make it so. This site is mostly about USB adapters and there are no USB adapters based on the mt7921 yet so there is very little testing going on at this point. |
Sorry for the dumb question, but where is the table with the AP Mode support? Does it also show how many SSIDs are supported? I've been looking everywhere for a document like this and it sounds like it may have been under my nose the whole time! xD |
|
Word from a source that would know is that the AP mode support should be in the firmware very soon. It appears to me that Mediatek is going as fast as they can and they decided to go ahead and release the firmware and driver with support as you see it so that Linux users would have at least good managed mode support in the short term but are working very hard to get the rest of the parts in as fast as they can. These WiFi 6 chipsets and drivers are incredibly complex. It astounds me how well the 7921 based card in my laptop works given this new generation of wifi. All indications are that the 7921e and 7921u will be full featured once everything is complete.
Hopefully the above info helped. I still haven't had time to use AP mode but managed mode works great. I am busy. Golden Rule that I learned working on the Realtek drivers: Just because So, a little patience and we will have what we seek. Regards |
The following was submitted last week:
I suspect that these new firmware files include the AP support for the mt7921e/u. You can keep an eye on the log at the following site: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/log/mediatek Once you see a new entry for those files then you can go to Regards |
Today the follow patch was submitted. It appears that more than the new firmware was needed to turn AP Mode on:
As you know, I keep a watch on the linux-wireless mailing list. The amount of work required for the WiFi 6 drivers is incredible. As best I can tell Mediatek has all hands on desk in an effort to finish work on the remaining features for the mt7921[e,s,u]. FWIW: I've used Linux since before WiFi, as we know it, existed. If my memory is correct, the mt7921u will be the first USB WiFi driver that will be in the kernel and fully ready to go BEFORE adapters are available. |
Hello, Although their's a patch on mt7921 ap mode, It seems it not merged to mainline kernel yet? I installed the latest 5.17.5 kernel and download the latest formware but still not have ap mode in iw list. Any idea how to build it by ourselve, like dkms? |
hi @zzxxtt After I looked at the date on my message above about the latest commit, I can see the date is only 29 days ago. It won't be in 5.17. It may not have made it into 5.18 but for sure will be in 5.19. It is possible to compile and use a module that is in-kernel, however, that is on my to-do list. I need to learn how to do it. Let me know if you find a good guide. FYI: I updated my guide about Mediatek firmware: |
Hi @zzxxtt @craiganderson @gitclint @Malvineous Regarding the mt7921 AP mode issue: A message came through linux-wireless today and I am posting it below. Driver support for AP mode is going into kernel 5.19. New firmware is also required and has been uploaded to the normal place and I have updated the instructions that I keep in the following document... mt76 patches for 5.19
Bo Jiao (2): Christophe JAILLET (1): Colin Ian King (2): Deren Wu (2): Evelyn Tsai (1): Felix Fietkau (15): Lorenzo Bianconi (11): MeiChia Chiu (1): Peter Chiu (4): Ryder Lee (7): Sean Wang (3): Shayne Chen (1): Yunbo Yu (1): |
hi all, I am using RZ608 wifi card on ubuntu 22.04 to set up an wifi access point.
key_mgmt should be |
Hi @zeddit Recommend that you start a new issue. Very few people will see this issue in this location. I'd help if I could but using netplan and NM for AP mode is not something I know anything about. I do use AP mode a lot. In fact, I have an AP mode guide called Bridged Wireless Access Point on the Main Menu. |
@morrownr great thanks for your kindness and reply. |
any updates about mt7921 ap mode support |
This is a very old thread that has drifted toward various topics. I have various adapters/cards that use the mt7921u and mt7921e drivers and AP works fine for me. Recommend you start a new issue with details on your adapter/card, distro and what you are trying to do. |
Ahoj (@morrownr, too), It now seems to be at https://github.com/morrownr/USB-WiFi/blob/main/home/PCIe_WiFi_Devices.md. So, maybe you update your comment, @craiganderson? Regards! |
Where is the location of the bad link? |
In the comment in this thread which I linked in my citation: #issuecomment-1061385080. |
Using the
mt7921e
driver on a5.15.12
kernel for aMT7921K
device.When attempting to bring up an AP hosted with wpa_supplicant
v2.11
I get the following error:wlp3s0: Driver does not support AP mode
Would you be able to confirm (or add to your table) the last kernel version that was successfully tested for the devices listed there? And meanwhile if anyone has successfully used this card in AP mode and can supply their kernel version and environment details, that would be helpful.
Thanks!
The text was updated successfully, but these errors were encountered: