From 554a835e906419ff5b4b773b3a723a3fa2e15611 Mon Sep 17 00:00:00 2001 From: Jacob Erlbeck Date: Wed, 9 Dec 2015 17:39:56 +0100 Subject: edge: Use a single PDCH rcv_data_block method for GPRS and EGPRS Currently GPRS is handled by the old code path while EGPRS already uses the unified functions. The rcv_block_egprs is basically not specific to EGPRS and just needs minor modifications to handle GPRS. This commit turns gprs_rlcmac_pdch::rcv_block_egprs into a unified rcv_data_block method and uses it for GPRS, too. Note that the logging messages of the new parser are different. Sponsored-by: On-Waves ehf --- src/bts.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bts.h') diff --git a/src/bts.h b/src/bts.h index 51df5a3e..4867ac00 100644 --- a/src/bts.h +++ b/src/bts.h @@ -66,7 +66,7 @@ struct gprs_rlcmac_pdch { struct pcu_l1_meas *meas); int rcv_block_gprs(uint8_t *data, uint32_t fn, struct pcu_l1_meas *meas, GprsCodingScheme cs); - int rcv_block_egprs(uint8_t *data, uint32_t fn, + int rcv_data_block(uint8_t *data, uint32_t fn, struct pcu_l1_meas *meas, GprsCodingScheme cs); gprs_rlcmac_bts *bts_data() const; -- cgit v1.2.3