From 5b45cf1ede872eec587c4a2a9012a51044468132 Mon Sep 17 00:00:00 2001 From: Piyush Dhyani Date: Thu, 21 Apr 2022 10:56:04 +0530 Subject: [PATCH] msm: ipa: Add if_index in ipa_wlan_msg struct Add if_index in ipa_wlan_msg struct to receive the interface index from wlan driver. Change-Id: I50a43ff4529b29a41753298e87fd84a0dfc9a969 Signed-off-by: Piyush Dhyani --- include/uapi/linux/msm_ipa.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/uapi/linux/msm_ipa.h b/include/uapi/linux/msm_ipa.h index 9def722f58b9..c928361ea210 100644 --- a/include/uapi/linux/msm_ipa.h +++ b/include/uapi/linux/msm_ipa.h @@ -2742,6 +2742,7 @@ struct ipa_msg_meta { * struct ipa_wlan_msg - To hold information about wlan client * @name: name of the wlan interface * @mac_addr: mac address of wlan client + * @if_index: netdev interface index * * wlan drivers need to pass name of wlan iface and mac address of * wlan client along with ipa_wlan_event, whenever a wlan client is @@ -2750,6 +2751,7 @@ struct ipa_msg_meta { struct ipa_wlan_msg { char name[IPA_RESOURCE_NAME_MAX]; uint8_t mac_addr[IPA_MAC_ADDR_SIZE]; + int16_t if_index; }; /**