comparison src/g23m-gprs/gmm/gmm_kernl.c @ 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 219afcfc6250
children
comparison
equal deleted inserted replaced
186:ad246f580a30 187:907458d58a86
798 gmm_data->kern.attach_cap.update_proc_type = COMBINED_RAU; 798 gmm_data->kern.attach_cap.update_proc_type = COMBINED_RAU;
799 { 799 {
800 /* T_ROUTING_AREA_UPDATE_REQUEST */ 800 /* T_ROUTING_AREA_UPDATE_REQUEST */
801 MCAST (routing_area_update_request, ROUTING_AREA_UPDATE_REQUEST); 801 MCAST (routing_area_update_request, ROUTING_AREA_UPDATE_REQUEST);
802 802
803 routing_area_update_request->v_gmobile_identity = FALSE; 803 #ifdef REL99
804 routing_area_update_request->v_gmobile_identity = FALSE;
805 #endif
804 routing_area_update_request->v_ms_network_capability = FALSE; 806 routing_area_update_request->v_ms_network_capability = FALSE;
805 routing_area_update_request->v_pdp_context_status = FALSE; 807 #ifdef REL99
808 routing_area_update_request->v_pdp_context_status = FALSE;
809 #endif
806 810
807 if ( GMMREG_AT_GPRS != gmm_data->kern.attach_cap.attach_type 811 if ( GMMREG_AT_GPRS != gmm_data->kern.attach_cap.attach_type
808 && GMMRR_NET_MODE_I == gmm_data->kern.sig_cell_info.net_mode) 812 && GMMRR_NET_MODE_I == gmm_data->kern.sig_cell_info.net_mode)
809 /* 813 /*
810 * <R.GMM.RCINIT.M.016> 814 * <R.GMM.RCINIT.M.016>
2326 { 2330 {
2327 GMM_TRACE_FUNCTION( "kern_rau_complete" ); 2331 GMM_TRACE_FUNCTION( "kern_rau_complete" );
2328 2332
2329 sig_kern_tx_data_req ( CURRENT_TLLI, ROUTING_AREA_UPDATE_COMPLETE ); 2333 sig_kern_tx_data_req ( CURRENT_TLLI, ROUTING_AREA_UPDATE_COMPLETE );
2330 2334
2335 #ifdef REL99
2331 /* 2336 /*
2332 * If Cell Notification is set in the RAU ACCEPT message, the 2337 * If Cell Notification is set in the RAU ACCEPT message, the
2333 * RAU COMPLETE if send, can be considered as the initial Cell Update. 2338 * RAU COMPLETE if send, can be considered as the initial Cell Update.
2334 * The Next cell update can use LLC NULL frame. 2339 * The Next cell update can use LLC NULL frame.
2335 * Reference 3GPP TS 24.008 section 4.7.2.1.1 2340 * Reference 3GPP TS 24.008 section 4.7.2.1.1
2336 */ 2341 */
2337 if (gmm_data->cell_notification EQ FIRST_CELL_NOTIFY) 2342 if (gmm_data->cell_notification EQ FIRST_CELL_NOTIFY)
2338 { 2343 {
2339 gmm_data->cell_notification = NOT_FIRST_CELL_NOTIFY; /* TCS 4.0 */ 2344 gmm_data->cell_notification = NOT_FIRST_CELL_NOTIFY; /* TCS 4.0 */
2340 } 2345 }
2346 #endif
2341 2347
2342 kern_rau_complete_end(result_value); 2348 kern_rau_complete_end(result_value);
2343 GMM_RETURN; 2349 GMM_RETURN;
2344 } /* kern_rau_complete () */ 2350 } /* kern_rau_complete () */
2345 2351
2376 { 2382 {
2377 /* 2383 /*
2378 * <R.GMM.AGACCEPT.M.018>, <R.GMM.TLLIUSE.M011> 2384 * <R.GMM.AGACCEPT.M.018>, <R.GMM.TLLIUSE.M011>
2379 */ 2385 */
2380 sig_kern_tx_data_req ( CURRENT_TLLI, ATTACH_COMPLETE ); 2386 sig_kern_tx_data_req ( CURRENT_TLLI, ATTACH_COMPLETE );
2381 2387
2382 /* 2388 #ifdef REL99
2389 /*
2383 * If Cell Notification is set in the ATTACH ACCEPT message, the 2390 * If Cell Notification is set in the ATTACH ACCEPT message, the
2384 * ATTACH COMPLETE if send, can be considered as the initial Cell Update. 2391 * ATTACH COMPLETE if send, can be considered as the initial Cell Update.
2385 * The Next cell update can use LLC NULL frame. 2392 * The Next cell update can use LLC NULL frame.
2386 * Reference 3GPP TS 24.008 section 4.7.2.1.1 2393 * Reference 3GPP TS 24.008 section 4.7.2.1.1
2387 */ 2394 */
2388 if (gmm_data->cell_notification EQ FIRST_CELL_NOTIFY) 2395 if (gmm_data->cell_notification EQ FIRST_CELL_NOTIFY)
2389 { 2396 {
2390 gmm_data->cell_notification = NOT_FIRST_CELL_NOTIFY; /* TCS 4.0 */ 2397 gmm_data->cell_notification = NOT_FIRST_CELL_NOTIFY; /* TCS 4.0 */
2391 } 2398 }
2399 #endif
2392 2400
2393 } 2401 }
2394 kern_attach_complete_end( result_value ); 2402 kern_attach_complete_end( result_value );
2395 2403
2396 #ifdef GMM_TCS4 2404 #ifdef GMM_TCS4
2884 2892
2885 { 2893 {
2886 /* T_ROUTING_AREA_UPDATE_REQUEST */ 2894 /* T_ROUTING_AREA_UPDATE_REQUEST */
2887 MCAST (routing_area_update_request,ROUTING_AREA_UPDATE_REQUEST); 2895 MCAST (routing_area_update_request,ROUTING_AREA_UPDATE_REQUEST);
2888 2896
2889 routing_area_update_request->v_gmobile_identity = FALSE; 2897 #ifdef REL99
2898 routing_area_update_request->v_gmobile_identity = FALSE;
2899 #endif
2890 routing_area_update_request->v_ms_network_capability = FALSE; 2900 routing_area_update_request->v_ms_network_capability = FALSE;
2891 routing_area_update_request->v_pdp_context_status = FALSE; 2901 #ifdef REL99
2902 routing_area_update_request->v_pdp_context_status = FALSE;
2903 #endif
2892 2904
2893 gmm_data->kern.attach_cap.update_proc_type = RAU; 2905 gmm_data->kern.attach_cap.update_proc_type = RAU;
2894 2906
2895 routing_area_update_request->update_type.update_type_value 2907 routing_area_update_request->update_type.update_type_value
2896 = RAU; 2908 = RAU;
2938 2950
2939 { 2951 {
2940 /* T_ROUTING_AREA_UPDATE_REQUEST */ 2952 /* T_ROUTING_AREA_UPDATE_REQUEST */
2941 MCAST (routing_area_update_request,ROUTING_AREA_UPDATE_REQUEST); 2953 MCAST (routing_area_update_request,ROUTING_AREA_UPDATE_REQUEST);
2942 2954
2943 routing_area_update_request->v_gmobile_identity = FALSE; 2955 #ifdef REL99
2956 routing_area_update_request->v_gmobile_identity = FALSE;
2957 #endif
2944 routing_area_update_request->v_ms_network_capability = FALSE; 2958 routing_area_update_request->v_ms_network_capability = FALSE;
2945 routing_area_update_request->v_pdp_context_status = FALSE; 2959 #ifdef REL99
2960 routing_area_update_request->v_pdp_context_status = FALSE;
2961 #endif
2946 2962
2947 if ( GMMREG_AT_GPRS != gmm_data->kern.attach_cap.attach_type 2963 if ( GMMREG_AT_GPRS != gmm_data->kern.attach_cap.attach_type
2948 && GMMRR_TMSI_INVALID == gmm_data->tmsi ) 2964 && GMMRR_TMSI_INVALID == gmm_data->tmsi )
2949 /* 2965 /*
2950 * <R.GMM.RCINIT.M.016> 2966 * <R.GMM.RCINIT.M.016>