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

Commit f53965f3 authored by Skylar Chang's avatar Skylar Chang
Browse files

msm: ipa: change the QMI IP_TYPE_ENUM



For consistent to IPA_IP_TYPE, we redefine the
QMI_IPA_IP_TYPE to be the same as IPA_IP_TYPE.
Since modem already did this change, apps should
do also, or modem will crash because receiving
unexpected ip_type from Apps.

Change-Id: I93c0f41fcdf69d3be639e7edfa97b57e382ee749
Signed-off-by: default avatarSkylar Chang <chiaweic@codeaurora.org>
parent 4fe162d7
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -465,14 +465,10 @@ struct ipa_filter_rule_type_v01 {
enum ipa_ip_type_enum_v01 {
	IPA_IP_TYPE_ENUM_MIN_ENUM_VAL_V01 = -2147483647,
	/* To force a 32 bit signed enum.  Do not change or use*/
	QMI_IPA_IP_TYPE_INVALID_V01 = 0,
	/*  Invalid IP type identifier */
	QMI_IPA_IP_TYPE_V4_V01 = 1,
	QMI_IPA_IP_TYPE_V4_V01 = 0,
	/*  IP V4 type */
	QMI_IPA_IP_TYPE_V6_V01 = 2,
	QMI_IPA_IP_TYPE_V6_V01 = 1,
	/*  IP V6 type */
	QMI_IPA_IP_TYPE_V4V6_V01 = 3,
	/*  Applies to both IP types */
	IPA_IP_TYPE_ENUM_MAX_ENUM_VAL_V01 = 2147483647
	/* To force a 32 bit signed enum.  Do not change or use*/
};