aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcu_l1_if.cpp
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2021-03-17 15:26:37 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2021-03-17 15:58:16 +0100
commitfecab500666b7913bee89fbf0427f37b571512f3 (patch)
tree53c47524f6843e923675303e49eec334d557e2c6 /src/pcu_l1_if.cpp
parentc7cc4162e19e93cc1a64dc2bdf2497cf4927cb1b (diff)
sysmo: fix wrong FN jumps in rx RA.ind
There's no need for setting the FN in RA.ind since we anyway already receive a DATA.ind beforehand. Furthermore, the applied delay of 5 in the call is not really used at all. Change-Id: I437f4f95d054aea96bec3b9343e495451020ff3c
Diffstat (limited to 'src/pcu_l1_if.cpp')
-rw-r--r--src/pcu_l1_if.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/pcu_l1_if.cpp b/src/pcu_l1_if.cpp
index f28c46f8..0ccf642e 100644
--- a/src/pcu_l1_if.cpp
+++ b/src/pcu_l1_if.cpp
@@ -273,13 +273,7 @@ void pcu_l1if_tx_pch(struct gprs_rlcmac_bts *bts, bitvec * block, int plen, uint
void pcu_rx_block_time(struct gprs_rlcmac_bts *bts, uint16_t arfcn, uint32_t fn, uint8_t ts_no)
{
- bts_set_current_block_frame_number(bts, fn, 0);
-}
-
-void pcu_rx_ra_time(struct gprs_rlcmac_bts *bts, uint16_t arfcn, uint32_t fn, uint8_t ts_no)
-{
- /* access bursts may arrive some bursts earlier */
- bts_set_current_block_frame_number(bts, fn, 5);
+ bts_set_current_block_frame_number(bts, fn);
}
int pcu_rx_data_ind_pdtch(struct gprs_rlcmac_bts *bts, struct gprs_rlcmac_pdch *pdch, uint8_t *data,