qcacmn: Fix to propagate key-receiver-sequence-counter to WMI

SME module propagates KeyRSC to MAC/PE module but MAC/PE doesn't
pass this counter to WMA and due to which WMA is not able pass to
WMI module.

Add a fix to propagate KeyRSC field from MAC to WMA module and
WMA to WMI module.

CRs-Fixed: 2130765
Change-Id: I0de6907bf8aa159eccb1d8310e7027f8fdf19fff
这个提交包含在:
Krunal Soni
2017-10-24 23:33:05 -07:00
提交者 snandini
父节点 0ff69e4b19
当前提交 3a0fd85eef

查看文件

@@ -4940,6 +4940,9 @@ static QDF_STATUS send_setup_install_key_cmd_tlv(wmi_unified_t wmi_handle,
key_data = (A_UINT8 *) (buf_ptr + WMI_TLV_HDR_SIZE);
qdf_mem_copy((void *)key_data,
(const void *)key_params->key_data, key_params->key_len);
if (key_params->key_rsc_counter)
qdf_mem_copy(&cmd->key_rsc_counter, key_params->key_rsc_counter,
sizeof(wmi_key_seq_counter));
cmd->key_len = key_params->key_len;
status = wmi_unified_cmd_send(wmi_handle, buf, len,