Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 32957664 authored by Linux Build Service Account's avatar Linux Build Service Account
Browse files

Merge 382e54f1 on remote branch

Change-Id: Ie380f8ead79a9c279bc11fa62c1425946898d048
parents f149fbd7 382e54f1
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2881,6 +2881,7 @@ struct ll_stats_get_params {
 * @sta_id: Per STA stats request must contain valid
 * @stats_mask: categories of stats requested
 * @session_id: wsm ts spec flag
 * @pdev_id: PDEV id
 */
struct pe_stats_req {
	/* Common for all types are requests */
@@ -2890,6 +2891,7 @@ struct pe_stats_req {
	/* categories of stats requested. look at ePEStatsMask */
	uint32_t stats_mask;
	uint8_t session_id;
	uint8_t pdev_id;
};

/**
+10 −2
Original line number Diff line number Diff line
@@ -3926,9 +3926,10 @@ QDF_STATUS send_setup_install_key_cmd_tlv(wmi_unified_t wmi_handle,

	status = wmi_unified_cmd_send(wmi_handle, buf, len,
					      WMI_VDEV_INSTALL_KEY_CMDID);
	if (QDF_IS_STATUS_ERROR(status))
	if (QDF_IS_STATUS_ERROR(status)) {
		qdf_mem_zero(wmi_buf_data(buf), len);
		wmi_buf_free(buf);

	}
	return status;
}

@@ -7372,6 +7373,7 @@ QDF_STATUS send_get_stats_cmd_tlv(wmi_unified_t wmi_handle,
		WMI_REQUEST_PEER_STAT | WMI_REQUEST_PDEV_STAT |
		WMI_REQUEST_VDEV_STAT | WMI_REQUEST_RSSI_PER_CHAIN_STAT;
	cmd->vdev_id = get_stats_param->session_id;
	cmd->pdev_id = get_stats_param->pdev_id;
	WMI_CHAR_ARRAY_TO_MAC_ADDR(addr, &cmd->peer_macaddr);
	WMI_LOGD("STATS REQ VDEV_ID:%d-->", cmd->vdev_id);
	if (wmi_unified_cmd_send(wmi_handle, buf, len,
@@ -13027,6 +13029,12 @@ static host_mem_req *extract_host_mem_req_tlv(wmi_unified_t wmi_handle,
		return NULL;
	}

	if (ev->num_mem_reqs > param_buf->num_mem_reqs) {
		WMI_LOGE("Invalid num_mem_reqs %d:%d",
			 ev->num_mem_reqs, param_buf->num_mem_reqs);
		return NULL;
	}

	*num_entries = ev->num_mem_reqs;

	return (host_mem_req *)param_buf->mem_reqs;