Bug #3964
【4.2.3.1】下发配置wifi信息未配置成功
0%
Description
【测试步骤】
1、平台下发以下消息
{"type":"cfg","sequence":0,"mac":"081074000001","set":{"wifi":[{"radio":{"mode":"2.4G","channel":11,"bandwidth":"20","wifimode":"b/g/n","txpower":"0"},"ap":[{"apidx":0,"enable":"yes","ssid":"test","key":"12345678","auth":"wpapskwpa2psk","encrypt":"aes"}]},{"radio":{"mode":"5G","channel":0,"bandwidth":"20","wifimode":"a/n/ac","txpower":"0"},"ap":[{"apidx":0 ,"enable":"yes","ssid":"testElink-5G","key":"12345678","auth":"wpapskwpa2psk","encrypt":"aes"}]}],"mode":"set"},"status":{"wifi":[{"radio":{"mode":"2.4G","channel":0}},{"radio":{"mode":"5G","channel":0}}]}}
2、web查看wifi配置与下发消息是否配置一致
【预期结果】
1、wifi配置与下发消息配置一致
【实际结果】
web配置未变化
2026-02-11 15:15:01.891 [INFO] (elink) <- {"type":"cfg","sequence":0,"mac":"081074000001","set":{"wifi":[{"radio":{"mode":"2.4G","channel":11,"bandwidth":"20","wifimode":"b/g/n","txpower":"0"},"ap":[{"apidx":0,"enable":"yes","ssid":"test","key":"12345678","auth":"wpapskwpa2psk","encrypt":"aes"}]},{"radio":{"mode":"5G","channel":0,"bandwidth":"20","wifimode":"a/n/ac","txpower":"0"},"ap":[{"apidx":0,"enable":"yes","ssid":"testElink-5G","key":"12345678","auth":"wpapskwpa2psk","encrypt":"aes"}]}],"mode":"set"},"status":{"wifi":[{"radio":{"mode":"2.4G","channel":0}},{"radio":{"mode":"5G","channel":0}}]}} (576)
2026-02-11 15:15:01.904 [INFO] wifi config no changed
2026-02-11 15:15:01.904 [INFO] (elink) -> {"type":"ack","sequence":0,"mac":"081074000001","errcode":0,"errmsg":""} (72)
2026-02-11 15:15:01.892: [elinkclt] ubus_invoke_debug: o: ctcapd.wifi.1, m: get
2026-02-11 15:15:01.893: [elinkclt] {"ctcapd.wifi.1":{"channel":11,"txpower":"0","currentchannel":11,"bandwidth":0,"enable":"no","load":"100","mode":"b/g/n","auth":"open/shared/wpapsk/wpa2psk/wpa_wpa2_psk/wpa_enterprise/wpa2_enterprise/wpa_wpa2_enterprise/wps/wpa3sae/wpa2_wpa3","backgroundnoise":0}}
2026-02-11 15:15:01.893: [elinkclt] ubus_invoke_debug: o: ctcapd.wifi.2, m: get
2026-02-11 15:15:01.895: [elinkclt] {"ctcapd.wifi.2":{"channel":0,"txpower":"0","currentchannel":0,"bandwidth":0,"enable":"no","load":"100","mode":"a/n/ac","auth":"open/shared/wpapsk/wpa2psk/wpa_wpa2_psk/wpa_enterprise/wpa2_enterprise/wpa_wpa2_enterprise/wps/wpa3sae/wpa2_wpa3","backgroundnoise":0}}
2026-02-11 15:15:01.896: [elinkclt] ubus_invoke_debug: o: ctcapd.devinfo, m: get
2026-02-11 15:15:01.901: [elinkclt] {"ctcapd.devinfo":{"mac":"****","vendor":"ZNXT","model":"ZN-E5","swversion":"V2.0.0","hdversion":"V2.0.0","sn":"****","ipaddr":"****","url":"http:\/\/router.ctc","wireless":"no","dualband":"yes","triband":"no","workmode":"bridge","suggestworkmode":"any","mesh":1,"usb":"no","vpn":"no","ifversion":"3.0","ctei":"****","lanports":[1,2,3],"wanports":[4],"devtype":"AP","description":"CTCC BE3600 ROUTER"}}
2026-02-11 15:15:01.901: [elinkclt] ubus_invoke_debug: o: ctcapd.wifi.1.ap.1, m: get
2026-02-11 15:15:01.902: [elinkclt] {"ctcapd.wifi.1.ap.1":{"enable":"yes","hide":0,"ssid":"****","key":"****","auth":"wpapskwpa2psk","encrypt":"aes","bssid":"****","accessmode":0,"accessrule":0,"allowedipport":"","usbandwidth":0,"dsbandwidth":0}}
2026-02-11 15:15:01.903: [elinkclt] ubus_invoke_debug: o: ctcapd.wifi.2.ap.1, m: get
2026-02-11 15:15:01.904: [elinkclt] {"ctcapd.wifi.2.ap.1":{"enable":"yes","hide":0,"ssid":"****","key":"****","auth":"wpapskwpa2psk","encrypt":"aes","bssid":"****","accessmode":0,"accessrule":0,"allowedipport":"","usbandwidth":0,"dsbandwidth":0}}