changeset 187:907458d58a86

src/g23m-gprs/gmm/gmm_kernl.c: compilation fixes for !REL99
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 13 Oct 2016 05:47:00 +0000
parents ad246f580a30
children c08123e14970
files src/g23m-gprs/gmm/gmm_kernl.c
diffstat 1 files changed, 24 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/src/g23m-gprs/gmm/gmm_kernl.c	Thu Oct 13 05:27:51 2016 +0000
+++ b/src/g23m-gprs/gmm/gmm_kernl.c	Thu Oct 13 05:47:00 2016 +0000
@@ -800,9 +800,13 @@
     /* T_ROUTING_AREA_UPDATE_REQUEST */
     MCAST (routing_area_update_request, ROUTING_AREA_UPDATE_REQUEST);
 
-    routing_area_update_request->v_gmobile_identity      = FALSE;
+    #ifdef REL99
+      routing_area_update_request->v_gmobile_identity    = FALSE;
+    #endif
     routing_area_update_request->v_ms_network_capability = FALSE;
-    routing_area_update_request->v_pdp_context_status    = FALSE;
+    #ifdef REL99
+      routing_area_update_request->v_pdp_context_status  = FALSE;
+    #endif
 
       if ( GMMREG_AT_GPRS != gmm_data->kern.attach_cap.attach_type
       &&  GMMRR_NET_MODE_I == gmm_data->kern.sig_cell_info.net_mode)
@@ -2328,6 +2332,7 @@
 
   sig_kern_tx_data_req ( CURRENT_TLLI, ROUTING_AREA_UPDATE_COMPLETE );
   
+#ifdef REL99
   /*
    * If Cell Notification is set in the RAU ACCEPT message, the
    * RAU COMPLETE if send, can be considered as the initial Cell Update.
@@ -2338,6 +2343,7 @@
   {
     gmm_data->cell_notification = NOT_FIRST_CELL_NOTIFY; /* TCS 4.0 */
   }
+#endif
 
   kern_rau_complete_end(result_value);
   GMM_RETURN;
@@ -2378,8 +2384,9 @@
        * <R.GMM.AGACCEPT.M.018>, <R.GMM.TLLIUSE.M011>
        */
       sig_kern_tx_data_req ( CURRENT_TLLI, ATTACH_COMPLETE );
-	  
-	  /*
+
+     #ifdef REL99
+      /*
        * If Cell Notification is set in the ATTACH ACCEPT message, the
        * ATTACH COMPLETE if send, can be considered as the initial Cell Update.
        * The Next cell update can use LLC NULL frame. 
@@ -2389,6 +2396,7 @@
       {
         gmm_data->cell_notification = NOT_FIRST_CELL_NOTIFY; /* TCS 4.0 */
       }
+    #endif
 
     }
     kern_attach_complete_end( result_value );
@@ -2886,9 +2894,13 @@
     /* T_ROUTING_AREA_UPDATE_REQUEST */
     MCAST (routing_area_update_request,ROUTING_AREA_UPDATE_REQUEST);
 
-    routing_area_update_request->v_gmobile_identity      = FALSE;
+    #ifdef REL99
+      routing_area_update_request->v_gmobile_identity    = FALSE;
+    #endif
     routing_area_update_request->v_ms_network_capability = FALSE;
-    routing_area_update_request->v_pdp_context_status    = FALSE;
+    #ifdef REL99
+      routing_area_update_request->v_pdp_context_status  = FALSE;
+    #endif
 
     gmm_data->kern.attach_cap.update_proc_type = RAU;
 
@@ -2940,9 +2952,13 @@
     /* T_ROUTING_AREA_UPDATE_REQUEST */
     MCAST (routing_area_update_request,ROUTING_AREA_UPDATE_REQUEST);
 
-    routing_area_update_request->v_gmobile_identity      = FALSE;
+    #ifdef REL99
+      routing_area_update_request->v_gmobile_identity    = FALSE;
+    #endif
     routing_area_update_request->v_ms_network_capability = FALSE;
-    routing_area_update_request->v_pdp_context_status    = FALSE;
+    #ifdef REL99
+      routing_area_update_request->v_pdp_context_status  = FALSE;
+    #endif
 
     if ( GMMREG_AT_GPRS != gmm_data->kern.attach_cap.attach_type 
     &&   GMMRR_TMSI_INVALID == gmm_data->tmsi )