From 91c3e578f963d6e4fcc2f0304b5d160797558655 Mon Sep 17 00:00:00 2001 From: Harout Hedeshian Date: Mon, 6 Apr 2015 16:33:23 -0600 Subject: net: msm_rmnet: extend SET_INGRESS_DATA_FORMAT to include AGG data Introduced new format flag for RMNET_IOCTL_SET_INGRESS_DATA_FORMAT: RMNET_IOCTL_INGRESS_FORMAT_AGG_DATA This flag is set by the entity callint the IOCTL if the ingress_format union has been populated with a valid aggregation count and buffer size. Change-Id: Icb30c99e69062736c343591226fbdb499aa47a41 Signed-off-by: Harout Hedeshian --- include/uapi/linux/msm_rmnet.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include/uapi/linux') diff --git a/include/uapi/linux/msm_rmnet.h b/include/uapi/linux/msm_rmnet.h index 6004cc275515..2ee7087255c3 100644 --- a/include/uapi/linux/msm_rmnet.h +++ b/include/uapi/linux/msm_rmnet.h @@ -84,6 +84,7 @@ enum rmnet_ioctl_extended_cmds_e { #define RMNET_IOCTL_INGRESS_FORMAT_DEAGGREGATION (1<<2) #define RMNET_IOCTL_INGRESS_FORMAT_DEMUXING (1<<3) #define RMNET_IOCTL_INGRESS_FORMAT_CHECKSUM (1<<4) +#define RMNET_IOCTL_INGRESS_FORMAT_AGG_DATA (1<<5) /* User space may not have this defined. */ #ifndef IFNAMSIZ @@ -117,6 +118,12 @@ struct rmnet_ioctl_extended_s { uint32_t consumer_pipe_num; uint32_t producer_pipe_num; } ipa_ep_pair; + + struct { + uint32_t __data; /* Placeholder for legacy data*/ + uint32_t agg_size; + uint32_t agg_count; + } ingress_format; } u; }; -- cgit v1.2.3