FreeCalypso > hg > tcs211-l1-reconst
changeset 298:38ece3f48a66
l1p_cmpl.c: l1ps_ctrl_single() reconstructed
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 02 Oct 2017 06:38:38 +0000 |
parents | 499ea85d95f4 |
children | 3d0f510f0420 |
files | chipsetsw/layer1/p_cfile/l1p_cmpl.c |
diffstat | 1 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/chipsetsw/layer1/p_cfile/l1p_cmpl.c Mon Oct 02 06:23:52 2017 +0000 +++ b/chipsetsw/layer1/p_cfile/l1p_cmpl.c Mon Oct 02 06:38:38 2017 +0000 @@ -361,7 +361,11 @@ UWORD8 i; // Call Uplink Transmit Power level algorithm +#if 0 /* LoCosto version */ maca_power_control(l1pa_l1ps_com.transfer.aset->assignment_id, +#else /* TCS211 reconstruction */ + maca_power_control(DL_pwr_ctrl.assignment_id, +#endif DL_pwr_ctrl.crc_error, DL_pwr_ctrl.bcch_level, DL_pwr_ctrl.radio_freq_tbl, @@ -391,8 +395,8 @@ /*===============*/ if(l1pa_l1ps_com.transfer.single_block.activity & SINGLE_DL) { - WORD8 agc =0; //omaps00090550 - UWORD8 lna_off=0; //omaps00090550; + WORD8 agc; + UWORD8 lna_off; // Update AGC l1pctl_transfer_agc_ctrl(&agc, &lna_off, radio_freq);