Loading drivers/platform/msm/ipa/ipa_v3/ipa_odl.c +3 −1 Original line number Diff line number Diff line Loading @@ -620,7 +620,9 @@ static long ipa_adpl_ioctl(struct file *filp, switch (cmd) { case IPA_IOC_ODL_GET_AGG_BYTE_LIMIT: odl_pipe_info.agg_byte_limit = ipa3_odl_ctx->odl_sys_param.ipa_ep_cfg.aggr.aggr_byte_limit; /*Modem expecting value in bytes. so passing 15 = 15*1024*/ (ipa3_odl_ctx->odl_sys_param.ipa_ep_cfg.aggr.aggr_byte_limit * 1024); if (copy_to_user((void __user *)arg, &odl_pipe_info, sizeof(odl_pipe_info))) { retval = -EFAULT; Loading drivers/platform/msm/ipa/ipa_v3/ipa_odl.h +1 −1 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ #ifndef _IPA3_ODL_H_ #define _IPA3_ODL_H_ #define IPA_ODL_AGGR_BYTE_LIMIT (15 * 1024) #define IPA_ODL_AGGR_BYTE_LIMIT 15 #define IPA_ODL_RX_RING_SIZE 192 #define MAX_QUEUE_TO_ODL 1024 #define CONFIG_SUCCESS 1 Loading Loading
drivers/platform/msm/ipa/ipa_v3/ipa_odl.c +3 −1 Original line number Diff line number Diff line Loading @@ -620,7 +620,9 @@ static long ipa_adpl_ioctl(struct file *filp, switch (cmd) { case IPA_IOC_ODL_GET_AGG_BYTE_LIMIT: odl_pipe_info.agg_byte_limit = ipa3_odl_ctx->odl_sys_param.ipa_ep_cfg.aggr.aggr_byte_limit; /*Modem expecting value in bytes. so passing 15 = 15*1024*/ (ipa3_odl_ctx->odl_sys_param.ipa_ep_cfg.aggr.aggr_byte_limit * 1024); if (copy_to_user((void __user *)arg, &odl_pipe_info, sizeof(odl_pipe_info))) { retval = -EFAULT; Loading
drivers/platform/msm/ipa/ipa_v3/ipa_odl.h +1 −1 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ #ifndef _IPA3_ODL_H_ #define _IPA3_ODL_H_ #define IPA_ODL_AGGR_BYTE_LIMIT (15 * 1024) #define IPA_ODL_AGGR_BYTE_LIMIT 15 #define IPA_ODL_RX_RING_SIZE 192 #define MAX_QUEUE_TO_ODL 1024 #define CONFIG_SUCCESS 1 Loading