comparison gsm-fw/g23m-gsm/rr/rr_tim.c @ 746:3385558575ea

rr_tim.c compiles
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 05 Oct 2014 22:53:42 +0000
parents 2f7df7a314f8
children
comparison
equal deleted inserted replaced
745:74cfa6727aa3 746:3385558575ea
19 +----------------------------------------------------------------------------- 19 +-----------------------------------------------------------------------------
20 */ 20 */
21 21
22 #ifndef RR_TIM_C 22 #ifndef RR_TIM_C
23 #define RR_TIM_C 23 #define RR_TIM_C
24
25 #include "config.h"
26 #include "fixedconf.h"
27 #include "condat-features.h"
24 28
25 #define ENTITY_RR 29 #define ENTITY_RR
26 30
27 /*==== INCLUDES ===================================================*/ 31 /*==== INCLUDES ===================================================*/
28 32
812 */ 816 */
813 att_start_cell_selection(RR_ORIGINATED, CS_PARALLEL,search_mode); 817 att_start_cell_selection(RR_ORIGINATED, CS_PARALLEL,search_mode);
814 } 818 }
815 else 819 else
816 { 820 {
817
818 rr_data->ms_data.reg_time_gap = 0; 821 rr_data->ms_data.reg_time_gap = 0;
819 822
820 /* Perform Non-Parallel search every >= 2min */ 823 /* Perform Non-Parallel search every >= 2min */
821 #ifdef GPRS 824 #ifdef GPRS
822 att_start_cell_selection_gprs(RR_ORIGINATED,search_mode); 825 att_start_cell_selection_gprs(RR_ORIGINATED,search_mode);
1004 rr_data->t_running[TNNN] = 1; 1007 rr_data->t_running[TNNN] = 1;
1005 1008
1006 /* 1009 /*
1007 * start physical periodically timer. 1010 * start physical periodically timer.
1008 */ 1011 */
1009 TIMER_PSTART (rr_handle, TNNN, ONE_SEC, ONE_SEC); 1012 TIMER_PSTART (rr_handle, TNNN, ONE_SEC, ONE_SEC);
1010 } 1013 }
1011 1014
1012 /* set the new timer counter */ 1015 /* set the new timer counter */
1013 rr_data->nc_data[index].tnnn = value / ONE_SEC; 1016 rr_data->nc_data[index].tnnn = value / ONE_SEC;
1014 } 1017 }
1223 else 1226 else
1224 { 1227 {
1225 trace_timer (index, value); 1228 trace_timer (index, value);
1226 rr_data->t_running[index] = 1; 1229 rr_data->t_running[index] = 1;
1227 TIMER_START (rr_handle, index, value); 1230 TIMER_START (rr_handle, index, value);
1228
1229 } 1231 }
1230 } 1232 }
1231 1233
1232 /* 1234 /*
1233 +--------------------------------------------------------------------+ 1235 +--------------------------------------------------------------------+