在使用MT7628芯片时,下载的工程编译后自带的wifi驱动不能正常运行,手机搜索不到对应WIFI。
工程文件:mtk-openwrt-sdk-20151231-185ab215.tar.bz2
下载路径:https://www.openwrtdl.com/wordpress/?s=7628
因此又从网络上寻找最新的MT7628 WIFI驱动:
MT7628_LinuxAP_V4.1.0.0_DPA_20161216.rar
将此驱动添加进下载的工程中,编译出现以下错误:
build//../src/embedded/../mac/mt_mac.o /home/lc/openwrt_mtk/openwrt-sdk/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7628/mt7628-p4rev-190515/build//../src/embedded/../mac/mt_mac.c
/home/lc/openwrt_mtk/openwrt-sdk/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7628/mt7628-p4rev-190515/build//../src/embedded/../mac/mt_mac.c: In function 'write_tmac_info_Data':
/home/lc/openwrt_mtk/openwrt-sdk/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7628/mt7628-p4rev-190515/build//../src/embedded/../mac/mt_mac.c:1145:3: error: implicit declaration of function 'RTMP_GET_PACKET_ICMP' [-Werror=implicit-function-declaration]
if ((pMacEntry) && (RTMP_GET_PACKET_ICMP(pTxBlk->pPacket)))
^
cc1: all warnings being treated as errors
scripts/Makefile.build:308: recipe for target '/home/lc/open