summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2016-08-26 14:48:42 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2016-08-26 14:48:41 -0700
commitac536b7576af785b2d57df1c5d9bb596724fdde8 (patch)
tree1e685fdb2120b7bd61cec50d35d826bd1c3501b3 /include/uapi/linux
parent917e5e4c37e43e7e7441b7a5bdbc628798516cdf (diff)
parent759bf369a506ac862fffc50d1f301bf6329a4e55 (diff)
Merge "msm: ipa3: add gateway info on wan_msg"
Diffstat (limited to 'include/uapi/linux')
-rw-r--r--include/uapi/linux/msm_ipa.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/uapi/linux/msm_ipa.h b/include/uapi/linux/msm_ipa.h
index 60ebda8be9cb..6aa021e12930 100644
--- a/include/uapi/linux/msm_ipa.h
+++ b/include/uapi/linux/msm_ipa.h
@@ -96,6 +96,11 @@
#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)
*/
#define IPA_FLT_TOS (1ul << 0)
@@ -1435,12 +1440,15 @@ struct ipa_ecm_msg {
* @name: name of the wan interface
*
* 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.
*/
struct ipa_wan_msg {
char upstream_ifname[IPA_RESOURCE_NAME_MAX];
char tethered_ifname[IPA_RESOURCE_NAME_MAX];
enum ipa_ip_type ip;
+ uint32_t ipv4_addr_gw;
+ uint32_t ipv6_addr_gw[IPA_WAN_MSG_IPv6_ADDR_GW_LEN];
};
/**