dexter has abandoned this change. ( https://gerrit.osmocom.org/c/osmo-pcu/+/31174 )
Change subject: pcu_l1_if: receive E1 connection parameters
......................................................................
Abandoned
This has been merged into the follow up patch as it adds dependencies but does not add any functionality that is useful without the follow up patch.
--
To view, visit https://gerrit.osmocom.org/c/osmo-pcu/+/31174
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: I1f926b023205a9ecf78d8a8586d6ac21cc73eb0a
Gerrit-Change-Number: 31174
Gerrit-PatchSet: 9
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: abandon
Attention is currently required from: laforge, pespin, fixeria.
dexter has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-pcu/+/31341 )
Change subject: pcu_l1_if_phy: flexible phy access
......................................................................
Patch Set 9:
(1 comment)
Patchset:
PS9:
> well, in the classic (12. […]
Technically the BSC can know a lot about the PCU implementation as it knows the BTS type.
In some earlier discussion we opted for not having compile-time options as it would make the packaging more difficult. I think that from the technical point of view and the current demand compiletime options should be fine as well. I would tend to opt for using compile time options as it would keep the code simpler. We can add more flexibility when we really need them (e.g. support multiple BTSs, BTSs from different vendors at the same time etc.)
As far as this patch is concerned all that is missing right now is a pcu_sock primitive to tell the PCU which PHY should be used.
--
To view, visit https://gerrit.osmocom.org/c/osmo-pcu/+/31341
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: I8692d1bd5d137a17cf596ee2914722f419c9978d
Gerrit-Change-Number: 31341
Gerrit-PatchSet: 9
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-CC: laforge <laforge(a)osmocom.org>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Comment-Date: Fri, 24 Feb 2023 15:37:09 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: laforge <laforge(a)osmocom.org>
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: comment
jolly has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-abis/+/31501 )
Change subject: e1d: Remove useless call of handle_ts_trau_write()
......................................................................
e1d: Remove useless call of handle_ts_trau_write()
handle_ts_trau_write() is called inside handle_ts_trau_read(). There is
no need to call it when OSMO_FD_WRITE flag is set, because it is never
enabled.
Change-Id: Iccddcdb0975e8a043cc395c8908a157f5b376752
---
M src/input/e1d.c
1 file changed, 13 insertions(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-abis refs/changes/01/31501/1
diff --git a/src/input/e1d.c b/src/input/e1d.c
index d2c6339..8e8d66f 100644
--- a/src/input/e1d.c
+++ b/src/input/e1d.c
@@ -276,8 +276,6 @@
case E1INP_TS_TYPE_TRAU:
if (what & OSMO_FD_READ)
ret = handle_ts_trau_read(bfd);
- if (what & OSMO_FD_WRITE)
- ret = handle_ts_trau_write(bfd);
break;
case E1INP_TS_TYPE_RAW:
if (what & OSMO_FD_READ)
--
To view, visit https://gerrit.osmocom.org/c/libosmo-abis/+/31501
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Change-Id: Iccddcdb0975e8a043cc395c8908a157f5b376752
Gerrit-Change-Number: 31501
Gerrit-PatchSet: 1
Gerrit-Owner: jolly <andreas(a)eversberg.eu>
Gerrit-MessageType: newchange
jolly has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-abis/+/31500 )
Change subject: Send raw data with e1d as it arrives from application
......................................................................
Send raw data with e1d as it arrives from application
The application is responsible to send raw data in sync with the raw
data it receives. It also cares about sending data in advance, to
prevent underruns, if required. The length of data can vary.
(Now it is same procedure as with mISDN driver.)
OSMO_FD_WRITE flag must be disabled, if there is no message left
in the transmit queue.
Change-Id: I3e3ef623a02bffe75b168dc42514455b4df1007f
---
M src/input/e1d.c
1 file changed, 19 insertions(+), 11 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-abis refs/changes/00/31500/1
diff --git a/src/input/e1d.c b/src/input/e1d.c
index 4ab7c36..d2c6339 100644
--- a/src/input/e1d.c
+++ b/src/input/e1d.c
@@ -194,15 +194,9 @@
/* get the next msg for this timeslot */
msg = e1inp_tx_ts(e1i_ts, NULL);
- if (!msg)
+ if (!msg) {
+ osmo_fd_write_disable(bfd);
return 0;
-
- if (msg->len != D_BCHAN_TX_GRAN) {
- /* This might lead to a transmit underrun, as we call tx
- * from the rx path, as there's no select/poll on dahdi
- * */
- LOGPITS(e1i_ts, DLINP, LOGL_NOTICE, "unexpected msg->len = %u, "
- "expected %u\n", msg->len, D_BCHAN_TX_GRAN);
}
LOGPITS(e1i_ts, DLMIB, LOGL_DEBUG, "RAW CHAN TX: %s\n", osmo_hexdump(msg->data, msg->len));
@@ -244,9 +238,6 @@
msg->l2h = msg->data;
LOGPITS(e1i_ts, DLMIB, LOGL_DEBUG, "RAW CHAN RX: %s\n", msgb_hexdump_l2(msg));
ret = e1inp_rx_ts(e1i_ts, msg, 0, 0);
- /* physical layer indicates that data has been sent,
- * we thus can send some more data */
- ret = handle_ts_raw_write(bfd);
return ret;
}
--
To view, visit https://gerrit.osmocom.org/c/libosmo-abis/+/31500
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Change-Id: I3e3ef623a02bffe75b168dc42514455b4df1007f
Gerrit-Change-Number: 31500
Gerrit-PatchSet: 1
Gerrit-Owner: jolly <andreas(a)eversberg.eu>
Gerrit-MessageType: newchange
Jenkins Builder has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/31497 )
Change subject: pcu_sock: activate/deactivate PDCH on pcu reconnect
......................................................................
Patch Set 1:
(3 comments)
File src/osmo-bsc/timeslot_fsm.c:
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-3985):
https://gerrit.osmocom.org/c/osmo-bsc/+/31497/comment/5ef68a69_e37315b2
PS1, Line 344: if(is_ericsson_bts(bts) && bts->pcu_state->conn_bfd.fd < 0) {
space required before the open parenthesis '('
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-3985):
https://gerrit.osmocom.org/c/osmo-bsc/+/31497/comment/893ec656_38b8f0df
PS1, Line 543: case TS_EV_PDCH_DEACT:
code indent should use tabs where possible
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-3985):
https://gerrit.osmocom.org/c/osmo-bsc/+/31497/comment/a44bad9e_a447c9cf
PS1, Line 543: case TS_EV_PDCH_DEACT:
please, no spaces at the start of a line
--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/31497
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I9ea0c53a5e68a51c781ef43bae71f947cdb95678
Gerrit-Change-Number: 31497
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
Gerrit-CC: Jenkins Builder
Gerrit-Comment-Date: Fri, 24 Feb 2023 15:08:28 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
dexter has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bsc/+/31499 )
Change subject: pcu_sock: print OML alerts from PCU
......................................................................
pcu_sock: print OML alerts from PCU
The PCU is able to send OML alerts via the BTS to the BSC. When the PCU
operates in co-location to the BSC we just print the alerts in the log
directly
Change-Id: Id32553556356c2affe32e47ae1c3ae6a514efdce
Related: OS#5198
---
M src/osmo-bsc/pcu_sock.c
1 file changed, 17 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/99/31499/1
diff --git a/src/osmo-bsc/pcu_sock.c b/src/osmo-bsc/pcu_sock.c
index d1f2c48..38a2229 100644
--- a/src/osmo-bsc/pcu_sock.c
+++ b/src/osmo-bsc/pcu_sock.c
@@ -687,6 +687,9 @@
if (rc < 0)
return -EINVAL;
break;
+ case PCU_OML_ALERT:
+ LOGP(DPCU, LOGL_ERROR, "(%s) PCU external alarm: %s\n", gsm_bts_name(bts), txt->text);
+ break;
default:
LOGP(DPCU, LOGL_ERROR, "Unknown TXT_IND type %u received\n",
txt->type);
--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/31499
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: Id32553556356c2affe32e47ae1c3ae6a514efdce
Gerrit-Change-Number: 31499
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
Gerrit-MessageType: newchange
dexter has abandoned this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/30749 )
Change subject: WIP Ericsson GPRS support
......................................................................
Abandoned
This is no longer needed
--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/30749
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: If96b3f1e26a7206fcd2658b6faf6afe556cfbb14
Gerrit-Change-Number: 30749
Gerrit-PatchSet: 22
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-CC: laforge <laforge(a)osmocom.org>
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: abandon