Skip to content
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

[Help]: mt7921au (EDUP AX3000) dual-band/tri-band AP mode on OpenWRT #548

Closed
2 tasks done
paewie opened this issue Dec 3, 2024 · 3 comments
Closed
2 tasks done

Comments

@paewie
Copy link

paewie commented Dec 3, 2024

Checklist

  • I acknowledge that support is provided on a best-effort basis.
  • I acknowledge that the authors and contributors to this repository cannot be held responsible for the results of my use of any information contained in or linked from this repository.

uname

Linux OpenWrt 5.15.167 #0 SMP Mon Sep 23 12:34:46 2024 aarch64 GNU/Linux

lsusb

Bus 001 Device 005: ID 0e8d:7961 MediaTek Inc. Wireless_Device Bus 001 Device 003: ID 0424:ec00 Bus 001 Device 004: ID 2357:0601 TP-Link USB 10/100/1000 LAN Bus 001 Device 002: ID 0424:9514 Bus 001 Device 001: ID 1d6b:0002 Linux 5.15.167 dwc_otg_hcd DWC OTG Controller

rfkill

Not applicable to OpenWRT(?)

dkms

Not applicable to OpenWRT(?)

iw

phy#0
        Interface phy0-ap0
                ifindex 27
                wdev 0x13
                addr e8:4e:06:ad:99:4b
                ssid OpenWRT
                type AP
                channel 36 (5180 MHz), width: 80 MHz, center1: 5210 MHz
                txpower 3.00 dBm
                multicast TXQ:
                        qsz-byt qsz-pkt flows   drops   marks   overlmt hashcol tx-bytes        tx-packets
                        0       0       70      0       0       0       0       8502            71
phy#1
        Interface phy1-ap0
                ifindex 5
                wdev 0x100000001
                addr ba:27:eb:6b:3c:66
                ssid OpenWRT
                type AP
                channel 6 (2437 MHz), width: 20 MHz, center1: 2437 MHz
                txpower 31.00 dBm

What happened?

Hello @morrownr and contributors,

I ran into an issue and hope you guys can help point me in the right direction.

I'm trying to replace the ISP-provided (rented) router with a Raspberry Pi 3B running OpenWRT. The limited I/O (e.g. 100 MBit/s) does not pose a problem as the internet speed does not surpass these values. So far, almost everything runs fine.

To enable WiFi I consulted your plug and play list, read about some other caveats you pointed out around this repo, and finally chose the relatively newly added EDUP AX3000(*) for its WiFi 6e support (mt7921au chipset). Now I ran into a problem setting up the Tri-Band configuration however. Currently I am not sure where exactly the problem lies and I only have limited knowledge about Linux's (and therefore OpenWRT's) hardware interactions. It might be an OpenWRT issue but I could not find any mentioning of this online or in their guides except a pointer at the chipset's capabilities.

To go into more detail, every Frequency band for itself works perfectly fine (2.4 / 5 / 6 GHz), however as soon as I try to enable - say - the 2.4 and 5 GHz simultaneously, none of both can accept any client connections with only one broadcasting its SSID (or sending anything at all). In the OpenWRT interface, only the first configured SSID shows to have a BSSID, any subsequent ones report "Wireless is not associated" OpenWRT In addition I noticed that I can only set up one "Operating Frequency" for all SSIDs that would use the same radio.

Investigating a bit, I found the hint towards checking VAPs support, which it reportedly does not

root@OpenWRT:~# iwinfo
phy0-ap0  ESSID: "OpenWRT"
          Access Point: E8:4E:06:AD:99:4B
          Mode: Master  Channel: unknown (unknown)  HT Mode: NOHT
          Center Channel 1: unknown 2: unknown
          Tx-Power: 3 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: unknown
          Bit Rate: unknown
          Encryption: mixed WPA2/WPA3 PSK/SAE (CCMP)
          Type: nl80211  HW Mode(s): 802.11ac/ax/b/g/n
          Hardware: USB 0E8D:7961 [MediaTek MT7921AU]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: no  PHY name: phy0

Before I dig deeper into this with e.g. a firmware update, I wanted to ask you guys (since you likely are more knowledgable than me) if the Stick/Chipset even supports running Tri-Band operation. I assumed it would from this entry on the plug and play list ("* AP/VLAN")

Note: Single-state (no windows driver onboard, wifi only adapter.
Note: Uses the mt7921au chipset.
Note: Uses the standard Mediatek device ID (VID/PID) for the mt7921au chipset: ID 0e8d:7961
Note: Oldest kernel that supports this adapter: 5.18
Note: Oldest LTS kernel that supports this adapter: kernel 6.1
Note: Recommended kernel: 6.6 or later
Note: Supported interface modes with recommended kernel:
		 * managed
		 * AP
		 * AP/VLAN
		 * monitor
		 * P2P-client
		 * P2P-GO
Note: Removable antennas.

On a side note, I found something that sounds related in #107 (Bug no. 8), even though I am not sure if this is related. For now, I let the EDUP only provide the 5 GHz range and the builtin Antenna a 2.4 GHz radio, but I would like to be able to return the Stick and buy another one if it actually ends up not supporting my use-case.

(*) I noticed you refered to it as "EDUP EP-AX1672", however your provided links point to the AX3000(M) with the same chipset

Please let me know any ideas you have, thanks in advance!

@morrownr
Copy link
Owner

morrownr commented Dec 3, 2024

Hi @paewie

Welcome.

however as soon as I try to enable - say - the 2.4 and 5 GHz simultaneously,

There is the problem. USB WiFi adapters do not do "simultaneously". USB WiFi adapters have one radio inside. That radio may be capable of 2 or more bands but not more than one at a time. For you to run dual band, you need two radios. You can use your Edup adapter for 5 Ghz and the internal for 2.4. If you do not like the internal radio, I always turn if off as soon as I burn a new sd, then you need 2 usb wifi adapters and if you want tri-band, you guessed it, you need 3 usb wifi adapters.

Commercial wifi router have multiple radios inside.

(*) I noticed you refered to it as "EDUP EP-AX1672", however your provided links point to the AX3000(M) with the same chipset

AX3000(M) = class of the adapter
EDUP EP-AX1672 = model number of the adapter

Yes, there is a lot of inconsistency in how adapters are shown in ads. One of the big reasons that I established this site several years ago.

My opinion: The Edup adapter that you have should be about as good as it gets. I certainly enjoy using mine with a RasPi4B. It is somewhat future proof in that it will provide fast service for many years even if you upgrade your internet service and move to a RasPi5B.

@paewie
Copy link
Author

paewie commented Dec 3, 2024

Thanks for your quick response!

USB WiFi adapters do not do "simultaneously".

I was afraid this was where this would be going. I do appreciate the clarification, I sure misunderstood some of the terminology around this.

If you do not like the internal radio, I always turn if off as soon as I burn a new sd

That was the original plan. I have only rarely used the WiFi on any Pis and always preferred wired ethernet. Hopefully the internal radio holds up to the few 2.4 GHz-only devices I have. I might need to reconsider getting a cheap dedicated AP otherwise.

there is a lot of inconsistency in how adapters are shown in ads

I see. It did just occur to me while typing this that this might be a different model, which is why I pointed it out.

Also, I fully agree on your opinion regarding the Pi 4 or 5 with faster service. That actually was one of the reasons why I chose this particular stick. I'll give this situation another thought.

Well, thanks again for the detailled response. I appreciate it.

@paewie paewie closed this as completed Dec 3, 2024
@morrownr
Copy link
Owner

morrownr commented Dec 3, 2024

I might need to reconsider getting a cheap dedicated AP otherwise.

OpenWRT One is available these days. I posted about it the other day here in Issues. It might not be as cheap as you are looking for though.

Well, thanks again for the detailled response. I appreciate it.

Sure. Good luck.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants