-
Notifications
You must be signed in to change notification settings - Fork 198
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
(good info on guest support in ap mode) mt7612u DFS support #3
Comments
Quote: "The multi ap mode (guest ap mode) works too." Do you have an example you would share of setting up the guest mode? Thanks. |
Of course!
The trick is, you have to manually set the bssids, and the first one first byte have to be masked with 0x02 and the second one first byte with 0x06. This is because the driver uses the NEW_MULTI_BSSID_MODE:
|
Thanks. I'm going to have to try that on my RasPi4b access point. And I will get it documented. Any possibility of getting you write a review and providing a link or two for the COMFAST CF-WU782AC adapter? I have a couple of links for it but without having one, there is only so much I can write about. Cheers, Nick |
It works well with my rasPi4b. I had to disable the usb_sg. I like this setup because it can route near gigabit (with a tp-link ue300), my mobile devices have 300-500mbit/s download speed too, it has guest wifi, and I can easily switch to a newer wifi adapter later. The rpi runs kodi, a shairport server and a bluetooth sound receiver server too. |
Quote: "The mt7612u(n) doesn't support DFS" I finally had time this morning to check this issue. My client system is using an ALFA AWUS036ACM (mt7612u) adapter and the wifi router has been changed to channel 52, which is a DFS channel here in the US. My intent is to make this a long term test and try all of the DFS channels to get results. Can I get you to go over your results again as it looks to me like the mt76 drivers and the adapters do support DFS channels? At least the support appears to be there in client mode. I have not tested AP mode yet. |
When will you test the AP mode? |
I have. DFS is not supported currently. I'm trying to work the issue. |
Hi @soyersoyer I need your take on something I am reading:
See this part:
Is that DFS support? Is it just for the new 7921 or is it for the 7612 also? Regards |
I think they wrote about these commits: |
MT7610 and MT7612 support DFS in AP mode but it seem that their Linux driver is lacking of such support: On the other side the MT7921 DFS have been certified and commited in the Linux kernel (including MT7915): |
The PDF you posted makes no claim that the mt7610 or mt7612 support DFS in AP mode. |
When will this patch appear in the mainline kernel? |
I don't know about the mt7612u, but I've tested the mt7610u with "dfs-pulse-tester" and my HackRF SDR and have not seen any radar events on the hostapd log. Seems like it can't sense radar signals. I know my SDR setup is working since I can get my Ubiquiti AP's to react. |
If this is the case then support is not going to appear in the mainline kernel. |
Looking at mt76x02_util.c, I see this:
mt76x02_dfs_init_detector is only run for PCIe. Might be worth adding it for USB but I doubt the detection logic exists in the hardware. |
My bet is that the logic is there and the reason the support is not active in the usb driver is because Mediatek did not go through the certification process for the usb adapters. USB is the step child of the wifi world. |
Adding mt76x02_dfs_init_detector() to the USB init doesn't work to add dfs support to my mt7610u. I have also looked for other places where usb handling of dfs is different and so far not found any. I would love to get dfs working on my mt7610 but so far I'm failing. Has anyone else managed to get this working yet? |
Great summary!
You can add some more info:
The mt7612u(n) doesn't support DFS, but it can use that channels with different reg domain.
The multi ap mode (guest ap mode) works too.
The text was updated successfully, but these errors were encountered: