FreeCalypso > hg > tcs211-l1-reconst
diff chipsetsw/layer1/cust0/l1_cust.c @ 201:fc26218d598a
l1_cust.c: MV100 proprietary junk removed
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 08 Jun 2016 05:22:55 +0000 |
parents | 87fffabe4aec |
children | 47ac87c0bc1b |
line wrap: on
line diff
--- a/chipsetsw/layer1/cust0/l1_cust.c Wed Jun 08 05:18:40 2016 +0000 +++ b/chipsetsw/layer1/cust0/l1_cust.c Wed Jun 08 05:22:55 2016 +0000 @@ -1134,54 +1134,3 @@ #endif } #endif - -/* glowing,2004-06-16, import from M188 */ -void layer1_em_get_rxlevqual(WORD32 *l1_rxlev_scell,WORD32 *l1_rxlev_dedic_sub, - WORD32 *l1_rxqual_dedic,WORD32 *l1_rxqual_dedic_sub) -{ -/* - xmzhou_trace_string_value("values***********",(UINT32)(l1a_l1s_com.Scell_info.meas.acc)); - xmzhou_trace_string_value("values***********",(UINT32)(l1a_l1s_com.Scell_info.meas.nbr_meas)); - xmzhou_trace_string_value("values***********",(UINT32)(l1a_l1s_com.Smeas_dedic.acc_sub)); - xmzhou_trace_string_value("values***********",(UINT32)(l1a_l1s_com.Smeas_dedic.nbr_meas_sub)); - xmzhou_trace_string_value("values***********",(UINT32)(l1a_l1s_com.Smeas_dedic.qual_acc_full)); - xmzhou_trace_string_value("values***********",(UINT32)(l1a_l1s_com.Smeas_dedic.qual_nbr_meas_full)); - xmzhou_trace_string_value("values***********",(UINT32)(l1a_l1s_com.Smeas_dedic.qual_acc_sub)); - xmzhou_trace_string_value("values***********",(UINT32)(l1a_l1s_com.Smeas_dedic.qual_nbr_meas_sub)); -*/ - if(l1a_l1s_com.Scell_info.meas.nbr_meas != 0){ - *l1_rxlev_scell=(WORD32)(l1a_l1s_com.Scell_info.meas.acc)/(WORD32)(l1a_l1s_com.Scell_info.meas.nbr_meas); - }else{ - *l1_rxlev_scell=(WORD32)(l1a_l1s_com.Scell_info.meas.acc)/(WORD32)(4); - } -// xmzhou_trace_string_value("l1_rxlev_scell",(UINT32)(*l1_rxlev_scell)); - - if(l1a_l1s_com.Smeas_dedic.nbr_meas_sub !=0){ - *l1_rxlev_dedic_sub=(WORD32)(l1a_l1s_com.Smeas_dedic.acc_sub)/(WORD32)(l1a_l1s_com.Smeas_dedic.nbr_meas_sub); - }else{ - *l1_rxlev_dedic_sub=0; - } -// xmzhou_trace_string_value("l1_rxlev_dedic_sub",(UINT32)(*l1_rxlev_dedic_sub)); - - if(l1a_l1s_com.Smeas_dedic.qual_nbr_meas_full !=0){ - *l1_rxqual_dedic=(WORD32)(l1a_l1s_com.Smeas_dedic.qual_acc_full)/(WORD32)(l1a_l1s_com.Smeas_dedic.qual_nbr_meas_full); - }else{ - *l1_rxqual_dedic=0; - } -// xmzhou_trace_string_value("l1_rxqual_dedic",(UINT32)(*l1_rxqual_dedic)); - - if(l1a_l1s_com.Smeas_dedic.qual_nbr_meas_sub){ - *l1_rxqual_dedic_sub=(WORD32)(l1a_l1s_com.Smeas_dedic.qual_acc_sub)/(WORD32)(l1a_l1s_com.Smeas_dedic.qual_nbr_meas_sub); - }else{ - *l1_rxqual_dedic_sub=0; - } -// xmzhou_trace_string_value("l1_rxqual_dedic_sub",(UINT32)(*l1_rxqual_dedic_sub)); -} - -void layer1_em_get_mode(WORD32 *l1_mode) -{ - *l1_mode=l1a_l1s_com.mode; -} - -/*glowing,2004-06-16, end of import */ -