aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2023-07-28 18:03:30 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2023-07-28 18:03:30 +0200
commit90e33bffd67aa220dd89122d657d81b9ba357f7e (patch)
tree320d423c35e57b23c2086d3d30d60a2e1230badf
parent6691f51990d27b4cd10a5bf227bcb6a0a7ab576b (diff)
cosmetic: Document foce_two_phase feature based on specs
-rw-r--r--src/bts.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/bts.cpp b/src/bts.cpp
index 177544af..fe480184 100644
--- a/src/bts.cpp
+++ b/src/bts.cpp
@@ -970,6 +970,12 @@ int bts_rcv_rach(struct gprs_rlcmac_bts *bts, const struct rach_ind_params *rip)
LOGP(DRLCMAC, LOGL_DEBUG, "MS requests single TS uplink transmission "
"(one phase packet access)\n");
if (bts->pcu->vty.force_two_phase) {
+ /* 3GPP TS 44.018 3.5.2.1.3.1: "If the establishment cause in the
+ * CHANNEL REQUEST message indicates a request for one phase packet access,
+ * the network may grant either a one phase packet access or a single block
+ * packet access for the mobile station. If a single block packet access is
+ * granted, it forces the mobile station to perform a two phase packet access."
+ */
LOGP(DRLCMAC, LOGL_DEBUG, "Forcing two phase access\n");
chan_req.single_block = true;
}