aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2021-04-24 15:07:06 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2021-04-28 16:32:19 +0200
commit730fc73bd2d44418fbb81a9cb5d3fdc3a7ec2914 (patch)
tree1b26a9dea37cd23e2f294061e6e57152b140e60a
parent4289327241cd7cfc9f5da6365be47354616b1b20 (diff)
comment: tweak pchan_subslots() description
-rw-r--r--src/osmo-bsc/gsm_data.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/osmo-bsc/gsm_data.c b/src/osmo-bsc/gsm_data.c
index 47aceb0be..2595ea966 100644
--- a/src/osmo-bsc/gsm_data.c
+++ b/src/osmo-bsc/gsm_data.c
@@ -565,8 +565,8 @@ static const uint8_t subslots_per_pchan[] = {
[GSM_PCHAN_TCH_F_PDCH] = 1,
};
-/*! According to ts->pchan and possibly ts->dyn_pchan, return the number of
- * logical channels available in the timeslot. */
+/*! Return the maximum number of logical channels that may be used in a timeslot of the given physical channel
+ * configuration. */
uint8_t pchan_subslots(enum gsm_phys_chan_config pchan)
{
if (pchan < 0 || pchan >= ARRAY_SIZE(subslots_per_pchan))