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

Commit 5d176f34 authored by Skylar Chang's avatar Skylar Chang
Browse files

msm: ipa3: add gateway info on wan_msg



header change for CNE to pass gateway
info to IPA

Change-Id: I0f0a84a12c3ba514f7309b16c73f5b8ed631626d
Signed-off-by: default avatarSkylar Chang <chiaweic@codeaurora.org>
parent 22194df2
Loading
Loading
Loading
Loading
+8 −0
Original line number Original line Diff line number Diff line
@@ -95,6 +95,11 @@
 */
 */
#define IPA_MBIM_MAX_STREAM_NUM 8
#define IPA_MBIM_MAX_STREAM_NUM 8


/**
 *  size of the ipv6 address
 */
#define IPA_WAN_MSG_IPv6_ADDR_GW_LEN 4

/**
/**
 * the attributes of the rule (routing or filtering)
 * the attributes of the rule (routing or filtering)
 */
 */
@@ -1430,12 +1435,15 @@ struct ipa_ecm_msg {
 * @name: name of the wan interface
 * @name: name of the wan interface
 *
 *
 * CnE need to pass the name of default wan iface when connected/disconnected.
 * CnE need to pass the name of default wan iface when connected/disconnected.
 * CNE need to pass the gw info in wlan AP+STA mode.
 * netmgr need to pass the name of wan eMBMS iface when connected.
 * netmgr need to pass the name of wan eMBMS iface when connected.
 */
 */
struct ipa_wan_msg {
struct ipa_wan_msg {
	char upstream_ifname[IPA_RESOURCE_NAME_MAX];
	char upstream_ifname[IPA_RESOURCE_NAME_MAX];
	char tethered_ifname[IPA_RESOURCE_NAME_MAX];
	char tethered_ifname[IPA_RESOURCE_NAME_MAX];
	enum ipa_ip_type ip;
	enum ipa_ip_type ip;
	uint32_t ipv4_addr_gw;
	uint32_t ipv6_addr_gw[IPA_WAN_MSG_IPv6_ADDR_GW_LEN];
};
};


/**
/**