Pau Espin Pedrol has posted comments on this change. ( https://gerrit.osmocom.org/13484 )
Change subject: msc/gsm_data.h: fix and clarify GSM 03.40 TP-UD Length ...................................................................... Patch Set 1: (2 comments) https://gerrit.osmocom.org/#/c/13484/1/include/osmocom/msc/gsm_data.h File include/osmocom/msc/gsm_data.h: https://gerrit.osmocom.org/#/c/13484/1/include/osmocom/msc/gsm_data.h@242 PS1, Line 242: /* TODO: Move these defines to libosmogsm (gsm/protocol/gsm_03_40.h) */ Can you add "3GPP TS 03.40, section 9.2.3.16" or whatever reference you got these numbers from? https://gerrit.osmocom.org/#/c/13484/1/include/osmocom/msc/gsm_data.h@287 PS1, Line 287: uint8_t user_data[GSM340_UDL_OCT_MAX]; iiuc, we use 1 octet for each 7bit-digit, which means we still need more space than we should use GSM340_UDL_SPT_MAX instead of GSM340_UDL_OCT_MAX here. Or does it mean we always use the octet encoding? -- To view, visit https://gerrit.osmocom.org/13484 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-msc Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I2a49f9d24cd075234190b3b92999256bce01ca77 Gerrit-Change-Number: 13484 Gerrit-PatchSet: 1 Gerrit-Owner: Vadim Yanitskiy <[email protected]> Gerrit-Assignee: Neels Hofmeyr <[email protected]> Gerrit-Reviewer: Harald Welte <[email protected]> Gerrit-Reviewer: Jenkins Builder (1000002) Gerrit-CC: Neels Hofmeyr <[email protected]> Gerrit-CC: Pau Espin Pedrol <[email protected]> Gerrit-Comment-Date: Tue, 02 Apr 2019 10:01:25 +0000 Gerrit-HasComments: Yes Gerrit-HasLabels: No
