[Feature][TAT-22][AT]AT+LCSUS

Change-Id: I494c9e8a043dc96ac9ea3620f59d503180f627ad
diff --git a/framework/lynq-ril-service/src/ril.cpp b/framework/lynq-ril-service/src/ril.cpp
index a7105b6..8110f5b 100755
--- a/framework/lynq-ril-service/src/ril.cpp
+++ b/framework/lynq-ril-service/src/ril.cpp
@@ -3998,6 +3998,38 @@
     }
 }
 
+static void lynq_sdk_ready(Parcel &p)
+{
+    int resp_type;
+    int token;
+    int request;
+    int slot_id;
+    int error1;
+    int num;
+    char imei[32] = {0};
+    if(sdk_ready == true)
+    {
+        p.setDataPosition(0);
+        if(p.dataAvail() > 0)
+        {
+            p.readInt32(&resp_type);
+            p.readInt32(&token);
+            p.readInt32(&request);
+            p.readInt32(&slot_id);
+            p.readInt32(&error1);
+            if(!error1)
+            {
+                system("uci set lynq_uci.sdk_ready=0");
+            }
+            else
+            {
+                system("uci set lynq_uci.sdk_ready=2");
+            }
+        }
+        sdk_ready = false;
+    }
+}
+
 extern "C" void
 RIL_onRequestComplete(RIL_Token t, RIL_Errno e, void *response, size_t responselen) {
     RequestInfo *pRI;
@@ -4232,40 +4264,14 @@
                /*lei add for sdk ready 2022/8/17*/
                 case RIL_REQUEST_DEVICE_IDENTITY:
                 {
-                    int resp_type;
-                    int token;
-                    int request;
-                    int slot_id;
-                    int error1;
-                    int num;
-                    char imei[32] = {0};
-                    if(sdk_ready == true)
-                    {
-                        p.setDataPosition(0);
-                        if(p.dataAvail() > 0)
-                        {
-                            p.readInt32(&resp_type);
-                            p.readInt32(&token);
-                            p.readInt32(&request);
-                            p.readInt32(&slot_id);
-                            p.readInt32(&error1);
-                            if(!error1)
-                            {
-                               system("uci set lynq_uci.sdk_ready=0");
-                            }
-                            else
-                            {
-                                system("uci set lynq_uci.sdk_ready=2");
-                            }
-                        }
-                        sdk_ready = false;
-                    }
+                    lynq_sdk_ready(p);
                     break;
                 }
                 /*lei add for sdk ready 2022/8/17*/
                 case RIL_REQUEST_OPERATOR:
                 {
                     lynq_get_mccmnc(p, mccmnc);
+                    break;
                 }
                default:
                    break;
@@ -6264,7 +6270,6 @@
         } else if(utils::is_suppport_dsss()) {
             id = (RIL_SOCKET_ID)Phone_utils::get_enable_sim_for_dsss();
         }
-
         if(request == -1)
         {
             (*(command->func)) (argc, argv, id, NULL);
@@ -6955,6 +6960,7 @@
         }
     }
     /*lei modify for Some requests that are not in the ril_commands.h and mtk_ril_commands.h but in commands.h*/
+
     if(utils::is_suppport_dsss()){
         pRI->socket_id = (RIL_SOCKET_ID)Phone_utils::get_enable_sim_for_dsss();
     }
@@ -6962,7 +6968,6 @@
     if(utils::is_support_dsds() && (request != RIL_REQUEST_RADIO_POWER)){
         pRI->socket_id = (RIL_SOCKET_ID)get_atci_sim();
     }
-
     pRI->p_next = NULL;