OpenWrt Forum Archive

Topic: hostapd run on Mediatek (MT7621) ZBT Device

The content of this topic has been archived on 16 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello Team,

I am trying to run hostapd on ZBT device which is having MT7621 processor.
But seems Mediatek driver does not support hostapd (nl80211) driver.

hostapd , mac80211 & cfg80211 are updated and working perfectly with TP link  wireless adapter but does not working with ZBT inbuilt wireless configuration.

Can some one help me out if there any way (supported driver) to run hostapd on ZBT device?

logs of hostapd:

root@OpenWrt:~/hostapdl# ./hostapd -dd hostapd-phy0.conf
Configuration file: hostapd-phy0.conf
nl80211: Driver does not support authentication/association or connect command
:
:

mediatek proprietary driver doesnt supports mac80211 so use mt76 driver instead

Thanks for information.

So do we need to change the hostapd conf driver from nl80211 so some other driver or nl80211 will link to MT76 driver instead of mac80211 ?

I have MT drivers installed but hostapd looks for mac80211 driver via nl80211 which is configured in hostapd conf file.

if you have done it then can you please describe little bit more along with configuration ?

Thanks,
Amul Patel

mt76 driver written by openwrt devs so it can be configured by openwrt native way as other openwrt driver

Thanks, I found MT76 driver and trying to compile it.

MT76 source code: https://github.com/openwrt/mt76

openwrt Makefile package : https://dev.openwrt.org/browser/trunk/p … ?rev=47286

updated Makefile with 2016 patch :https://www.mail-archive.com/openwrt-commits@lists.openwrt.org/msg06874.html


I see that MT76 Driver support 4.* kernel and I am using 3.10.14 so Driver is not compatible with older linux version.

I am putting some efforts and applying the patches in 3.10.14 linux kernel with new header which are available in 4.* kernel to build MT76 driver successfully.

Thanks,
Amul

which wireless driver to be selected for zbt we-1326
I am using mt7621 and kernel is 3.10.14

list the packages to be slected for wireless drivers

The discussion might have continued from here.