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/.
arvind.sirsikar gerrit-no-reply at lists.osmocom.org
Review at https://gerrit.osmocom.org/536
Add data structure to for split block in EGPRS UL
Modify header files with data structures required
to support split blocks for EGPRS UL TBF
Change-Id: I83ccd136bb361adcfd511c57c5a9d95ed72c36c2
---
M src/rlc.h
1 file changed, 26 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/36/536/1
diff --git a/src/rlc.h b/src/rlc.h
index 082db89..07bc121 100644
--- a/src/rlc.h
+++ b/src/rlc.h
@@ -55,6 +55,21 @@
GPRS_RLC_DL_BSN_MAX,
};
+/* EGPRS resegment status information for UL
+ * When only first split block is received bsn state
+ * will be set to EGPRS_RESEG_FIRST_SEG_RXD and when
+ * only second segment is received the state will be
+ * set to EGPRS_RESEG_SECOND_SEG_RXD. When both Split
+ * blocks are received the state will be set to
+ * EGPRS_RESEG_DEFAULT
+*/
+enum egprs_rlc_ul_reseg_bsn_state {
+ EGPRS_RESEG_DEFAULT = 0,
+ EGPRS_RESEG_FIRST_SEG_RXD = 0x01,
+ EGPRS_RESEG_SECOND_SEG_RXD = 0x02,
+ EGPRS_RESEG_INVALID
+};
+
/*
* Valid puncturing scheme values
* TS 44.060 10.4.8a.3.1, 10.4.8a.2.1, 10.4.8a.1.1
@@ -109,6 +124,14 @@
struct gprs_rlc_data_block_info block_info[2];
};
+/* holds the current status of the block w.r.t UL/DL split blocks */
+union split_block_status {
+ egprs_rlc_ul_reseg_bsn_state block_status_ul;
+ /* TODO: DL split block status need to be supported
+ * for EGPRS DL
+ */
+};
+
struct gprs_rlc_data {
uint8_t *prepare(size_t block_data_length);
void put_data(const uint8_t *data, size_t len);
@@ -133,6 +156,9 @@
/* puncturing scheme value to be used for next transmission*/
enum egprs_puncturing_values next_ps;
+
+ /* holds the current status of the block w.r.t UL/DL split blocks*/
+ union split_block_status spb_status_current;
};
void gprs_rlc_data_info_init_dl(struct gprs_rlc_data_info *rlc,
--
To view, visit https://gerrit.osmocom.org/536
To unsubscribe, visit https://gerrit.osmocom.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I83ccd136bb361adcfd511c57c5a9d95ed72c36c2
Gerrit-PatchSet: 1
Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Owner: arvind.sirsikar <arvind.sirsikar at radisys.com>