WIFI DONGLE with 5GHz AP support?

Hi,

after reading tons of information, I still can't understand if there is a WIFI-USB dongle with 5ghz which supports AP mode and works with LEDE/Openwrt without compiling drivers?
If it is, would you mind to help me with a model name?

My configuration:
LEDE_RELEASE="OpenWrt SNAPSHOT r6514-ed369e0"
LEDE_ARCH="x86_64"

148f:5572 Ralink Technology, Corp. RT5572 Wireless Adapter

software interface modes (can always be added):
		 * AP/VLAN
		 * monitor
	valid interface combinations:
		 * #{ managed } <= 1, #{ AP, P2P-client, P2P-GO } <= 1, #{ P2P-device } <= 1,
		   total <= 3, #channels <= 2

0e8d:7612 MediaTek Inc.

software interface modes (can always be added):
		 * AP/VLAN
		 * monitor
	valid interface combinations:
		 * #{ managed } <= 1, #{ AP, P2P-client, P2P-GO } <= 1, #{ P2P-device } <= 1,
		   total <= 3, #channels <= 2

Thanks for answer.
Could you determine which kernel module is needed for this adapters?

Please use this as an example
https://wireless.wiki.kernel.org/en/users/drivers/mediatek

I mean "Which driver is used by those devices?"

mt76xx?

I just want to be sure that driver is compiled and available for x86_64

rt2800-usb
mt76x2u

Did you test mt76x2u with AP mode 5ghz?
As I know AP mode on mt76 driver was not working, is it fixed already?

Not tested, as I recall. I used it for Mesh only. I would recommend to use the normal AP instead of a dongle in a router.

my router is x86_64 laptop, and it has only 2.4ghz inside...

router != AP

I have a netgear a6210 running x86 on master with mt76 driver update from the source as the current mt76 driver on OpenWrt has not been updated, it support ac 5GHz on AP and STA

BusyBox v1.31.0 () built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt SNAPSHOT, r11329-b9d58f7e06
 -----------------------------------------------------
root@OpenWrt:/# dmesg | grep mt76
[   15.993895] usbcore: registered new interface driver mt76x2u
root@OpenWrt:/# opkg list | grep mt76
kmod-mt76-core - 4.19.79+2019-10-20-fc3b1920-1
kmod-mt76-usb - 4.19.79+2019-10-20-fc3b1920-1
kmod-mt76x02-common - 4.19.79+2019-10-20-fc3b1920-1
kmod-mt76x02-usb - 4.19.79+2019-10-20-fc3b1920-1
kmod-mt76x2-common - 4.19.79+2019-10-20-fc3b1920-1
kmod-mt76x2u - 4.19.79+2019-10-20-fc3b1920-1
root@OpenWrt:/# iw wlan0 info
Interface wlan0
        ifindex 21
        wdev 0x5
        addr 00:40:00:30:00:00
        ssid AP6210
        type AP
        wiphy 0
        channel 153 (5765 MHz), width: 80 MHz, center1: 5775 MHz
        txpower 18.00 dBm
        multicast TXQ:
                qsz-byt qsz-pkt flows   drops   marks   overlmt hashcol tx-bytes        tx-packets
                0       0       16 
root@OpenWrt:/# iperf3 -c 192.168.1.190
Connecting to host 192.168.1.190, port 5201
[  7] local 192.168.1.1 port 55650 connected to 192.168.1.190 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  7]   0.00-1.00   sec  44.1 MBytes   370 Mbits/sec    0   1.19 MBytes       
[  7]   1.00-2.00   sec  42.5 MBytes   357 Mbits/sec    0   1.59 MBytes       
[  7]   2.00-3.00   sec  31.2 MBytes   262 Mbits/sec    0   1.59 MBytes       
[  7]   3.00-4.00   sec  53.8 MBytes   450 Mbits/sec    0   1.59 MBytes       
[  7]   4.00-5.00   sec  53.8 MBytes   452 Mbits/sec    0   1.59 MBytes       
[  7]   5.00-6.00   sec  53.8 MBytes   451 Mbits/sec    0   1.59 MBytes       
[  7]   6.00-7.00   sec  56.2 MBytes   472 Mbits/sec    0   1.59 MBytes       
[  7]   7.00-8.00   sec  55.0 MBytes   461 Mbits/sec    0   1.59 MBytes       
[  7]   8.00-9.00   sec  55.0 MBytes   461 Mbits/sec    0   1.59 MBytes       
[  7]   9.00-10.00  sec  55.0 MBytes   462 Mbits/sec    0   1.59 MBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  7]   0.00-10.00  sec   500 MBytes   420 Mbits/sec    0             sender
[  7]   0.00-10.05  sec   497 MBytes   415 Mbits/sec                  receiver

iperf Done.
1 Like

Can you elaborate on how you updated the driver from the source? Did you get the driver source from https://github.com/torvalds/linux/tree/master/drivers/net/wireless/mediatek/mt76 ?

From the OpenWrt mt76 source https://github.com/openwrt/mt76 edit the mt76 Makefile.
If you look at the OpenWrt mt76 Makefile history you can see a lot of examples how the driver has been updated https://github.com/openwrt/openwrt/tree/master/package/kernel/mt76
As example the one I using now https://github.com/1Jeff1/openwrt/commit/59bc22c57263c39978994e4fec00f5d973a53bb1