Change in osmo-pcu[master]: encoding: use bool for use_egprs in write_packet_uplink_assignment()

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

fixeria gerrit-no-reply at lists.osmocom.org
Fri Aug 21 19:56:22 UTC 2020


fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-pcu/+/19785 )


Change subject: encoding: use bool for use_egprs in write_packet_uplink_assignment()
......................................................................

encoding: use bool for use_egprs in write_packet_uplink_assignment()

Change-Id: Iab4fb44c666a0d4fe8c98f5ff9221e23a6f1f2fa
---
M src/encoding.cpp
M src/encoding.h
2 files changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/85/19785/1

diff --git a/src/encoding.cpp b/src/encoding.cpp
index 0db74c1..da9b25c 100644
--- a/src/encoding.cpp
+++ b/src/encoding.cpp
@@ -538,7 +538,7 @@
 	bitvec * dest, uint8_t old_tfi,
 	uint8_t old_downlink, uint32_t tlli, uint8_t use_tlli,
 	const struct gprs_rlcmac_ul_tbf *tbf, uint8_t poll, uint8_t rrbp, uint8_t alpha,
-	uint8_t gamma, int8_t ta_idx, int8_t use_egprs)
+	uint8_t gamma, int8_t ta_idx, bool use_egprs)
 {
 	// TODO We should use our implementation of encode RLC/MAC Control messages.
 	unsigned wp = 0;
diff --git a/src/encoding.h b/src/encoding.h
index bb9944c..be2bf80 100644
--- a/src/encoding.h
+++ b/src/encoding.h
@@ -61,7 +61,7 @@
 			uint8_t old_downlink, uint32_t tlli, uint8_t use_tlli,
 			const struct gprs_rlcmac_ul_tbf *tbf, uint8_t poll, uint8_t rrbp,
 			uint8_t alpha, uint8_t gamma, int8_t ta_idx,
-			int8_t use_egprs);
+			bool use_egprs);
 
 	static void write_packet_downlink_assignment(RlcMacDownlink_t * block,
 			bool old_tfi_is_valid, uint8_t old_tfi, uint8_t old_downlink,

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-pcu/+/19785
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: Iab4fb44c666a0d4fe8c98f5ff9221e23a6f1f2fa
Gerrit-Change-Number: 19785
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200821/4635f3c5/attachment.htm>


More information about the gerrit-log mailing list