comparison L1/cfile/l1_cmplx.c @ 25:85b080d6fb39

L1/cfile/l1_{cmplx,init}.c: support for feature tch-reroute re-added
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 11 Jun 2016 05:51:09 +0000
parents b80f0c5016ee
children
comparison
equal deleted inserted replaced
24:da9056962fb7 25:85b080d6fb39
232 #if (RF_FAM == 61) 232 #if (RF_FAM == 61)
233 void cust_get_if_dco_ctl_algo (UWORD16* dco_algo_ctl, UWORD8* if_ctl, 233 void cust_get_if_dco_ctl_algo (UWORD16* dco_algo_ctl, UWORD8* if_ctl,
234 UWORD8 input_level_flag, UWORD8 input_level, UWORD16 radio_freq, UWORD8 if_threshold); 234 UWORD8 input_level_flag, UWORD8 input_level, UWORD16 radio_freq, UWORD8 if_threshold);
235 #endif 235 #endif
236 236
237 #if FEATURE_TCH_REROUTE
238 extern BOOL tch_reroute_downlink;
239 extern void tch_send_downlink_bits(API *dsp_buffer);
240 extern void tch_substitute_uplink(API *dsp_buffer);
241 #endif
237 242
238 //#pragma DUPLICATE_FOR_INTERNAL_RAM_END 243 //#pragma DUPLICATE_FOR_INTERNAL_RAM_END
239 244
240 extern UWORD16 toa_tab[4]; 245 extern UWORD16 toa_tab[4];
241 246
5114 trace_flowchart_dsptx(dltsk_trace[TCHTF].name); 5119 trace_flowchart_dsptx(dltsk_trace[TCHTF].name);
5115 #endif 5120 #endif
5116 } 5121 }
5117 #endif 5122 #endif
5118 } 5123 }
5124 #if FEATURE_TCH_REROUTE
5125 else
5126 tch_substitute_uplink(l1s_dsp_com.dsp_ndb_ptr->a_du_1);
5127 #endif
5119 } 5128 }
5120 } 5129 }
5121 5130
5122 #if FF_L1_IT_DSP_DTX 5131 #if FF_L1_IT_DSP_DTX
5123 // Fast DTX active only in TCH AFS, for TDMA3 from speech block = 0, 1 [MOD 3] 5132 // Fast DTX active only in TCH AFS, for TDMA3 from speech block = 0, 1 [MOD 3]
9450 os_send_sig(msg, L1C1_QUEUE); 9459 os_send_sig(msg, L1C1_QUEUE);
9451 DEBUGMSG(status,NU_SEND_QUEUE_ERR) 9460 DEBUGMSG(status,NU_SEND_QUEUE_ERR)
9452 } 9461 }
9453 #endif 9462 #endif
9454 9463
9464 #if FEATURE_TCH_REROUTE
9465 if (tch_reroute_downlink)
9466 tch_send_downlink_bits(l1s_dsp_com.dsp_ndb_ptr->a_dd_0);
9467 #endif
9468
9455 if(channel_mode == TCH_24F_MODE) 9469 if(channel_mode == TCH_24F_MODE)
9456 { 9470 {
9457 #if IDS 9471 #if IDS
9458 // Integrated Data Services implementation 9472 // Integrated Data Services implementation
9459 { 9473 {