MT7601U OpenWrt

Hello. Can you help to download the MT7601U tariff on the OpenWrt system?

tariff = firmware ?

1 Like

I COULD NOT get the radio to come up or the Access Point configuration to go active. I did some research and found out that the MT7601 kernel modules do not support AP mode.

try add this patch to package/kernel/mac80211/patches
That may enable AP mode

diff --git a/drivers/net/wireless/mediatek/mt7601u/init.c b/drivers/net/wireless/mediatek/mt7601u/init.c
index cada488..d3b29c9 100644
--- a/drivers/net/wireless/mediatek/mt7601u/init.c
+++ b/drivers/net/wireless/mediatek/mt7601u/init.c
@@ -610,6 +610,7 @@ int mt7601u_register_device(struct mt7601u_dev *dev)
 	wiphy->features |= NL80211_FEATURE_ACTIVE_MONITOR;
 	wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION);
+	wiphy->interface_modes |= BIT(NL80211_IFTYPE_AP);
 	wiphy_ext_feature_set(wiphy, NL80211_EXT_FEATURE_CQM_RSSI_LIST);

Where can I add this code please

put this patch to new patch file, and put this file to package/kernel/mac80211/patches/build as other patch in that directory.

and make sure you set kmod-mt7601u in menuconfig

I didn't succeed in this can you make a video thanks

you need to fully compile it from source code instead download a exist firmware. you should know how to compile firmware.

EDIT: new pach from

@@ -605,8 +605,9 @@ int mt7601u_register_device(struct mt7601u_dev *dev)

	SET_IEEE80211_PERM_ADDR(hw, dev->macaddr);

-	wiphy->features |= NL80211_FEATURE_ACTIVE_MONITOR;
-	wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION);
+	wiphy->features |= NL80211_FEATURE_ACTIVE_MONITOR | NL80211_FEATURE_AP_SCAN;
+	wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION) | BIT(NL80211_IFTYPE_AP) | BIT(NL80211_IFTYPE_MONITOR);
+	wiphy->software_iftypes = BIT(NL80211_IFTYPE_STATION) | BIT(NL80211_IFTYPE_AP) | BIT(NL80211_IFTYPE_MONITOR);

	wiphy_ext_feature_set(wiphy, NL80211_EXT_FEATURE_CQM_RSSI_LIST);
1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.