laforge has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-pcu/+/20929 )

Change subject: pdch: Process received CS1-4 data blocks regardless of 
egprs_enabled
......................................................................

pdch: Process received CS1-4 data blocks regardless of egprs_enabled

EGPRS "enabled" or "not enabled" is a bit of confusing idea, since there
are different levels of EGPRS support. For instance we may have been
instructed by config to not transmit using MCS5-9 (8PSK), or not use
MCS1-9 at all (GMSK+8PSK). However, we cannot control what is sent to us
or what we receive on lower layers, so if the BTS PHY/receiver was able
to decode+receive, let's try to process it anyway...

Related: OS#4544
Change-Id: Ie70ec8e4a2d688762d7d320d6ad58d5a0cc52ea1
---
M src/pdch.cpp
1 file changed, 0 insertions(+), 6 deletions(-)

Approvals:
  Jenkins Builder: Verified
  lynxis lazus: Looks good to me, approved



diff --git a/src/pdch.cpp b/src/pdch.cpp
index c56776f..ff13477 100644
--- a/src/pdch.cpp
+++ b/src/pdch.cpp
@@ -788,12 +788,6 @@
                bts()->send_gsmtap_meas(PCU_GSMTAP_C_UL_DATA_EGPRS, true,
                                        trx_no(), ts_no, GSMTAP_CHANNEL_PDTCH, 
fn,
                                        data, data_len, meas);
-               if (!bts()->bts_data()->egprs_enabled) {
-                       LOGP(DRLCMACUL, LOGL_ERROR,
-                               "Got %s RLC block but EGPRS is not enabled\n",
-                               mcs_name(cs));
-                       return 0;
-               }
        } else {
                bts()->send_gsmtap_meas(PCU_GSMTAP_C_UL_DATA_GPRS, true,
                                        trx_no(), ts_no, GSMTAP_CHANNEL_PDTCH, 
fn,

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

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: Ie70ec8e4a2d688762d7d320d6ad58d5a0cc52ea1
Gerrit-Change-Number: 20929
Gerrit-PatchSet: 7
Gerrit-Owner: pespin <pes...@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanits...@sysmocom.de>
Gerrit-Reviewer: laforge <lafo...@osmocom.org>
Gerrit-Reviewer: lynxis lazus <lyn...@fe80.eu>
Gerrit-MessageType: merged

Reply via email to