mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-10-31 18:09:19 +00:00
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>
This commit is contained in:
parent
40e359a3a0
commit
5c6dcbc7cd
1 changed files with 7 additions and 0 deletions
|
@ -85,6 +85,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
|
||||
|
@ -118,6 +119,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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue