qcacmn: Get per channel pno scan config service capability

Firmware advertises the service capability bit
WMI_SERVICE_PNO_SCAN_CONFIG_PER_CHANNEL when it supports per
channel scan config flags. Get this and cache in psoc.

If firmware supports WMI_SERVICE_PNO_SCAN_CONFIG_PER_CHANNEL,
it uses the upper-12 bits(bit-20 to bit 32) of channel_list
for flags and lower 20-bits(bit-0 to bit-19) for frequency.
If firmware doesn't support it, then channel_list holds the
frequency value only. Fill the flags and frequency accordingly.

Change-Id: I30d36a3c164e23cf0395129e5b93d186b81aa8a6
Crs-Fixed: 3103921
This commit is contained in:
abhinav kumar
2021-12-30 14:34:18 +05:30
committed by Madan Koyyalamudi
parent 913e7a6bea
commit 6c158c59d4
4 changed files with 13 additions and 2 deletions

View File

@@ -5492,6 +5492,7 @@ typedef enum {
wmi_service_dynamic_update_vdev_macaddr_support,
#endif
wmi_service_probe_all_bw_support,
wmi_service_pno_scan_conf_per_ch_support,
wmi_services_max,
} wmi_conv_service_ids;
#define WMI_SERVICE_UNAVAILABLE 0xFFFF