encoding: pass pdch slot directly to encoding functions
In order to be able to encode frequency hopping parameters, let's
pass a const pointer to 'gprs_rlcmac_pdch' (PDCH slot) directly,
instead of passing all related parameters separately.
Change-Id: I6bccad508f0fdccc4a763211008dd847a9111a8d
Related: SYS#4868, OS#4547
diff --git a/src/encoding.h b/src/encoding.h
index a556687..18392f7 100644
--- a/src/encoding.h
+++ b/src/encoding.h
@@ -42,10 +42,11 @@
class Encoding {
public:
static int write_immediate_assignment(
+ const struct gprs_rlcmac_pdch *pdch,
struct gprs_rlcmac_tbf *tbf,
bitvec * dest, bool downlink, uint16_t ra,
- uint32_t ref_fn, uint8_t ta, uint16_t arfcn, uint8_t ts,
- uint8_t tsc, uint8_t usf, bool polling,
+ uint32_t ref_fn, uint8_t ta,
+ uint8_t usf, bool polling,
uint32_t fn, uint8_t alpha, uint8_t gamma,
int8_t ta_idx,
enum ph_burst_type burst_type);