Android cannot connect to 5g Hz wifi on custom board with WCN3660B

hi guys
At present, based on the Android version, the wifi chip has been changed to wcn3660B/3680, which is supported by the source code. The 2.4g wifi connection is normal, but as soon as it is connected to 5G Hz wifi, it will automatically quit.
Because the project is urgent, I do not know how to modify it to support 5G HZ, whether there is patch or some other Suggestions. Thank you very much.
The following is the error log when I click to connect to 5G hz wifi

127|root@db410cv3:/ # [ 729.382425] [00:14:42.986263] [0000000345A35940] [wpa_s] wlan: [E :HDD] wlan_hdd_get_frame_logs: Frame Logging not init!
[ 729.412153] wlan: [985:E :CTL] Error returned WDI_ProcessInitScanRspi:0 BMPS0
[ 731.158467] [00:14:44.762312] [0000000347ABACE7] [wpa_s] wlan: [E :HDD] wlan_hdd_get_frame_logs: Frame Logging not init!
[ 732.261388] [00:14:45.865218] [0000000348EECB2B] [VosMC] wlan: [E :PE ] limProcessAuthFailureTimeout: 4382: received AUTH failure timeout in sessionid 0 limMlmstate 7 limSmeState 5
[ 732.281315] [00:14:45.885154] [0000000348F4A21D] [VosMC] wlan: [E :PE ] limProcessMlmAuthCnf: 621: Auth Failure occurred.
[ 732.313169] [00:14:45.917011] [0000000348FDF751] [VosMC] wlan: [E :HDD] wlan_hdd_get_frame_logs: Frame Logging not init!
[ 732.323805] [00:14:45.927646] [0000000349011503] [VosMC] wlan: [E :HDD] wlan_hdd_get_frame_logs: Frame Logging not init!
[ 732.334477] [00:14:45.938319] [0000000349043572] [VosMC] wlan: [E :HDD] hdd_AssociationCompletionHandler: send connect failure to nl80211: for bssid 8c:be:be:29:b5:f1 result:1 and Status:9 reasonCode 1
[ 742.363483] [00:14:55.967324] [00000003547E64C8] [wpa_s] wlan: [E :HDD] wlan_hdd_get_frame_logs: Frame Logging not init!
[ 742.392200] wlan: [985:E :CTL] Error returned WDI_ProcessInitScanRspi:0 BMPS0
[ 1054.135827] [00:20:07.739666] [00000004B949F27F] [wpa_s] wlan: [E :HDD] wlan_hdd_get_frame_logs: Frame Logging not init!
[ 1054.163928] wlan: [985:E :CTL] Error returned WDI_ProcessInitScanRspi:0 BMPS0
[ 1055.644211] [00:20:09.248053] [00000004BB03DB77] [wpa_s] wlan: [E :HDD] wlan_hdd_get_frame_logs: Frame Logging not init!
[ 1056.712793] [00:20:10.316623] [00000004BC3CEA63] [VosMC] wlan: [E :PE ] limProcessAuthFailureTimeout: 4382: received AUTH failure timeout in sessionid 0 limMlmstate 7 limSmeState 5
[ 1056.728715] [00:20:10.332556] [00000004BC41953F] [VosMC] wlan: [E :PE ] limProcessMlmAuthCnf: 621: Auth Failure occurred.
[ 1056.764066] [00:20:10.367552] [00000004BC4BD5E7] [VosMC] wlan: [E :HDD] wlan_hdd_get_frame_logs: Frame Logging not init!
[00000004BC4F0395] [VosMC] wlan: [E :HDD] wlan_hdd_get_frame_logs: Frame Logging not init!
[00000004BC5228CD] [VosMC] wlan: [E :HDD] hdd_AssociationCompletionHandler: send connect failure to nl80211: for bssid a0:c5:f2:b0:7c:1e result:1 and Status:9 reasonCode 1

If like you say, its URGENT, then you probably should be seeking paid support. Someone like @Loic or @danielt should be able to get you the details for that.

As an alternative temporary solution for an urgent situation, consider a USB wifi dongle.

1 Like

What release and kernel are you running?

release for android 6.0 ,Linux version 3.10.49-ge8ea06ca11a-dirty
System standby state has been reporting an error.
root@db410cv3:/ #
root@db410cv3:/ # [ 1557.688348] [01:27:40.806998] [00000006F977EA79] [wpa_s] wlan: [E :HDD] wlan_hdd_get_frame_logs: Frame Logging not init!
[ 1557.716404] wlan: [982:E :CTL] Error returned WDI_ProcessInitScanRspi:0 BMPS0
[ 1572.693325] [01:27:55.811975] [000000070AA3E7C0] [wpa_s] wlan: [E :HDD] wlan_hdd_get_frame_logs: Frame Logging not init!
[ 1572.725563] wlan: [982:E :CTL] Error returned WDI_ProcessInitScanRspi:0 BMPS0
[ 1587.711541] [01:28:10.830188] [000000071BD3C5C1] [wpa_s] wlan: [E :HDD] wlan_hdd_get_frame_logs: Frame Logging not init!
[ 1587.741474] wlan: [982:E :CTL] Error returned WDI_ProcessInitScanRspi:0 BMPS0
[ 1602.725417] [01:28:25.844065] [000000072D025E86] [wpa_s] wlan: [E :HDD] wlan_hdd_get_frame_logs: Frame Logging not init!
[ 1602.756188] wlan: [982:E :CTL] Error returned WDI_ProcessInitScanRspi:0 BMPS0

Linux works normally after modifying the patch provided before, but now the customer suddenly reports the problem of repeatedly connecting to 5G Hz wifi, and just wants to know whether this situation has been encountered.
The operation now replaces the WCNSS_qcom_wlan_nv.bin file after the RF calibration, but the effect is not good. It looks like the code is supported.