FreeCalypso > hg > tcs211-l1-reconst
comparison chipsetsw/layer1/tm_cfile/l1tm_async.c @ 222:a4899cf67fd1
l1tm_async.c: reconstruction complete, exact match to TCS211 binary object
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 14 Jan 2017 22:28:31 +0000 |
parents | 5aeabd5e6ded |
children |
comparison
equal
deleted
inserted
replaced
221:5aeabd5e6ded | 222:a4899cf67fd1 |
---|---|
2118 free_set->tsc = l1_config.tmode.tx_params.tsc; | 2118 free_set->tsc = l1_config.tmode.tx_params.tsc; |
2119 free_set->freq_param.chan_sel.h = FALSE; // no hopping | 2119 free_set->freq_param.chan_sel.h = FALSE; // no hopping |
2120 free_set->freq_param.chan_sel.rf_channel.single_rf.radio_freq = l1_config.tmode.rf_params.pdtch_arfcn; | 2120 free_set->freq_param.chan_sel.rf_channel.single_rf.radio_freq = l1_config.tmode.rf_params.pdtch_arfcn; |
2121 free_set->mac_mode = FIX_ALLOC_NO_HALF; // fixed allocation | 2121 free_set->mac_mode = FIX_ALLOC_NO_HALF; // fixed allocation |
2122 free_set->tbf_sti.present = TRUE; // STI present | 2122 free_set->tbf_sti.present = TRUE; // STI present |
2123 #if (CODE_VERSION == NOT_SIMULATION) | 2123 // FreeCalypso TCS211 reconstruction: LoCosto change backed out |
2124 #if 0 //(CODE_VERSION == NOT_SIMULATION) | |
2124 // In order to reduce the latency for the ETM command "rfe 4", make absolute_fn as | 2125 // In order to reduce the latency for the ETM command "rfe 4", make absolute_fn as |
2125 // next_time.fn+1. This was originally +100 because of which we had to wait for some | 2126 // next_time.fn+1. This was originally +100 because of which we had to wait for some |
2126 // time before L1 actually starts the TBF. | 2127 // time before L1 actually starts the TBF. |
2127 free_set->tbf_sti.absolute_fn= l1s.next_time.fn + 1; | 2128 free_set->tbf_sti.absolute_fn= l1s.next_time.fn + 1; |
2128 #else | 2129 #else |
2129 // In PC simulation, keep the old +100 to keep output logs same as reference | 2130 // In PC simulation, keep the old +100 to keep output logs same as reference |
2130 free_set->tbf_sti.absolute_fn= l1s.next_time.fn + 100; // force to current FN+100 | 2131 free_set->tbf_sti.absolute_fn= l1s.next_time.fn + 100; // force to current FN+100 |
2131 #endif | 2132 #endif |
2132 | 2133 |
2133 free_set->interf_meas_enable = FALSE; // Interference measurements disabled | 2134 free_set->interf_meas_enable = FALSE; // Interference measurements disabled |
2134 free_set->pc_meas_chan = TRUE; // No measurement on the beacon (6 per MF52) | 2135 free_set->pc_meas_chan = TRUE; // No measurement on the beacon (6 per MF52) |
2135 | 2136 |
2136 // Allocation of both UL and DL time slots | 2137 // Allocation of both UL and DL time slots |