lists.osmocom.org
Sign In Sign Up
Manage this list Sign In Sign Up

Keyboard Shortcuts

Thread View

  • j: Next unread message
  • k: Previous unread message
  • j a: Jump to all threads
  • j l: Jump to MailingList overview

gerrit-log

Thread Start a new thread
Download
Threads by month
  • ----- 2026 -----
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2025 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2024 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2023 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2022 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
gerrit-log@lists.osmocom.org

July 2023

  • 1 participants
  • 3051 discussions
[M] Change in osmo-ttcn3-hacks[master]: BTS_Test_ASCI: Add Listener detection test
by fixeria 19 Jul '23

19 Jul '23
Attention is currently required from: jolly. fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/33820 ) Change subject: BTS_Test_ASCI: Add Listener detection test ...................................................................... Patch Set 4: Code-Review+1 (2 comments) File bts/BTS_Tests_ASCI.ttcn: https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/33820/comment/a3dab29e_fb8c… PS4, Line 368: log2str cosmetic: `log2str` is redundant here https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/33820/comment/76095a52_619d… PS4, Line 389: log2str cosmetic: `log2str` is redundant here -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/33820 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: I544f492a32751d17f998a2143081c3763ba1dd29 Gerrit-Change-Number: 33820 Gerrit-PatchSet: 4 Gerrit-Owner: jolly <andreas(a)eversberg.eu> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Attention: jolly <andreas(a)eversberg.eu> Gerrit-Comment-Date: Wed, 19 Jul 2023 11:10:26 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: Yes Gerrit-MessageType: comment
1 0
0 0
[M] Change in osmo-ttcn3-hacks[master]: BTS_Test_ASCI: Add Talker establishment/release test
by fixeria 19 Jul '23

19 Jul '23
Attention is currently required from: jolly. fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/33819 ) Change subject: BTS_Test_ASCI: Add Talker establishment/release test ...................................................................... Patch Set 4: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/33819 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: Ic86bc34890c7d1e6e0b255c3d40eda3dfaa59285 Gerrit-Change-Number: 33819 Gerrit-PatchSet: 4 Gerrit-Owner: jolly <andreas(a)eversberg.eu> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Attention: jolly <andreas(a)eversberg.eu> Gerrit-Comment-Date: Wed, 19 Jul 2023 11:07:25 +0000 Gerrit-HasComments: No Gerrit-Has-Labels: Yes Gerrit-MessageType: comment
1 0
0 0
[M] Change in osmo-ttcn3-hacks[master]: BTS_Test_ASCI: Add Talker detect and link fail test
by fixeria 19 Jul '23

19 Jul '23
Attention is currently required from: jolly. fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/33818 ) Change subject: BTS_Test_ASCI: Add Talker detect and link fail test ...................................................................... Patch Set 4: Code-Review+1 (1 comment) File bts/BTS_Tests_ASCI.ttcn: https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/33818/comment/475510f9_0149… PS4, Line 238: log2str No need to use `log2str` here, `setverdict` does support argument concatenation: ``` setverdict(fail, "RSL_CHAN_RQD was not expected: ", rm); ``` -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/33818 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: I3b292f6a5f47298195bd942a5ca73d9d63f921b5 Gerrit-Change-Number: 33818 Gerrit-PatchSet: 4 Gerrit-Owner: jolly <andreas(a)eversberg.eu> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Attention: jolly <andreas(a)eversberg.eu> Gerrit-Comment-Date: Wed, 19 Jul 2023 11:03:53 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: Yes Gerrit-MessageType: comment
1 0
0 0
[M] Change in osmo-ttcn3-hacks[master]: BTS_Test_ASCI: Add UPLINK FREE / UPLINK BUSY test
by fixeria 19 Jul '23

19 Jul '23
Attention is currently required from: jolly. fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/33817 ) Change subject: BTS_Test_ASCI: Add UPLINK FREE / UPLINK BUSY test ...................................................................... Patch Set 4: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/33817 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: I2f70adb4a6f71eb8972feccf9dda0f77e7a942b9 Gerrit-Change-Number: 33817 Gerrit-PatchSet: 4 Gerrit-Owner: jolly <andreas(a)eversberg.eu> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Attention: jolly <andreas(a)eversberg.eu> Gerrit-Comment-Date: Wed, 19 Jul 2023 10:54:06 +0000 Gerrit-HasComments: No Gerrit-Has-Labels: Yes Gerrit-MessageType: comment
1 0
0 0
[M] Change in osmo-ttcn3-hacks[master]: BTS_Test_ASCI: Add first ASCI test to check NCH support
by fixeria 19 Jul '23

19 Jul '23
Attention is currently required from: jolly, laforge. fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/33816 ) Change subject: BTS_Test_ASCI: Add first ASCI test to check NCH support ...................................................................... Patch Set 4: (2 comments) Patchset: PS4: Since you're adding a new testcase module, please update `bts/BTS_Tests.cfg`: add `BTS_Tests_ASCI.control` to the `EXECUTE` section. Otherwise the new testcases will not be executed automatically. File bts/BTS_Tests_ASCI.ttcn: https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/33816/comment/ab19a7ef_31b7… PS4, Line 109: /* Flush pending messages and be sure that the sending of notifications has stopped. */ Alternatively, you could do it this way: ``` f_wait(1.0); L1CTL.clear; ``` -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/33816 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: I3727c471663b731117a264f60d2f1ba5fd16928e Gerrit-Change-Number: 33816 Gerrit-PatchSet: 4 Gerrit-Owner: jolly <andreas(a)eversberg.eu> Gerrit-Reviewer: Jenkins Builder Gerrit-CC: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-CC: laforge <laforge(a)osmocom.org> Gerrit-Attention: jolly <andreas(a)eversberg.eu> Gerrit-Attention: laforge <laforge(a)osmocom.org> Gerrit-Comment-Date: Wed, 19 Jul 2023 10:50:08 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Gerrit-MessageType: comment
1 0
0 0
[S] Change in osmo-bsc[master]: lchan_select: fix lchan selection for GSM48_CMODE_DATA_{14k5,12k0}
by fixeria 19 Jul '23

19 Jul '23
fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bsc/+/33830 ) Change subject: lchan_select: fix lchan selection for GSM48_CMODE_DATA_{14k5,12k0} ...................................................................... lchan_select: fix lchan selection for GSM48_CMODE_DATA_{14k5,12k0} Change-Id: I271ebf7e64e3d0861586e9bc63bec113cb5fb410 Fixes: d5eb0f1b5 "lchan_select: chan_mode_to_chan_type: support CSD" Related: OS#4393 --- M src/osmo-bsc/lchan_select.c 1 file changed, 14 insertions(+), 3 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/30/33830/1 diff --git a/src/osmo-bsc/lchan_select.c b/src/osmo-bsc/lchan_select.c index 1e12d96..ad5c984 100644 --- a/src/osmo-bsc/lchan_select.c +++ b/src/osmo-bsc/lchan_select.c @@ -178,14 +178,14 @@ return GSM_LCHAN_NONE; } case GSM48_CMODE_SPEECH_EFR: - /* EFR works over FR channels only */ + case GSM48_CMODE_DATA_14k5: + case GSM48_CMODE_DATA_12k0: + /* these rates work over full-rate channels only */ if (chan_rate != CH_RATE_FULL) return GSM_LCHAN_NONE; /* fall through */ case GSM48_CMODE_SPEECH_V1: case GSM48_CMODE_SPEECH_AMR: - case GSM48_CMODE_DATA_14k5: - case GSM48_CMODE_DATA_12k0: case GSM48_CMODE_DATA_6k0: case GSM48_CMODE_DATA_3k6: switch (chan_rate) { -- To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/33830 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-bsc Gerrit-Branch: master Gerrit-Change-Id: I271ebf7e64e3d0861586e9bc63bec113cb5fb410 Gerrit-Change-Number: 33830 Gerrit-PatchSet: 1 Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-MessageType: newchange
1 0
0 0
[M] Change in osmo-bts[master]: pcu_sock: forward downlink IMMEDAITE ASSIGNMENT to AGCH
by dexter 19 Jul '23

19 Jul '23
Attention is currently required from: pespin. Hello pespin, I'd like you to reexamine a change. Please visit https://gerrit.osmocom.org/c/osmo-bts/+/33829 to look at the new patch set (#2). Change subject: pcu_sock: forward downlink IMMEDAITE ASSIGNMENT to AGCH ...................................................................... pcu_sock: forward downlink IMMEDAITE ASSIGNMENT to AGCH When the SAPI PCU_IF_SAPI_PCH_DT is used, messages should include an IMSI. However, there may be situations in the PCU where no IMSI is available when sending an IMMEDIATE ASSIGNMENT through the PCH. In those cases we cannot calculate the paging group. Even though it would work to use the paging group 0, it is more appropriate to send the IMMEDIATE ASSIGNMENT through the AGCH then. Related: OS#6097 Change-Id: Iaa3e5cdcf86578821e149b3e23482a0bcee19f7b --- M include/osmo-bts/bts.h M src/common/bts.c M src/common/pcu_sock.c 3 files changed, 61 insertions(+), 4 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/29/33829/2 -- To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/33829 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-bts Gerrit-Branch: master Gerrit-Change-Id: Iaa3e5cdcf86578821e149b3e23482a0bcee19f7b Gerrit-Change-Number: 33829 Gerrit-PatchSet: 2 Gerrit-Owner: dexter <pmaier(a)sysmocom.de> Gerrit-Reviewer: pespin <pespin(a)sysmocom.de> Gerrit-CC: Jenkins Builder Gerrit-Attention: pespin <pespin(a)sysmocom.de> Gerrit-MessageType: newpatchset
1 0
0 0
[M] Change in osmo-bts[master]: pcu_sock: forward downlink IMMEDAITE ASSIGNMENT to AGCH
by Jenkins Builder 19 Jul '23

19 Jul '23
Jenkins Builder has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-bts/+/33829 ) Change subject: pcu_sock: forward downlink IMMEDAITE ASSIGNMENT to AGCH ...................................................................... Patch Set 1: (1 comment) File src/common/pcu_sock.c: Robot Comment from checkpatch (run ID jenkins-gerrit-lint-9787): https://gerrit.osmocom.org/c/osmo-bts/+/33829/comment/bc6304af_038ea41c PS1, Line 704: * the downlink IMMEDAITE ASSIGNMNET has to be confirmed and there is currently no way to 'IMMEDAITE' may be misspelled - perhaps 'IMMEDIATE'? -- To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/33829 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-bts Gerrit-Branch: master Gerrit-Change-Id: Iaa3e5cdcf86578821e149b3e23482a0bcee19f7b Gerrit-Change-Number: 33829 Gerrit-PatchSet: 1 Gerrit-Owner: dexter <pmaier(a)sysmocom.de> Gerrit-CC: Jenkins Builder Gerrit-Comment-Date: Wed, 19 Jul 2023 10:14:44 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Gerrit-MessageType: comment
1 0
0 0
[M] Change in osmo-bts[master]: pcu_sock: forward downlink IMMEDAITE ASSIGNMENT to AGCH
by dexter 19 Jul '23

19 Jul '23
dexter has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bts/+/33829 ) Change subject: pcu_sock: forward downlink IMMEDAITE ASSIGNMENT to AGCH ...................................................................... pcu_sock: forward downlink IMMEDAITE ASSIGNMENT to AGCH When the SAPI PCU_IF_SAPI_PCH_DT is used, messages should include an IMSI. However, there may be situations in the PCU where no IMSI is available when sending an IMMEDIATE ASSIGNMENT through the PCH. In those cases we cannot calculate the paging group. Even though it would work to use the paging group 0, it is more appropriate to send the IMMEDIATE ASSIGNMENT through the AGCH then. Related: OS#6097 Change-Id: Iaa3e5cdcf86578821e149b3e23482a0bcee19f7b --- M include/osmo-bts/bts.h M src/common/bts.c M src/common/pcu_sock.c 3 files changed, 61 insertions(+), 4 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/29/33829/1 diff --git a/include/osmo-bts/bts.h b/include/osmo-bts/bts.h index a17278e..ac3c58b 100644 --- a/include/osmo-bts/bts.h +++ b/include/osmo-bts/bts.h @@ -430,4 +430,7 @@ int bts_set_c0_pwr_red(struct gsm_bts *bts, const uint8_t red); +#define BTS_MSGB_CB_GET_TLLI(__msgb) ((__msgb)->cb[0]) +#define BTS_MSGB_CB_PUT_TLLI(__msgb, tlli) __msgb->cb[0] = tlli + #endif /* _BTS_H */ diff --git a/src/common/bts.c b/src/common/bts.c index 3141eef..9ada91f 100644 --- a/src/common/bts.c +++ b/src/common/bts.c @@ -56,6 +56,7 @@ #include <osmo-bts/nm_common_fsm.h> #include <osmo-bts/power_control.h> #include <osmo-bts/osmux.h> +#include <osmo-bts/pcu_if.h> #define MIN_QUAL_RACH 50 /* minimum link quality (in centiBels) for Access Bursts */ #define MIN_QUAL_NORM -5 /* minimum link quality (in centiBels) for Normal Bursts */ @@ -750,13 +751,18 @@ /* Copy AGCH message */ memcpy(out_buf, msgb_l3(msg), msgb_l3len(msg)); rc = msgb_l3len(msg); + + /* In case a confirmation is ordered (a valid TLLI is attached to this + * message buffer), send confirmation back to PCU. */ + if (BTS_MSGB_CB_GET_TLLI(msg) != GSM_RESERVED_TMSI) + pcu_tx_pch_data_cnf(gt->fn, BTS_MSGB_CB_GET_TLLI(msg)); + msgb_free(msg); if (is_ag_res) bts->agch_queue.agch_msgs++; else bts->agch_queue.pch_msgs++; - return rc; } diff --git a/src/common/pcu_sock.c b/src/common/pcu_sock.c index 9e34fe8..6bbaa47 100644 --- a/src/common/pcu_sock.c +++ b/src/common/pcu_sock.c @@ -34,6 +34,7 @@ #include <osmocom/core/write_queue.h> #include <osmocom/gsm/gsm23003.h> #include <osmocom/gsm/abis_nm.h> +#include <osmocom/gsm/gsm48.h> #include <osmo-bts/logging.h> #include <osmo-bts/gsm_data.h> #include <osmo-bts/pcu_if.h> @@ -688,9 +689,38 @@ gsm_pcu_if_pch_dt = (struct gsm_pcu_if_pch_dt *)data_req->data; gsm48_imm_ass = (struct gsm48_imm_ass *)gsm_pcu_if_pch_dt->data; - confirm = (gsm48_imm_ass->msg_type == GSM48_MT_RR_IMM_ASS); - rc = paging_add_macblock(bts->paging_state, gsm_pcu_if_pch_dt->tlli, - gsm_pcu_if_pch_dt->imsi, confirm, gsm_pcu_if_pch_dt->data); + + if (strlen(gsm_pcu_if_pch_dt->imsi) == 0 && gsm48_imm_ass->msg_type == GSM48_MT_RR_IMM_ASS) { + /* This is a backup path in case no IMSI is included in struct gsm_pcu_if_pch_dt and the MAC + * block contains an IMMEDIATE ASSIGNMENT message. In this case we may forward the MAC block + * to the AGCH. The MS may still be able to receive the MAC block when it is listening on all + * CCCH blocks in non-DRX mode. Non-DRX mode is usually active in the GMM ATTACH REQUEST phase. + * See also: 3gpp TS 44.060, section 5.5.1.5 and 3gpp TS 45.002, section 6.5.3, 6.5.6 + * + * FIXME: It should be noted that the imsi struct member in struct gsm_pcu_if_pch_dt is not an + * optional parameter and leaving it unpopulated is a violation of the protocol. This backup + * path exists as an intermediate solution since it is not possible to send downlink IMMEDIATE + * ASSIGNMENT messages directly through PCU_IF_SAPI_AGCH yet. The reason for this is that + * the downlink IMMEDAITE ASSIGNMNET has to be confirmed and there is currently no way to + * attach the TLLI in messages for PCU_IF_SAPI_AGCH. See also: OS#6097 */ + LOGP(DPCU, LOGL_NOTICE, "Rx DATA.req for PCH without IMSI, cannot calculate paging group, forwarding to AGCH\n"); + msg = msgb_alloc(data_req->len, "pcu_agch"); + if (!msg) { + rc = -ENOMEM; + break; + } + msg->l3h = msgb_put(msg, GSM_MACBLOCK_LEN); + memcpy(msg->l3h, gsm_pcu_if_pch_dt->data, GSM_MACBLOCK_LEN); + BTS_MSGB_CB_PUT_TLLI(msg, gsm_pcu_if_pch_dt->tlli); + if (bts_agch_enqueue(bts, msg) < 0) { + msgb_free(msg); + rc = -EIO; + } + } else { + confirm = (gsm48_imm_ass->msg_type == GSM48_MT_RR_IMM_ASS); + rc = paging_add_macblock(bts->paging_state, gsm_pcu_if_pch_dt->tlli, + gsm_pcu_if_pch_dt->imsi, confirm, gsm_pcu_if_pch_dt->data); + } break; } case PCU_IF_SAPI_AGCH: @@ -701,6 +731,7 @@ } msg->l3h = msgb_put(msg, data_req->len); memcpy(msg->l3h, data_req->data, data_req->len); + BTS_MSGB_CB_PUT_TLLI(msg, GSM_RESERVED_TMSI); if (bts_agch_enqueue(bts, msg) < 0) { msgb_free(msg); rc = -EIO; -- To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/33829 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-bts Gerrit-Branch: master Gerrit-Change-Id: Iaa3e5cdcf86578821e149b3e23482a0bcee19f7b Gerrit-Change-Number: 33829 Gerrit-PatchSet: 1 Gerrit-Owner: dexter <pmaier(a)sysmocom.de> Gerrit-MessageType: newchange
1 0
0 0
[S] Change in libosmocore[master]: ASCI: Add missing check for return value of gsm0808_enc_speech_codec_...
by fixeria 19 Jul '23

19 Jul '23
Attention is currently required from: jolly. fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmocore/+/33828 ) Change subject: ASCI: Add missing check for return value of gsm0808_enc_speech_codec_list2() ...................................................................... Patch Set 1: Code-Review+1 -- To view, visit https://gerrit.osmocom.org/c/libosmocore/+/33828 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Change-Id: I771b8ee8dfe1588d0af1c4957489f723447a7054 Gerrit-Change-Number: 33828 Gerrit-PatchSet: 1 Gerrit-Owner: jolly <andreas(a)eversberg.eu> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Attention: jolly <andreas(a)eversberg.eu> Gerrit-Comment-Date: Wed, 19 Jul 2023 09:56:41 +0000 Gerrit-HasComments: No Gerrit-Has-Labels: Yes Gerrit-MessageType: comment
1 0
0 0
  • ← Newer
  • 1
  • ...
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • ...
  • 306
  • Older →

HyperKitty Powered by HyperKitty version 1.3.12.