mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
msm: ipa3: add new ETH PDU pipes and ETH PDU event
Define the UL and DL pipe for ETH PDU E2E transfers. Add new event for ENABLE_ETH_PDU_MODE. Change-Id: I1ebb943d63cee47c686a857343b1974ead376be0 Signed-off-by: Michael Adisumarta <quic_madisuma@quicinc.com>
This commit is contained in:
parent
72c459559a
commit
7610cc416f
1 changed files with 21 additions and 4 deletions
|
|
@ -1,6 +1,8 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */
|
||||
/*
|
||||
* Copyright (c) 2012-2021, The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*/
|
||||
|
||||
#ifndef _UAPI_MSM_IPA_H_
|
||||
|
|
@ -517,9 +519,15 @@ enum ipa_client_type {
|
|||
|
||||
/* RESERVED PROD = 124, */
|
||||
IPA_CLIENT_TPUT_CONS = 125,
|
||||
|
||||
IPA_CLIENT_Q6_DL_NLO_ETH_DATA_PROD = 126,
|
||||
/* RESERVED CONS = 127, */
|
||||
|
||||
IPA_CLIENT_APPS_WAN_ETH_PROD = 128,
|
||||
/* RESERVED CONS = 129, */
|
||||
};
|
||||
|
||||
#define IPA_CLIENT_MAX (IPA_CLIENT_TPUT_CONS + 1)
|
||||
#define IPA_CLIENT_MAX (IPA_CLIENT_APPS_WAN_ETH_PROD + 1)
|
||||
|
||||
#define IPA_CLIENT_WLAN2_PROD IPA_CLIENT_A5_WLAN_AMPDU_PROD
|
||||
#define IPA_CLIENT_Q6_DL_NLO_DATA_PROD IPA_CLIENT_Q6_DL_NLO_DATA_PROD
|
||||
|
|
@ -562,7 +570,8 @@ enum ipa_client_type {
|
|||
((client) == IPA_CLIENT_APPS_LAN_PROD || \
|
||||
(client) == IPA_CLIENT_APPS_WAN_PROD || \
|
||||
(client) == IPA_CLIENT_APPS_WAN_LOW_LAT_PROD || \
|
||||
(client) == IPA_CLIENT_APPS_WAN_LOW_LAT_DATA_PROD)
|
||||
(client) == IPA_CLIENT_APPS_WAN_LOW_LAT_DATA_PROD || \
|
||||
(client) == IPA_CLIENT_APPS_WAN_ETH_PROD)
|
||||
|
||||
#define IPA_CLIENT_IS_USB_CONS(client) \
|
||||
((client) == IPA_CLIENT_USB_CONS || \
|
||||
|
|
@ -611,7 +620,8 @@ enum ipa_client_type {
|
|||
(client) == IPA_CLIENT_Q6_DL_NLO_LL_DATA_PROD || \
|
||||
(client) == IPA_CLIENT_Q6_DL_NLO_DATA_PROD || \
|
||||
(client) == IPA_CLIENT_Q6_CV2X_PROD || \
|
||||
(client) == IPA_CLIENT_Q6_AUDIO_DMA_MHI_PROD)
|
||||
(client) == IPA_CLIENT_Q6_AUDIO_DMA_MHI_PROD || \
|
||||
(client) == IPA_CLIENT_Q6_DL_NLO_ETH_DATA_PROD)
|
||||
|
||||
#define IPA_CLIENT_IS_Q6_NON_ZIP_CONS(client) \
|
||||
((client) == IPA_CLIENT_Q6_LAN_CONS || \
|
||||
|
|
@ -939,7 +949,14 @@ enum ipa_ext_route_evt {
|
|||
#define IPA_SET_EXT_ROUTER_MODE_EVENT_MAX IPA_SET_EXT_ROUTER_MODE_EVENT_MAX
|
||||
};
|
||||
|
||||
#define IPA_EVENT_MAX_NUM (IPA_SET_EXT_ROUTER_MODE_EVENT_MAX)
|
||||
enum ipa_eth_pdu_evt {
|
||||
IPA_ENABLE_ETH_PDU_MODE_EVENT = IPA_SET_EXT_ROUTER_MODE_EVENT_MAX,
|
||||
IPA_ENABLE_ETH_PDU_MODE_EVENT_MAX
|
||||
#define IPA_ENABLE_ETH_PDU_MODE_EVENT_MAX IPA_ENABLE_ETH_PDU_MODE_EVENT_MAX
|
||||
};
|
||||
|
||||
|
||||
#define IPA_EVENT_MAX_NUM (IPA_ENABLE_ETH_PDU_MODE_EVENT_MAX)
|
||||
#define IPA_EVENT_MAX ((int)IPA_EVENT_MAX_NUM)
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue