diff options
author | bhargava <Bhargava.Abhyankar@radisys.com> | 2016-07-14 13:15:09 +0530 |
---|---|---|
committer | Holger Freyther <holger@freyther.de> | 2016-07-24 14:15:03 +0000 |
commit | 1a96946875f807b84fbb255e8b4f8f4a31b9cecc (patch) | |
tree | 6e0b02ff0b544bc764136f34b08efbb2bdea41d8 | |
parent | da34bf01a340850b114e7136502c55e79bec68e1 (diff) |
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
-rw-r--r-- | include/osmocom/gsm/l1sap.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/include/osmocom/gsm/l1sap.h b/include/osmocom/gsm/l1sap.h index ad942eae..098e4f07 100644 --- a/include/osmocom/gsm/l1sap.h +++ b/include/osmocom/gsm/l1sap.h @@ -46,12 +46,22 @@ struct ph_rach_req_param { 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 */ |