FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/g23m-gsm/sms/sms_rl.c @ 762:5767cb509546
sms_rl.c compiles
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Sat, 11 Oct 2014 23:05:52 +0000 |
parents | 2f7df7a314f8 |
children |
comparison
equal
deleted
inserted
replaced
761:55a84763c417 | 762:5767cb509546 |
---|---|
19 +----------------------------------------------------------------------------- | 19 +----------------------------------------------------------------------------- |
20 */ | 20 */ |
21 | 21 |
22 #ifndef SMS_RL_C | 22 #ifndef SMS_RL_C |
23 #define SMS_RL_C | 23 #define SMS_RL_C |
24 | |
25 #include "config.h" | |
26 #include "fixedconf.h" | |
27 #include "condat-features.h" | |
24 | 28 |
25 #define ENTITY_SMS | 29 #define ENTITY_SMS |
26 | 30 |
27 /*==== INCLUDES ===================================================*/ | 31 /*==== INCLUDES ===================================================*/ |
28 | 32 |
246 #ifdef REL99 | 250 #ifdef REL99 |
247 /* | 251 /* |
248 * This is done for Retransmission for the causes | 252 * This is done for Retransmission for the causes |
249 * listed in the table 8.4/3gPP TS 24.011(Part 1) | 253 * listed in the table 8.4/3gPP TS 24.011(Part 1) |
250 */ | 254 */ |
251 if (SMS_INST.tl_retx < TL_MAX_RETANS) | 255 if (SMS_INST.tl_retx < TL_MAX_RETANS) |
252 { | 256 { |
253 /* Check whether the cause value satisfies the one for retransmission | 257 /* Check whether the cause value satisfies the one for retransmission |
254 * listed in the table 8.4/3gPP TS 24.011(Part 1) | 258 * listed in the table 8.4/3gPP TS 24.011(Part 1) |
255 */ | 259 */ |
256 switch(cp_user_data_dl->rp_error.rp_cause.rp_cause_value) | 260 switch(cp_user_data_dl->rp_error.rp_cause.rp_cause_value) |
307 SMS_EM_RECEIVE_RP_ERROR; | 311 SMS_EM_RECEIVE_RP_ERROR; |
308 } | 312 } |
309 } | 313 } |
310 break; | 314 break; |
311 | 315 |
312 | |
313 default: | 316 default: |
314 TRACE_FUNCTION ("rl_data_ind(): default"); | 317 TRACE_FUNCTION ("rl_data_ind(): default"); |
315 | 318 |
316 /* | 319 /* |
317 * stop timer TR1M | 320 * stop timer TR1M |