Issue Confirmation
Does the qca6595 support PNO Scan?
Or, what configuration should be modified to make qca6595 support PNO Scan(PNO offload)?
Issue Background
When the screen is off, WIFI cannot automatically connect.
Preliminary Analysis
1. When the screen is off, the WIFI service sends a PNO Scan request(startPnoScan), but due to the failed execution of PNO Scan, the in-vehicle system cannot connect to the saved WIFI-AP.
10-04 11:46:52.251 E/wificond(357): NL80211_CMD_START_SCHED_SCAN failed: Invalid argument
10-04 11:46:52.251 E/wificond(357): Failed to start pno scan
2. After adding debug logs in the WIFI driver, it was confirmed that the following information:
After the Wifi Driver starts, when executing the wma_update_target_services function, the status obtained from wmi_service_nlo(WMI_SERVICE_NLO)is false.
This subsequently leads to the execution of the following error branch in the __wlan_hdd_cfg80211_sched_scan_start function when the Wifi Service sends a PNO Scan request.
3. The following configuration file shows that PNO Scan has been set to a supported state. It is currently unclear if there are other configuration items that may affect the functionality of PNO Scan.