From 730fc73bd2d44418fbb81a9cb5d3fdc3a7ec2914 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Sat, 24 Apr 2021 15:07:06 +0200 Subject: comment: tweak pchan_subslots() description Change-Id: I4d3ca6efc7b4fadd6711ae80502027cec1b7b84e --- src/osmo-bsc/gsm_data.c | 4 ++-- 1 file 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)) -- cgit v1.2.3