mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
msm: ipa: Modification for Pipe info based on tethering protocol
Add support to send pipe info based on the tethering protocal. Change-Id: I8d27461b4b64e1651f3f74188197156fde282d7e Signed-off-by: Vinayaka B M <quic_vinaybm@quicinc.com>
This commit is contained in:
parent
df885aa30f
commit
73de3d4872
1 changed files with 10 additions and 0 deletions
|
|
@ -2675,6 +2675,12 @@ enum ipa_peripheral_ep_type {
|
|||
IPA_DATA_EP_TYP_ETH,
|
||||
};
|
||||
|
||||
enum ipa_data_ep_prot_type {
|
||||
IPA_PROT_RMNET = 0,
|
||||
IPA_PROT_RMNET_CV2X = 1,
|
||||
IPA_PROT_MAX
|
||||
};
|
||||
|
||||
struct ipa_ep_pair_info {
|
||||
__u32 consumer_pipe_num;
|
||||
__u32 producer_pipe_num;
|
||||
|
|
@ -2690,6 +2696,8 @@ struct ipa_ep_pair_info {
|
|||
* @num_ep_pairs: number of ep_pairs - o/p param
|
||||
* @ep_pair_size: sizeof(ipa_ep_pair_info) * max_ep_pairs
|
||||
* @info: structure contains ep pair info
|
||||
* @teth_prot : RMNET/CV2X --i/p param
|
||||
* @teth_prot_valid - validity of i/p param protocol
|
||||
*/
|
||||
struct ipa_ioc_get_ep_info {
|
||||
enum ipa_peripheral_ep_type ep_type;
|
||||
|
|
@ -2698,6 +2706,8 @@ struct ipa_ioc_get_ep_info {
|
|||
__u8 num_ep_pairs;
|
||||
__u16 padding;
|
||||
__u64 info;
|
||||
enum ipa_data_ep_prot_type teth_prot;
|
||||
__u8 teth_prot_valid;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue