Attention is currently required from: fixeria, osmith, pespin.
5 comments:
File include/osmocom/gsm/rlp.h:
maybe add a line description here pointing to 3GPP TS 24.022.
Done
Patch Set #4, Line 24: /*! \defgroup rlp GSM RLP (Radio Link Protocol) as used in CSD
or add reference to 3GPP TS 24.022 here.
Done
File src/gsm/rlp.c:
Patch Set #4, Line 85: //out->fcs = (data[240/8-3] << 16) | (data[240/8-2]) << 8 | (data[240/8-1] << 0);
this line can be dropped?
Done
Patch Set #4, Line 89: if (n_s == 0x3f) {
switch (n_s)
Done
Patch Set #4, Line 93: memcpy(out->info, data+2, 240/8 - 5);
This 240/8 appears a lot of times, it may be worth describing it in a define.
I actually find it easier to understand the way it is. Anyone working on RLP will know the 240 / 576 byte frame size.
#define 240BITS_AS_BYTES (240/8) doesn't really make the code more readable, IMHO.
To view, visit change 35123. To unsubscribe, or for help writing mail filters, visit settings.