diff options
| author | Harout Hedeshian <harouth@codeaurora.org> | 2015-04-06 16:33:23 -0600 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-22 11:05:49 -0700 |
| commit | 91c3e578f963d6e4fcc2f0304b5d160797558655 (patch) | |
| tree | 2a8f3b2b98f5568a676175b38c28f32796af52f9 /include/uapi/linux | |
| parent | 59759698a9f77c63f791c2e17a3ffa11a6a3880d (diff) | |
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 <harouth@codeaurora.org>
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/msm_rmnet.h | 7 |
1 files changed, 7 insertions, 0 deletions
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; }; |
