diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2016-02-01 16:13:38 +0100 |
---|---|---|
committer | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2016-02-02 17:06:38 +0100 |
commit | 62a04dac0b347127fc417e6b85759b5e7450bc76 (patch) | |
tree | 4e4182c29abc497de1ae63a862b0539818f6165b /src/encoding.h | |
parent | 3739905f49071c0aefce1a135aa593ed11ea9ac8 (diff) |
encoding: Redesign Encoding::write_immediate_assignment API
The EGPRS support will need more information to encode the IMMEDIATE
ASSIGMENT. Instead of adding more parameters pass a pointer to the
TBF unless an SBA shall be done (indicated by tbf == NULL). All
values that can be derived from the TBF and are not needed for an SBA
are removed from the parameter list.
Return a negative value on error.
Sponsored-by: On-Waves ehf
Diffstat (limited to 'src/encoding.h')
-rw-r--r-- | src/encoding.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/encoding.h b/src/encoding.h index 12487258..94e9a02f 100644 --- a/src/encoding.h +++ b/src/encoding.h @@ -39,11 +39,11 @@ struct gprs_rlc_data_block_info; class Encoding { public: static int write_immediate_assignment( - struct gprs_rlcmac_bts *bts, - bitvec * dest, uint8_t downlink, uint8_t ra, - uint32_t ref_fn, uint8_t ta, uint16_t arfcn, uint8_t ts, uint8_t tsc, - uint8_t tfi, uint8_t usf, uint32_t tlli, uint8_t polling, - uint32_t fn, uint8_t single_block, uint8_t alpha, uint8_t gamma, + struct gprs_rlcmac_tbf *tbf, + bitvec * dest, uint8_t downlink, uint8_t ra, + uint32_t ref_fn, uint8_t ta, uint16_t arfcn, uint8_t ts, + uint8_t tsc, uint8_t usf, uint8_t polling, + uint32_t fn, uint8_t alpha, uint8_t gamma, int8_t ta_idx); static void write_packet_uplink_assignment( |