qcacmn: Add status and num_extra_peers in wmi ready extract API

Add status recieved as part if WMI ready event into wmi_ready host param
structure to enable the removal of seperate API to extract status. Add
new param introduced by FW to indicate number of extra peers FW is
allocated for its internal use.

Change-Id: I7a9ed64d4a9d1f38397197c4c4a4114d8365eef7
CRs-Fixed: 2149878
此提交包含在:
Kiran Venkatappa
2017-11-28 12:23:24 +05:30
提交者 snandini
父節點 9c625d28f1
當前提交 b458a1c4e3
共有 2 個檔案被更改,包括 4 行新增0 行删除

查看文件

@@ -5847,6 +5847,7 @@ static QDF_STATUS extract_ready_event_params_non_tlv(wmi_unified_t wmi_handle,
{
wmi_ready_event *ev = (wmi_ready_event *) evt_buf;
ev_param->status = ev->status;
ev_param->num_dscp_table = ev->num_dscp_table;
if (ev->agile_capability)
ev_param->agile_capability = true;
@@ -5855,6 +5856,7 @@ static QDF_STATUS extract_ready_event_params_non_tlv(wmi_unified_t wmi_handle,
/* Following params not present in non-TLV target. Set Defaults */
ev_param->num_extra_mac_addr = 0;
ev_param->num_total_peer = 0;
ev_param->num_extra_peer = 0;
return QDF_STATUS_SUCCESS;
}