From 577965258c7887ea6a46d3932cf3c40970559171 Mon Sep 17 00:00:00 2001 From: Chaitanya Pratapa Date: Thu, 21 May 2020 21:24:49 -0700 Subject: [PATCH] msm: ipa: Add support to notify wan upstream iface info Netmgr requires upstream iface info whenever tethering is enabled to toggle RSB advanced feature on/off for the respective upstream iface. Make changes to give provision to get upstream iface whenever tethering is enabled. Change-Id: I8f48f327ca55c3c91a978241087e6ffd5f8d4d10 Signed-off-by: Chaitanya Pratapa --- include/uapi/linux/rmnet_ipa_fd_ioctl.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/uapi/linux/rmnet_ipa_fd_ioctl.h b/include/uapi/linux/rmnet_ipa_fd_ioctl.h index 033a87eb912a..a1abd4e681c5 100644 --- a/include/uapi/linux/rmnet_ipa_fd_ioctl.h +++ b/include/uapi/linux/rmnet_ipa_fd_ioctl.h @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */ /* - * Copyright (c) 2013-2019, The Linux Foundation. All rights reserved. + * Copyright (c) 2013-2020, The Linux Foundation. All rights reserved. */ #ifndef _RMNET_IPA_FD_IOCTL_H @@ -130,6 +130,9 @@ struct wan_ioctl_query_dl_filter_stats { struct wan_ioctl_notify_wan_state { uint8_t up; + /* Name of the upstream interface */ + char upstreamIface[IFNAMSIZ]; +#define WAN_IOCTL_NOTIFY_WAN_INTF_NAME WAN_IOCTL_NOTIFY_WAN_INTF_NAME }; struct wan_ioctl_send_lan_client_msg { /* Lan client info. */