Loading drivers/platform/msm/ipa/ipa_v3/ipa_qmi_service.h +10 −0 Original line number Diff line number Diff line Loading @@ -59,6 +59,16 @@ DEV_NAME " %s:%d " fmt, ## args); \ } while (0) #define IPAWANERR_RL(fmt, args...) \ do { \ pr_err_ratelimited_ipa(DEV_NAME " %s:%d " fmt, __func__,\ __LINE__, ## args); \ IPA_IPC_LOGGING(ipa_get_ipc_logbuf(), \ DEV_NAME " %s:%d " fmt, ## args); \ IPA_IPC_LOGGING(ipa_get_ipc_logbuf_low(), \ DEV_NAME " %s:%d " fmt, ## args); \ } while (0) #define IPAWANINFO(fmt, args...) \ do { \ pr_info(DEV_NAME " %s:%d " fmt, __func__,\ Loading drivers/platform/msm/ipa/ipa_v3/ipa_utils.c +1 −1 Original line number Diff line number Diff line Loading @@ -3548,7 +3548,7 @@ int ipa3_get_wlan_stats(struct ipa_get_wdi_sap_stats *wdi_sap_stats) ipa3_ctx->uc_wdi_ctx.stats_notify(IPA_GET_WDI_SAP_STATS, wdi_sap_stats); } else { IPAERR("uc_wdi_ctx.stats_notify NULL\n"); IPAERR_RL("uc_wdi_ctx.stats_notify NULL\n"); return -EFAULT; } return 0; Loading drivers/platform/msm/ipa/ipa_v3/rmnet_ipa.c +3 −2 Original line number Diff line number Diff line Loading @@ -3124,7 +3124,7 @@ static int rmnet_ipa3_query_tethering_stats_wifi( rc = ipa3_get_wlan_stats(sap_stats); if (rc) { IPAWANERR("can't get ipa3_get_wlan_stats\n"); IPAWANERR_RL("can't get ipa3_get_wlan_stats\n"); kfree(sap_stats); return rc; } else if (data == NULL) { Loading Loading @@ -3459,7 +3459,8 @@ int rmnet_ipa3_query_tethering_stats_all( rc = rmnet_ipa3_query_tethering_stats_wifi( &tether_stats, data->reset_stats); if (rc) { IPAWANERR("wlan WAN_IOC_QUERY_TETHER_STATS failed\n"); IPAWANERR_RL( "wlan WAN_IOC_QUERY_TETHER_STATS failed\n"); return rc; } data->tx_bytes = tether_stats.ipv4_tx_bytes Loading drivers/platform/msm/ipa/ipa_v3/rmnet_ipa_fd_ioctl.c +1 −1 Original line number Diff line number Diff line Loading @@ -236,7 +236,7 @@ static long ipa3_wan_ioctl(struct file *filp, } if (rmnet_ipa3_poll_tethering_stats( (struct wan_ioctl_poll_tethering_stats *)param)) { IPAWANERR("WAN_IOCTL_POLL_TETHERING_STATS failed\n"); IPAWANERR_RL("WAN_IOCTL_POLL_TETHERING_STATS failed\n"); retval = -EFAULT; break; } Loading Loading
drivers/platform/msm/ipa/ipa_v3/ipa_qmi_service.h +10 −0 Original line number Diff line number Diff line Loading @@ -59,6 +59,16 @@ DEV_NAME " %s:%d " fmt, ## args); \ } while (0) #define IPAWANERR_RL(fmt, args...) \ do { \ pr_err_ratelimited_ipa(DEV_NAME " %s:%d " fmt, __func__,\ __LINE__, ## args); \ IPA_IPC_LOGGING(ipa_get_ipc_logbuf(), \ DEV_NAME " %s:%d " fmt, ## args); \ IPA_IPC_LOGGING(ipa_get_ipc_logbuf_low(), \ DEV_NAME " %s:%d " fmt, ## args); \ } while (0) #define IPAWANINFO(fmt, args...) \ do { \ pr_info(DEV_NAME " %s:%d " fmt, __func__,\ Loading
drivers/platform/msm/ipa/ipa_v3/ipa_utils.c +1 −1 Original line number Diff line number Diff line Loading @@ -3548,7 +3548,7 @@ int ipa3_get_wlan_stats(struct ipa_get_wdi_sap_stats *wdi_sap_stats) ipa3_ctx->uc_wdi_ctx.stats_notify(IPA_GET_WDI_SAP_STATS, wdi_sap_stats); } else { IPAERR("uc_wdi_ctx.stats_notify NULL\n"); IPAERR_RL("uc_wdi_ctx.stats_notify NULL\n"); return -EFAULT; } return 0; Loading
drivers/platform/msm/ipa/ipa_v3/rmnet_ipa.c +3 −2 Original line number Diff line number Diff line Loading @@ -3124,7 +3124,7 @@ static int rmnet_ipa3_query_tethering_stats_wifi( rc = ipa3_get_wlan_stats(sap_stats); if (rc) { IPAWANERR("can't get ipa3_get_wlan_stats\n"); IPAWANERR_RL("can't get ipa3_get_wlan_stats\n"); kfree(sap_stats); return rc; } else if (data == NULL) { Loading Loading @@ -3459,7 +3459,8 @@ int rmnet_ipa3_query_tethering_stats_all( rc = rmnet_ipa3_query_tethering_stats_wifi( &tether_stats, data->reset_stats); if (rc) { IPAWANERR("wlan WAN_IOC_QUERY_TETHER_STATS failed\n"); IPAWANERR_RL( "wlan WAN_IOC_QUERY_TETHER_STATS failed\n"); return rc; } data->tx_bytes = tether_stats.ipv4_tx_bytes Loading
drivers/platform/msm/ipa/ipa_v3/rmnet_ipa_fd_ioctl.c +1 −1 Original line number Diff line number Diff line Loading @@ -236,7 +236,7 @@ static long ipa3_wan_ioctl(struct file *filp, } if (rmnet_ipa3_poll_tethering_stats( (struct wan_ioctl_poll_tethering_stats *)param)) { IPAWANERR("WAN_IOCTL_POLL_TETHERING_STATS failed\n"); IPAWANERR_RL("WAN_IOCTL_POLL_TETHERING_STATS failed\n"); retval = -EFAULT; break; } Loading