Loading drivers/platform/msm/ipa/ipa_qmi_service.h +2 −0 Original line number Diff line number Diff line Loading @@ -59,6 +59,8 @@ int wan_ioctl_init(void); void wan_ioctl_stop_qmi_messages(void); void wan_ioctl_enable_qmi_messages(void); void wan_ioctl_deinit(void); extern struct elem_info ipa_init_modem_driver_req_msg_data_v01_ei[]; Loading drivers/platform/msm/ipa/rmnet_ipa.c +12 −5 Original line number Diff line number Diff line Loading @@ -1654,10 +1654,15 @@ static int ipa_wwan_probe(struct platform_device *pdev) if (ret) goto setup_dflt_wan_rt_tables_err; /* start transport-driver fd ioctl for ipacm */ if (!atomic_read(&is_ssr)) { /* Start transport-driver fd ioctl for ipacm for first init */ ret = wan_ioctl_init(); if (ret) goto wan_ioctl_init_err; } else { /* Enable sending QMI messages after SSR */ wan_ioctl_enable_qmi_messages(); } /* initialize tx/rx enpoint setup */ memset(&apps_to_ipa_ep_cfg, 0, sizeof(struct ipa_sys_connect_params)); Loading Loading @@ -1815,6 +1820,8 @@ static int ipa_wwan_remove(struct platform_device *pdev) IPA_RM_RESOURCE_WWAN_0_PROD, ret); free_netdev(ipa_netdevs[0]); ipa_netdevs[0] = NULL; /* No need to remove wwan_ioctl during SSR */ if (!atomic_read(&is_ssr)) wan_ioctl_deinit(); ipa_del_dflt_wan_rt_tables(); ipa_del_a7_qmap_hdr(); Loading drivers/platform/msm/ipa/rmnet_ipa_fd_ioctl.c +5 −0 Original line number Diff line number Diff line Loading @@ -197,6 +197,11 @@ void wan_ioctl_stop_qmi_messages(void) process_ioctl = 0; } void wan_ioctl_enable_qmi_messages(void) { process_ioctl = 1; } void wan_ioctl_deinit(void) { cdev_del(&wan_ioctl_cdev); Loading Loading
drivers/platform/msm/ipa/ipa_qmi_service.h +2 −0 Original line number Diff line number Diff line Loading @@ -59,6 +59,8 @@ int wan_ioctl_init(void); void wan_ioctl_stop_qmi_messages(void); void wan_ioctl_enable_qmi_messages(void); void wan_ioctl_deinit(void); extern struct elem_info ipa_init_modem_driver_req_msg_data_v01_ei[]; Loading
drivers/platform/msm/ipa/rmnet_ipa.c +12 −5 Original line number Diff line number Diff line Loading @@ -1654,10 +1654,15 @@ static int ipa_wwan_probe(struct platform_device *pdev) if (ret) goto setup_dflt_wan_rt_tables_err; /* start transport-driver fd ioctl for ipacm */ if (!atomic_read(&is_ssr)) { /* Start transport-driver fd ioctl for ipacm for first init */ ret = wan_ioctl_init(); if (ret) goto wan_ioctl_init_err; } else { /* Enable sending QMI messages after SSR */ wan_ioctl_enable_qmi_messages(); } /* initialize tx/rx enpoint setup */ memset(&apps_to_ipa_ep_cfg, 0, sizeof(struct ipa_sys_connect_params)); Loading Loading @@ -1815,6 +1820,8 @@ static int ipa_wwan_remove(struct platform_device *pdev) IPA_RM_RESOURCE_WWAN_0_PROD, ret); free_netdev(ipa_netdevs[0]); ipa_netdevs[0] = NULL; /* No need to remove wwan_ioctl during SSR */ if (!atomic_read(&is_ssr)) wan_ioctl_deinit(); ipa_del_dflt_wan_rt_tables(); ipa_del_a7_qmap_hdr(); Loading
drivers/platform/msm/ipa/rmnet_ipa_fd_ioctl.c +5 −0 Original line number Diff line number Diff line Loading @@ -197,6 +197,11 @@ void wan_ioctl_stop_qmi_messages(void) process_ioctl = 0; } void wan_ioctl_enable_qmi_messages(void) { process_ioctl = 1; } void wan_ioctl_deinit(void) { cdev_del(&wan_ioctl_cdev); Loading