comparison gsm-fw/g23m-gsm/dl/dl_dcch0.c @ 703:d6a9b9fce09e

dl_dcch0.c compiles
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Fri, 03 Oct 2014 03:36:02 +0000
parents 2f7df7a314f8
children
comparison
equal deleted inserted replaced
702:900be07de4e8 703:d6a9b9fce09e
21 */ 21 */
22 22
23 #ifndef DL_DCCH0_C 23 #ifndef DL_DCCH0_C
24 #define DL_DCCH0_C 24 #define DL_DCCH0_C
25 25
26 #include "config.h"
27 #include "fixedconf.h"
28 #include "condat-features.h"
29
26 #define ENTITY_DL 30 #define ENTITY_DL
27 31
28 /*==== INCLUDES ===================================================*/ 32 /*==== INCLUDES ===================================================*/
29 #include "typedefs.h" 33 #include "typedefs.h"
30 #include "string.h" 34 #include "string.h"
41 #include "dl_trc.h" 45 #include "dl_trc.h"
42 46
43 /*==== EXPORT =====================================================*/ 47 /*==== EXPORT =====================================================*/
44 /*==== PRIVAT =====================================================*/ 48 /*==== PRIVAT =====================================================*/
45 LOCAL void dcch0_resume_reconnect_req (T_PRIM * prim, 49 LOCAL void dcch0_resume_reconnect_req (T_PRIM * prim,
46 U8 ch_type); 50 U8 ch_type);
47 /*==== VARIABLES ==================================================*/ 51 /*==== VARIABLES ==================================================*/
48 /*==== FUNCTIONS ==================================================*/ 52 /*==== FUNCTIONS ==================================================*/
49 /* 53 /*
50 +--------------------------------------------------------------------+ 54 +--------------------------------------------------------------------+
51 | PROJECT : GSM-PS (6147) MODULE : DL_SDCCH | 55 | PROJECT : GSM-PS (6147) MODULE : DL_SDCCH |
120 dl_data->dcch0_sabm_delay--; 124 dl_data->dcch0_sabm_delay--;
121 DL_OFFLINE_TRACE (TRACE_DL_EVENT, C_DCCH0, pcch->ch_type, "pending delayed SABM"); 125 DL_OFFLINE_TRACE (TRACE_DL_EVENT, C_DCCH0, pcch->ch_type, "pending delayed SABM");
122 } 126 }
123 else 127 else
124 {/* finishing delay, send SABM with the current (next) uplink opportunity */ 128 {/* finishing delay, send SABM with the current (next) uplink opportunity */
125 #if !defined(DL_TRACE_ENABLED) 129 #if !defined(DL_TRACE_ENABLED)
126 TRACE_EVENT ("delayed SABM"); 130 TRACE_EVENT ("delayed SABM");
127 #endif /* ! DL_TRACE_ENABLED*/ 131 #endif /* ! DL_TRACE_ENABLED*/
128 dl_data->dcch0_sabm_flag = NOT_PRESENT_8BIT; 132 dl_data->dcch0_sabm_flag = NOT_PRESENT_8BIT;
129 send_sabm = TRUE; 133 send_sabm = TRUE;
130 DL_OFFLINE_TRACE (TRACE_DL_EVENT, C_DCCH0, pcch->ch_type, "send delayed SABM"); 134 DL_OFFLINE_TRACE (TRACE_DL_EVENT, C_DCCH0, pcch->ch_type, "send delayed SABM");
131 } 135 }
132 } 136 }
544 break; 548 break;
545 } 549 }
546 } 550 }
547 551
548 #endif /* !DL_DCCH0_C */ 552 #endif /* !DL_DCCH0_C */
549
550