Loading drivers/platform/msm/ipa/ipa_v2/rmnet_ipa.c +18 −1 Original line number Diff line number Diff line Loading @@ -2507,7 +2507,7 @@ int rmnet_ipa_set_data_quota(struct wan_ioctl_set_data_quota *data) * * Return codes: * 0: Success * -EFAULT: Invalid interface name provided * -EFAULT: Invalid src/dst pipes provided * other: See ipa_qmi_set_data_quota */ int rmnet_ipa_set_tether_client_pipe( Loading @@ -2515,6 +2515,23 @@ int rmnet_ipa_set_tether_client_pipe( { int number, i; /* error checking if ul_src_pipe_len valid or not*/ if (data->ul_src_pipe_len > QMI_IPA_MAX_PIPES_V01 || data->ul_src_pipe_len < 0) { IPAWANERR("UL src pipes %d exceeding max %d\n", data->ul_src_pipe_len, QMI_IPA_MAX_PIPES_V01); return -EFAULT; } /* error checking if dl_dst_pipe_len valid or not*/ if (data->dl_dst_pipe_len > QMI_IPA_MAX_PIPES_V01 || data->dl_dst_pipe_len < 0) { IPAWANERR("DL dst pipes %d exceeding max %d\n", data->dl_dst_pipe_len, QMI_IPA_MAX_PIPES_V01); return -EFAULT; } IPAWANDBG("client %d, UL %d, DL %d, reset %d\n", data->ipa_client, data->ul_src_pipe_len, Loading drivers/platform/msm/ipa/ipa_v3/rmnet_ipa.c +17 −0 Original line number Diff line number Diff line Loading @@ -2607,6 +2607,23 @@ int rmnet_ipa3_set_tether_client_pipe( { int number, i; /* error checking if ul_src_pipe_len valid or not*/ if (data->ul_src_pipe_len > QMI_IPA_MAX_PIPES_V01 || data->ul_src_pipe_len < 0) { IPAWANERR("UL src pipes %d exceeding max %d\n", data->ul_src_pipe_len, QMI_IPA_MAX_PIPES_V01); return -EFAULT; } /* error checking if dl_dst_pipe_len valid or not*/ if (data->dl_dst_pipe_len > QMI_IPA_MAX_PIPES_V01 || data->dl_dst_pipe_len < 0) { IPAWANERR("DL dst pipes %d exceeding max %d\n", data->dl_dst_pipe_len, QMI_IPA_MAX_PIPES_V01); return -EFAULT; } IPAWANDBG("client %d, UL %d, DL %d, reset %d\n", data->ipa_client, data->ul_src_pipe_len, Loading Loading
drivers/platform/msm/ipa/ipa_v2/rmnet_ipa.c +18 −1 Original line number Diff line number Diff line Loading @@ -2507,7 +2507,7 @@ int rmnet_ipa_set_data_quota(struct wan_ioctl_set_data_quota *data) * * Return codes: * 0: Success * -EFAULT: Invalid interface name provided * -EFAULT: Invalid src/dst pipes provided * other: See ipa_qmi_set_data_quota */ int rmnet_ipa_set_tether_client_pipe( Loading @@ -2515,6 +2515,23 @@ int rmnet_ipa_set_tether_client_pipe( { int number, i; /* error checking if ul_src_pipe_len valid or not*/ if (data->ul_src_pipe_len > QMI_IPA_MAX_PIPES_V01 || data->ul_src_pipe_len < 0) { IPAWANERR("UL src pipes %d exceeding max %d\n", data->ul_src_pipe_len, QMI_IPA_MAX_PIPES_V01); return -EFAULT; } /* error checking if dl_dst_pipe_len valid or not*/ if (data->dl_dst_pipe_len > QMI_IPA_MAX_PIPES_V01 || data->dl_dst_pipe_len < 0) { IPAWANERR("DL dst pipes %d exceeding max %d\n", data->dl_dst_pipe_len, QMI_IPA_MAX_PIPES_V01); return -EFAULT; } IPAWANDBG("client %d, UL %d, DL %d, reset %d\n", data->ipa_client, data->ul_src_pipe_len, Loading
drivers/platform/msm/ipa/ipa_v3/rmnet_ipa.c +17 −0 Original line number Diff line number Diff line Loading @@ -2607,6 +2607,23 @@ int rmnet_ipa3_set_tether_client_pipe( { int number, i; /* error checking if ul_src_pipe_len valid or not*/ if (data->ul_src_pipe_len > QMI_IPA_MAX_PIPES_V01 || data->ul_src_pipe_len < 0) { IPAWANERR("UL src pipes %d exceeding max %d\n", data->ul_src_pipe_len, QMI_IPA_MAX_PIPES_V01); return -EFAULT; } /* error checking if dl_dst_pipe_len valid or not*/ if (data->dl_dst_pipe_len > QMI_IPA_MAX_PIPES_V01 || data->dl_dst_pipe_len < 0) { IPAWANERR("DL dst pipes %d exceeding max %d\n", data->dl_dst_pipe_len, QMI_IPA_MAX_PIPES_V01); return -EFAULT; } IPAWANDBG("client %d, UL %d, DL %d, reset %d\n", data->ipa_client, data->ul_src_pipe_len, Loading