diff options
| author | Harout Hedeshian <harouth@codeaurora.org> | 2014-02-03 11:26:41 -0700 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-22 11:05:08 -0700 |
| commit | 3988539fdd553115f85bf21243904f4e6d2fcc4c (patch) | |
| tree | e6616d6203aada67ddc3a7c634ab22c113bec52c /include/uapi | |
| parent | a207285d7f53efab18001d0ca7ce9accef94d10c (diff) | |
net: rmnet_data: new structure for rmnet ioctls
This patch modifies the rmnet ioctls RMNET_IOCTL_GET_LLP,
RMNET_IOCTL_GET_QOS, RMNET_IOCTL_GET_OPMODE, RMNET_IOCTL_FLOW_ENABLE
and RMNET_IOCTL_FLOW_DISABLE to avoid putting integral data in pointers
and avoid casting between 32 and 64 bits types.
CRs-Fixed: 601207
Change-Id: I66edb785f6204f38b6f0ecccb2ceab36d5e38188
Acked-by: Sivan Reinstein <sivanr@qti.qualcomm.com>
Signed-off-by: Harout Hedeshian <harouth@codeaurora.org>
[subashab@codeaurora.org: remove driver specific changes]
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Diffstat (limited to 'include/uapi')
| -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 ec251331b1da..5866adb12391 100644 --- a/include/uapi/linux/msm_rmnet.h +++ b/include/uapi/linux/msm_rmnet.h @@ -118,6 +118,13 @@ struct rmnet_ioctl_extended_s { } u; }; +struct rmnet_ioctl_data_s { + union { + uint32_t operation_mode; + uint32_t tcm_handle; + } u; +}; + #define RMNET_IOCTL_QOS_MODE_6 (1<<0) #define RMNET_IOCTL_QOS_MODE_8 (1<<1) |
