Attention is currently required from: laforge, pespin, daniel.
fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/erlang/osmo_dia2gsup/+/27896 )
Change subject: server_cb: Fix issue with Erlang/OTP 24
......................................................................
Patch Set 3: Code-Review+2
(1 comment)
File src/server_cb.erl:
https://gerrit.osmocom.org/c/erlang/osmo_dia2gsup/+/27896/comment/8456bdaa_…
PS3, Line 84: compute_kasme
Would be nice to have some unit test coverage for this function, but LGTM!
--
To view, visit https://gerrit.osmocom.org/c/erlang/osmo_dia2gsup/+/27896
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: erlang/osmo_dia2gsup
Gerrit-Branch: master
Gerrit-Change-Id: I7d916eb1f1435b3ac3fc362bb2f4daa7bbb8bb1a
Gerrit-Change-Number: 27896
Gerrit-PatchSet: 3
Gerrit-Owner: daniel <dwillmann(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: daniel <dwillmann(a)sysmocom.de>
Gerrit-Comment-Date: Sat, 23 Apr 2022 13:02:09 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: pespin, daniel.
laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/27879 )
Change subject: rsl_rx_ccch_load: add explicit cast -1 to unsigned
......................................................................
Patch Set 2: Code-Review+1
(1 comment)
Patchset:
PS2:
> Why not use UINT16_MAX instead?
was suggested by fixeria in the first comment, see above.
I would go for UINT16_MAX or even the more readable 0xffff
--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/27879
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I02ad80e5d10f1a47cdf712f7f7c576a2e20fe607
Gerrit-Change-Number: 27879
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <dwillmann(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-CC: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: daniel <dwillmann(a)sysmocom.de>
Gerrit-Comment-Date: Sat, 23 Apr 2022 12:57:47 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: daniel <dwillmann(a)sysmocom.de>
Gerrit-MessageType: comment
Attention is currently required from: pespin.
laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/27885 )
Change subject: paging: Submit up to 20 paging requests in a single work iteration
......................................................................
Patch Set 3:
(1 comment)
Patchset:
PS3:
aside from fixeria's comments: I'd appreciate some kind of illustration why 20 was chosen. If there's some computation/rationale behind it, mightbe useful to have that explained in the code.
--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/27885
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I609fa67834b426456f48f6fb2acb601c5905f178
Gerrit-Change-Number: 27885
Gerrit-PatchSet: 3
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-CC: laforge <laforge(a)osmocom.org>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Sat, 23 Apr 2022 12:56:25 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: laforge, pespin, fixeria.
laforge has uploaded a new patch set (#3) to the change originally created by daniel. ( https://gerrit.osmocom.org/c/erlang/osmo_dia2gsup/+/27896 )
Change subject: server_cb: Fix issue with Erlang/OTP 24
......................................................................
server_cb: Fix issue with Erlang/OTP 24
Erlang/OTP 24 dropped crypto:hmac, so use crpyto:mac(hmac, ...) instead.
See https://github.com/riverrun/one_time_pass_ecto/issues/9
Change-Id: I7d916eb1f1435b3ac3fc362bb2f4daa7bbb8bb1a
---
M src/server_cb.erl
1 file changed, 7 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/erlang/osmo_dia2gsup refs/changes/96/27896/3
--
To view, visit https://gerrit.osmocom.org/c/erlang/osmo_dia2gsup/+/27896
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: erlang/osmo_dia2gsup
Gerrit-Branch: master
Gerrit-Change-Id: I7d916eb1f1435b3ac3fc362bb2f4daa7bbb8bb1a
Gerrit-Change-Number: 27896
Gerrit-PatchSet: 3
Gerrit-Owner: daniel <dwillmann(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: newpatchset
Attention is currently required from: pespin.
fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/27885 )
Change subject: paging: Submit up to 20 paging requests in a single work iteration
......................................................................
Patch Set 3:
(3 comments)
File src/osmo-bsc/paging.c:
https://gerrit.osmocom.org/c/osmo-bsc/+/27885/comment/e1e95e5a_b764d33f
PS3, Line 210: struct gsm_paging_request, entry);
Alignment needs to be fixed.
https://gerrit.osmocom.org/c/osmo-bsc/+/27885/comment/09ba706d_27343fe7
PS3, Line 243: } while (request != initial_request && num_paged < MAX_PAGE_REQ_PER_ITER);
I am trying to understand how this is supposed to work if you have less than 20 penging requests awaiting in the queue. If we have just one request, then 'request == initial_request' is true, and we break the loop - so far so good. But if we have two? I may be missing something, but AFAIU the loop will schedule 20 paging messages for just 2 requests, 10 times each. Is this the case?
https://gerrit.osmocom.org/c/osmo-bsc/+/27885/comment/4e860eea_2f2b9bd9
PS3, Line 246: sched_next_paging
This label name is confusing: when I saw the 'goto' above I thought you're somehow scheduling/sending paging in the absence of the OML link. The old name was cleaner IMO, so I would keep it. Or maybe 'sched_next_iter'?
--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/27885
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I609fa67834b426456f48f6fb2acb601c5905f178
Gerrit-Change-Number: 27885
Gerrit-PatchSet: 3
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Sat, 23 Apr 2022 11:49:48 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: laforge, pespin, fixeria.
daniel has posted comments on this change. ( https://gerrit.osmocom.org/c/erlang/osmo_dia2gsup/+/27896 )
Change subject: server_cb: Fix issue with Erlang/OTP 24
......................................................................
Patch Set 2:
(1 comment)
This change is ready for review.
Patchset:
PS1:
> What about supporting both? […]
The file you linked seems to be from elixir (.ex), not pure erlang. I couldn't find an analogous example for erlang (function_exported mentioned in https://github.com/elixir-lang/elixir/issues/11524) also seems to exist only in elixir) and I don't know the language that well..
--
To view, visit https://gerrit.osmocom.org/c/erlang/osmo_dia2gsup/+/27896
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: erlang/osmo_dia2gsup
Gerrit-Branch: master
Gerrit-Change-Id: I7d916eb1f1435b3ac3fc362bb2f4daa7bbb8bb1a
Gerrit-Change-Number: 27896
Gerrit-PatchSet: 2
Gerrit-Owner: daniel <dwillmann(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Comment-Date: Sat, 23 Apr 2022 03:23:33 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: comment