Skip to contentSkip to conversation

fix build for MediaTek MT7610U USB wireless dongle

PATCH In review [email protected] 3 participants 4 messages Aug 8, 2018 – Aug 9, 2018

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix build for MediaTek MT7610U USB wireless dongle

The mt76x0 driver requires the mt76 core driver to actually function. So add a 'select' to avoid embarrassing 'symbol unknown' errors when attempting to modprobe it in a module tree that doesn't include mt76.ko

---
Still need to figure out why it totally fails to see the 5gz band, it works find on 2.4 but ends up locked at 72mbits/sec. Works OK otherwise...

drivers/net/wireless/mediatek/mt76/Kconfig +1 -0
index 850611ad347a..b6c5f17dca30 100644
@@ -11,6 +11,7 @@ config MT76x2_COMMON
 
 config MT76x0U
 	tristate "MediaTek MT76x0U (USB) support"
+	select MT76_CORE
 	depends on MAC80211
 	depends on USB
 	help
#1 lore raw
Quoted 6 lines · [email protected] writes:

The mt76x0 driver requires the mt76 core driver to actually function. So add a 'select' to avoid embarrassing 'symbol unknown' errors when attempting to modprobe it in a module tree that doesn't include mt76.ko

I'll add "mt76:" prefix to the title and queue this for 4.19.

Quoted 3 lines

Still need to figure out why it totally fails to see the 5gz band, it works find on 2.4 but ends up locked at 72mbits/sec. Works OK otherwise...

Great, thanks for the feedback.

Signature · 1 line
Kalle Valo
#2 lore raw
In reply to [email protected]
Quoted 10 lines · On Wed, Aug 08, 2018 at 04:16:54PM -0400, [email protected] wrote:

The mt76x0 driver requires the mt76 core driver to actually function. So add a 'select' to avoid embarrassing 'symbol unknown' errors when attempting to modprobe it in a module tree that doesn't include mt76.ko

---
Still need to figure out why it totally fails to see the 5gz band, it works find on 2.4 but ends up locked at 72mbits/sec. Works OK otherwise...

This may depend on HW configuration written in the EEPROM. My dongle Linksys AE6000 do not require various features that Mediatek driver has, those are not implemented in mt76x0 driver and should be added. Your hardware may require those features.

You can try version of the driver from:
https://github.com/sgruszka/wireless-drivers-next/commits/mt76x0-draft-v2
which include various fixes and possibly can make things better (or worse, there can be regressions too)

Cheers
Stanislaw

#3 lore raw

Re: [PATCH] mt76: fix build for MediaTek MT7610U USB wireless dongle

In reply to [email protected]
Quoted 6 lines · Valdis Kletnieks

The mt76x0 driver requires the mt76 core driver to actually function. So add a 'select' to avoid embarrassing 'symbol unknown' errors when attempting to modprobe it in a module tree that doesn't include mt76.ko

Patch applied to wireless-drivers-next.git, thanks.

1ec49a236565 mt76: fix build for MediaTek MT7610U USB wireless dongle

Signature · 3 lines
https://patchwork.kernel.org/patch/10560477/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches