Attention is currently required from: fixeria.
Patch set 2:Code-Review -1
6 comments:
Commit Message:
Patch Set #2, Line 30: ciph_mod_set = (lchan->encr.alg_id << 1) | 1;
well, in Cipher Mode Setting, it has to be (a5_n - 1) << 1
File include/osmocom/bsc/gsm_data.h:
Patch Set #2, Line 613: uint8_t alg_id;
alg_id is named after the Algorithm Identifier IE.
I'd like to rename this member to 'a5_n' or 'alg_a5_n', because
File src/osmo-bsc/abis_rsl.c:
Patch Set #2, Line 163: switch (*out++) {
nitpick (ok, it's correct, but IMHO the code becomes far less head scratchy when we don't ++ inline in conditionals. i'd have put a local variable there / maybe do the switch on the human readable a5_n)
Patch Set #2, Line 663: if (lchan->encr.alg_id > 0) {
(here is a place where i have to think twice, I thought it is incorrect at first; if the name were a5_n, it would have helped me here)
File src/osmo-bsc/gsm_04_08_rr.c:
"- 1" is missing now! 44.018 10.5.2.9
File src/osmo-bsc/gsm_08_08.c:
Patch Set #2, Line 88: chosen_encr
also rename this to chosen_a5_n?
To view, visit change 27509. To unsubscribe, or for help writing mail filters, visit settings.