Skip to content
Hua Shao edited this page Mar 16, 2018 · 4 revisions

First Of All

MediaTek's WiFi drivers does not follow the mac80211/cfg80211/nl80211 architecture.

  • That is to say, you cannot use wifi tools like "iw", "wpa_supplicant", "hostapd", etc.
  • The only tools available is "iwpriv", which requires "wext" support in kernel.
  • Besides "iwpriv", all MediaTek WiFi drivers will take an configuration file named "*.dat", it will be loaded into drivers during interface up.
  • Someone would say that cfg80211 is partially supported in MediaTek drivers, yes, it's true, but I won't buy it.

MediaTek's WiFi drivers does not honor OpenWrt's "uci" command.

  • "/etc/config/wireless" will not work for MediaTek's WiFi drivers.
  • Further more, you cannot configure the WiFi properly using LuCi's default WiFi pages. Here we got an luci plugin "luci-app-mtkwifi" to replace original luci wifi pages.
  • If you really want to use "uci" to configure WiFi modules, you have to build an adapter layer to translate "/etc/config/wireless" into "/etc/wireless/mt76xx/mt76xx.dat". The application "uci2dat" will be a good example.

So, disable/remove the following modules/packages first.

As stated above, you'd better disable/remove the following modules/packages before using MediaTek drivers, otherwise your system may run into various bugs, even kernel crashes.

  • rt2x00
  • mt76
  • cfg80211
  • mac80211
  • wpad
  • supplicant