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

Commit 478f6936 authored by Wu Gao's avatar Wu Gao
Browse files

qcacmn: Support to tx probe request frame

It just support to tx probe respnse and action frames currently. So
add this change to support to tx probe reqest frame.

Change-Id: I4899eeca80958990aff2ec5eac3226f9a37ccbf3
CRs-Fixed: 2481346
parent 96d0c412
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -688,11 +688,6 @@ static QDF_STATUS p2p_get_frame_info(uint8_t *data_buf, uint32_t length,
	}

	frame_info->type = P2P_FRAME_MGMT;
	if (sub_type != P2P_MGMT_PROBE_RSP &&
		sub_type != P2P_MGMT_ACTION) {
		p2p_err("not support sub type");
		return QDF_STATUS_E_FAILURE;
	}

	if (sub_type == P2P_MGMT_PROBE_RSP) {
		frame_info->sub_type = P2P_MGMT_PROBE_RSP;
@@ -706,6 +701,11 @@ static QDF_STATUS p2p_get_frame_info(uint8_t *data_buf, uint32_t length,
		return QDF_STATUS_SUCCESS;
	}

	if (sub_type != P2P_MGMT_ACTION) {
		p2p_debug("not support sub type");
		return QDF_STATUS_E_FAILURE;
	}

	frame_info->sub_type = P2P_MGMT_ACTION;
	buf += P2P_ACTION_OFFSET;
	if (length > P2P_PUBLIC_ACTION_FRAME_TYPE_OFFSET &&