diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2017-04-19 11:52:22 +0200 |
---|---|---|
committer | Philipp Maier <pmaier@sysmocom.de> | 2017-05-17 16:22:27 +0200 |
commit | b16eed22c70602178a4a2d26aed112064c95a6d3 (patch) | |
tree | 515429ca2b000ac6a1482bcb1ca6a94e21c41a14 | |
parent | 2c841100a96f66ed55524df0610784d7e7d15165 (diff) |
octphy: ensure that 11 bit rach flag is not set
The l1 interface does not explicitly set the flag for 11 bit
rach when a rach request is received. Since the current and
previous octphy firmwares do not support 11 bit rach requests,
the flag should be explicitly set to zero.
Change-Id: Ifa165c56e54d272caafa45d1bf0e177848fcdfbd
-rw-r--r-- | src/osmo-bts-octphy/l1_if.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/osmo-bts-octphy/l1_if.c b/src/osmo-bts-octphy/l1_if.c index ac4d960d..92d20253 100644 --- a/src/osmo-bts-octphy/l1_if.c +++ b/src/osmo-bts-octphy/l1_if.c @@ -1125,6 +1125,8 @@ static int handle_ph_rach_ind(struct octphy_hdl *fl1, l1sap->u.rach_ind.ra = ra; l1sap->u.rach_ind.acc_delay = acc_delay; l1sap->u.rach_ind.fn = fn; + l1sap->u.rach_ind.is_11bit = 0; + if (!lchan || lchan->ts->pchan == GSM_PCHAN_CCCH || lchan->ts->pchan == GSM_PCHAN_CCCH_SDCCH4 || lchan->ts->pchan == GSM_PCHAN_CCCH_SDCCH4_CBCH) |