[MERGED] libosmocore[master]: Update structure in libosmocore for 11 bit RACH

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/.

Holger Freyther gerrit-no-reply at lists.osmocom.org
Sun Jul 24 14:15:03 UTC 2016


Holger Freyther has submitted this change and it was merged.

Change subject: Update structure in libosmocore for 11 bit RACH
......................................................................


Update structure in libosmocore for 11 bit RACH

Parameters are added to the structure ph_rach_ind_param to
differentiate the type of RACH received from Layer 1. This is to
further support the 11 bit RACH.

Change-Id: Ic4f0f2424a3af7599d986044be25ea4fcc0ca477
---
M include/osmocom/gsm/l1sap.h
1 file changed, 11 insertions(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  Holger Freyther: Looks good to me, approved



diff --git a/include/osmocom/gsm/l1sap.h b/include/osmocom/gsm/l1sap.h
index ad942ea..098e4f0 100644
--- a/include/osmocom/gsm/l1sap.h
+++ b/include/osmocom/gsm/l1sap.h
@@ -46,12 +46,22 @@
 	uint16_t offset;	/*!< \brief Timing Offset */
 };
 
+/*! \brief for PH_RA_IND burstType inforamtion */
+enum ph_burst_type {
+	GSM_L1_BURST_TYPE_NONE = 0,
+	GSM_L1_BURST_TYPE_ACCESS_0,
+	GSM_L1_BURST_TYPE_ACCESS_1,
+	GSM_L1_BURST_TYPE_ACCESS_2
+};
+
 /*! \brief for PH-RANDOM_ACCESS.ind */
 struct ph_rach_ind_param {
 	uint8_t chan_nr;	/*!< \brief Channel Number (Like RSL) */
-	uint8_t ra;		/*!< \brief Random Access */
+	uint16_t ra;		/*!< \brief Random Access */
 	uint8_t acc_delay;	/*!< \brief Delay in bit periods */
 	uint32_t fn;		/*!< \brief GSM Frame Number at time of RA */
+	uint8_t is_11bit;	/*!< \brief no.of bits in RACH*/
+	enum ph_burst_type burst_type; /*!< \brief type of burst*/
 };
 
 /*! \brief for PH-[UNIT]DATA.{req,ind} | PH-RTS.ind */

-- 
To view, visit https://gerrit.osmocom.org/427
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic4f0f2424a3af7599d986044be25ea4fcc0ca477
Gerrit-PatchSet: 3
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: bhargava_abhyankar <Bhargava.Abhyankar at radisys.com>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Holger Freyther <holger at freyther.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: bhargava_abhyankar <Bhargava.Abhyankar at radisys.com>



More information about the gerrit-log mailing list