qcacmn: Add support to get roam scan channel list from fw

Firmware advertises WMI_SERVICE_ROAM_SCAN_CHANNEL_LIST_TO_HOST_SUPPORT
at the time of initialization, that means host can querry for roam scan
channels list to firmware.

Host driver sends WMI_ROAM_GET_SCAN_CHANNEL_LIST_CMDID to firmware to
querry roam scan channels list and firmware responds with an event
WMI_ROAM_SCAN_CHANNEL_LIST_EVENTID.

Change-Id: I419a0206d7b06b6186d0c333c951bca5206f342f
CRs-Fixed: 2620607
This commit is contained in:
Abhishek Ambure
2020-02-12 20:15:14 +05:30
committed by nshrivas
parent 1047ea9c6b
commit 122adb67b3
5 changed files with 73 additions and 3 deletions

View File

@@ -4598,6 +4598,7 @@ typedef enum {
wmi_wlan_time_sync_ftm_start_stop_event_id,
wmi_wlan_time_sync_q_master_slave_offset_eventid,
#endif
wmi_roam_scan_chan_list_id,
wmi_events_max,
} wmi_conv_event_id;
@@ -5106,6 +5107,7 @@ typedef enum {
wmi_service_peer_delete_no_peer_flush_tids_cmd,
wmi_service_time_sync_ftm,
wmi_service_nss_ratio_to_host_support,
wmi_roam_scan_chan_list_to_host_support,
wmi_services_max,
} wmi_conv_service_ids;
#define WMI_SERVICE_UNAVAILABLE 0xFFFF