Monthly Archives: December 2017

VoCore2: WiFi Driver for Linux 4.9(LEDE latest version)

I have spend a lot of time on this, finally it is working perfect with latest LEDE!!
This firmware also enable sniffer/monitor mode for possible fun.

This driver is more stable than last time one for Linux 4.5, I have used iperf3 test one hour, average speed is greater than 40Mbps — one on board blue antenna, and over 50Mbps for one external antenna. Of course double external antennas will be much faster.

firmware with blob here: http://vonger.cn/misc/vocore2/lede-ramips-mt76x8-vocore2-squashfs-sysupgrade.bin
md5: 9a7ef2de60713cfb7c951ba4a6a92b81

PS: unfortunately, because of MTK NDA, I can not public its source code.

How to use?
First of all: insmod mt7628

1. Enable wifi AP mode:

ifconfig ra0 192.168.1.1 up
brctl addif br-lan ra0

2. Enable monitor/sniffer mode(I never use sniffer mode before, maybe it works)

ifconfig mon0 up

3. Enable STA mode…(this need compile iwpriv into the firmware, I did not try)

iwpriv ra0 set SiteSurvey=1
sleep 1
iwpriv ra0 set SiteSurvey=0
iwpriv ra0 get_site_survey

iwpriv ra0 set Channel=11 (must same as your AP, this value can get from "iwpriv ra0 get_site_survey")
iwpriv apcli0 set ApCliEnable=0
iwpriv apcli0 set ApCliAuthMode=WPA2PSK (normally WPA2 personal we use this setting)
iwpriv apcli0 set ApCliEncrypType=AES
iwpriv apcli0 set ApCliSsid=[YOUR SSID]
iwpriv apcli0 set ApCliWPAPSK=[YOUR SSID PASSWORD]
iwpriv apcli0 set ApCliEnable=1

TODO:
make uci work with this driver. Currently have to manually insert the driver and start up it. :p

VoCore2: Wireless Driver for Linux 4.9

xxxx, LEDE Linux 4.9 kernel has changed a lot! Transport MediaTek wireless driver is very painful this time, part of the code have to be rewriten. :'(

PS: I think MTK should hire me for transport driver to openwrt/LEDE, I guess I know the driver even better than some of their engineers, lol :p

monitor mode, multi SSID, mesh network, and various of packages… everything is that delicious…attract me spend my time, have to work harder 🙂