Mtk6515为WLAN添加默认信任点

来自个人维基
跳转至: 导航搜索

配置alps/external/wpa_supplicant_6/wpa_supplicant/CMCC-wpa_supplicant.conf:

ctrl_interface=DIR=/data/misc/wpa_supplicant GROUP=wifi
update_config=1
manufacturer=MediaTek Inc.
device_name=Wireless Client
model_name=MT6620
model_number=6620
serial_number=2.0
device_type=10-0050F204-5
os_version=01020300
config_methods=display push_button keypad

network={
	ssid="CMCC"
	key_mgmt=NONE
}

network={
	ssid="CMCC-EDU"
	key_mgmt=NONE
}

编译时,系统会根据当前的CMCC的版本,将该文件中内容拷贝到etc/wifi/wpa_supplicant.conf文件中,打开wifi时supplicant会从这个配置文件中载入曾经配置的AP信息。