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/.
Harald Welte gerrit-no-reply at lists.osmocom.orgHarald Welte has submitted this change and it was merged. Change subject: gsm_08_58.h: introduce RSL_CHAN_NR_1 constant ...................................................................... gsm_08_58.h: introduce RSL_CHAN_NR_1 constant Using the RSL_CHAN_* constants, we sometimes need to add 1 to the chan bits to indicate e.g. the second TCH/H channel. RSL_CHAN_NR_1 marks this lowest channel bit that needs to be added. The name is analogous to RSL_CHAN_NR_MASK. Change-Id: Iea06432039d1cd23cc6b5acec308bb829b596d47 --- M include/osmocom/gsm/protocol/gsm_08_58.h 1 file changed, 1 insertion(+), 0 deletions(-) Approvals: Harald Welte: Looks good to me, approved Jenkins Builder: Verified diff --git a/include/osmocom/gsm/protocol/gsm_08_58.h b/include/osmocom/gsm/protocol/gsm_08_58.h index 56cf4dd..18bee82 100644 --- a/include/osmocom/gsm/protocol/gsm_08_58.h +++ b/include/osmocom/gsm/protocol/gsm_08_58.h @@ -297,6 +297,7 @@ /* Chapter 9.3.1 */ #define RSL_CHAN_NR_MASK 0xf8 +#define RSL_CHAN_NR_1 0x08 /*< bit to add for 2nd,... lchan */ #define RSL_CHAN_Bm_ACCHs 0x08 #define RSL_CHAN_Lm_ACCHs 0x10 /* .. 0x18 */ #define RSL_CHAN_SDCCH4_ACCH 0x20 /* .. 0x38 */ -- To view, visit https://gerrit.osmocom.org/559 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: Iea06432039d1cd23cc6b5acec308bb829b596d47 Gerrit-PatchSet: 1 Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de> Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org> Gerrit-Reviewer: Jenkins Builder