Change in osmo-bsc[master]: bsc: timeslot_fsm: Fix ts_is_lchan_waiting_for_pchan

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Tue Dec 4 17:19:38 UTC 2018


Neels Hofmeyr has posted comments on this change. ( https://gerrit.osmocom.org/11954 )

Change subject: bsc: timeslot_fsm: Fix ts_is_lchan_waiting_for_pchan
......................................................................


Patch Set 7:

(2 comments)

I still think the one part fixes how it works, and the other just clarifies comments, without changing the meaning of the comments. To me clearly separate changes...

https://gerrit.osmocom.org/#/c/11954/6/src/osmo-bsc/timeslot_fsm.c
File src/osmo-bsc/timeslot_fsm.c:

https://gerrit.osmocom.org/#/c/11954/6/src/osmo-bsc/timeslot_fsm.c@890
PS6, Line 890: 		/* If we were switching to PDCH, there's no PDCH lchan managed
> That's exactly what I'm saying here, for people reading this code which may have not gone through al […]
the way I read it, it implies that "there is a PDCH lchan, but it is not managed here".

Also when doing PDCH_ACT, we simply and plainly are switching to PDCH, there isn't even an lchan involved. We're switching *because* all lchans are gone. And always to PDCH, as the code aptly shows. Nothing to do with "manual" or "PDCH lchans" :P


https://gerrit.osmocom.org/#/c/11954/6/src/osmo-bsc/timeslot_fsm.c@891
PS6, Line 891: 		 * in BSC, So we need to set it manually. */
> yes, here, in BSC. […]
can we rephrase it so it still  helps future readers while it doesn't make me twitch? 

  When switching to PDCH, there are no lchans and we are telling the PCU to take over the timeslot.

?



-- 
To view, visit https://gerrit.osmocom.org/11954
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ib03e5a91438a5b74a04e69f81fab565842b02b66
Gerrit-Change-Number: 11954
Gerrit-PatchSet: 7
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Assignee: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-CC: Harald Welte <laforge at gnumonks.org>
Gerrit-CC: Vadim Yanitskiy <axilirator at gmail.com>
Gerrit-Comment-Date: Tue, 04 Dec 2018 17:19:38 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: No
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181204/3f5e018c/attachment.htm>


More information about the gerrit-log mailing list