diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2016-01-07 16:04:29 +0100 |
---|---|---|
committer | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2016-02-01 13:58:14 +0100 |
commit | 166c9fc82708f1965265251225632d3e3b20f529 (patch) | |
tree | 91ad71821f0703fb07edbcb978eb216becaf42c7 /src/encoding.h | |
parent | 7b579978749c4c21acd711b1b48b1579bc225d48 (diff) |
edge: Support EGPRS in write_packet_downlink_assignment
Add an use_egprs parameter to write_packet_downlink_assignment
and add the EGPRS related fields if it is set to true. The
window size is fixed at 64 blocks, link quality measurement
reports have been disabled, and the other optional fields are not
present.
Sponsored-by: On-Waves ehf
Diffstat (limited to 'src/encoding.h')
-rw-r--r-- | src/encoding.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/encoding.h b/src/encoding.h index ce17d6f6..ff62bc90 100644 --- a/src/encoding.h +++ b/src/encoding.h @@ -50,9 +50,11 @@ public: struct gprs_rlcmac_ul_tbf *tbf, uint8_t poll, uint8_t alpha, uint8_t gamma, int8_t ta_idx, int8_t use_egprs); - static void write_packet_downlink_assignment(RlcMacDownlink_t * block, uint8_t old_tfi, - uint8_t old_downlink, struct gprs_rlcmac_tbf *tbf, uint8_t poll, - uint8_t alpha, uint8_t gamma, int8_t ta_idx, uint8_t ta_ts); + static void write_packet_downlink_assignment(RlcMacDownlink_t * block, + uint8_t old_tfi, uint8_t old_downlink, + struct gprs_rlcmac_tbf *tbf, uint8_t poll, uint8_t alpha, + uint8_t gamma, int8_t ta_idx, uint8_t ta_ts, + bool use_egprs); static void encode_rbb(const char *show_rbb, uint8_t *rbb); |