Dear Harald,
Just seen your branch regarding FSM:
http://cgit.osmocom.org/openbsc/log/?h=laforge/om2000-fsm
Do you think this is also doable for the Nokia Site BTS series?
Because if you think its doable, based on your work I a would like to try and implement this for Nokia support too, as even between different Site versions (InSite, Metro and UltraStie), there are some differences in the OML initialization (especially in the timing of it) which is now handled by hard coded values, instead of a proper state machine.
Regards,
Csaba
Hi osmo-bts-trx folks,
reviews on https://gerrit.osmocom.org/498 would be appreciated :)
Thanks!
~Neels
--
- Neels Hofmeyr <nhofmeyr(a)sysmocom.de> http://www.sysmocom.de/
=======================================================================
* sysmocom - systems for mobile communications GmbH
* Alt-Moabit 93
* 10559 Berlin, Germany
* Sitz / Registered office: Berlin, HRB 134158 B
* Geschäftsführer / Managing Directors: Harald Welte
Hello all, in order to try grgsm software, it asked for the libosmocore
library and i proceed to configura and install it. Configure process went
ok, but when trying to "make", it gets a error about unidentified symbols.
I have been searching on the web and got several hints that it could be
based on the 64bit version of gcc used. The error in question is this:
**********Output error begins here**********
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive
Making all in include
make[2]: Nothing to be done for `all'.
Making all in src
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-am
make[3]: Nothing to be done for `all-am'.
Making all in src/vty
make[2]: Nothing to be done for `all'.
Making all in src/codec
CCLD libosmocodec.la
Undefined symbols for architecture x86_64:
"_bitvec_get_bit_pos", referenced from:
_osmo_fr_check_sid in gsm610.o
"_bitvec_get_uint", referenced from:
_osmo_hr_check_sid in gsm620.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make[2]: *** [libosmocodec.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
*********End of output error************
I tried to also made a reconfigure -i but without success. Has anyone
experienced this error or have an idea about what could be happening?.
Thanks in advance!!!!
Hi 3G folks,
I would like to make our osmocom jenkins build openbsc with --enable-iu, which
still requires use of non-master branches in aper-prefix, libosmo-sccp and
libosmo-netif.
I will at first make the jenkins build use these branches to build 3G, but
since we'd like them to be merged to master anyway, let's try to push this
forward.
Here are the remaining tasks again, as from the openbsc@ mail on Feb 19, 2016:
http://lists.osmocom.org/pipermail/openbsc/2016-February/007906.html
( <20160219083519.GA4570@nataraja> )
First the good news for libosmo-sccp:
On Fri, Feb 19, 2016 at 09:35:19AM +0100, Harald Welte wrote:
> > libosmo-sccp: * laforge/wip
>
> My main problem with this patch set is naming. We are creating an 'SCCP
> User SAP' which should look the same no matter what the underlying
> transport protocol stacking is. [...]
This boils down to a mere rename of opaque structs osmo_sua_link and
osmo_sua_user, which I've started to submit.
https://gerrit.osmocom.org/477
> > asn1c: * aper-prefix
First of all, it looks like we imported from svn, but Lev Walkin later did
another migration to git, which we fetched as well. So our master is on our old
svn import, while the upstream master has different hashes in its history. Our
aper-prefix branch is based on the upstream history, not our "stale" master,
which made a rebase a bit easier.
Furthermore, on https://github.com/vlm/asn1c/commits/master there are scores of
new commits we don't have in our asn1c. our last commit from Lev Walkin is
from 2015-04-28, "?= was confusing some environments", 62913d8b8e1eb96d74315ff
I have thus:
* fetched upstream master from github's vlm/asn1c,
pushed as new branch vlm/master to our git.osmocom.org/asn1c
* rebased our aper-prefix branch to that master (with minor conflicts),
pushed as new branch aper-prefix-onto-upstream
We should probably:
* reset --hard our master to vlm/master
* reset --hard our aper-prefix to aper-prefix-onto-upstream (after testing)
Agreed?
Then follows:
On Fri, Feb 19, 2016 at 09:35:19AM +0100, Harald Welte wrote:
>
> If you look at the aper code I took from OpenAirInterface and re-based,
For the record:
https://gitlab.eurecom.fr/oai/openair-cn/tree/master/SRC/S1AP/MESSAGES/ASN1https://gitlab.eurecom.fr/oai/openair-cn/blob/master/SRC/S1AP/MESSAGES/ASN1…https://gitlab.eurecom.fr/oai/openair-cn/blob/master/SRC/S1AP/MESSAGES/ASN1…
> you will see that it does not look 100% complete and would
> probably not yet qualify for submitting it to the upstream asn1c
> project. The situation is not made better by my hackish way to
> implement the type prefixing on top of it by means of an environment
> variable.
>
> Specifically, it
> * contains commented-out code which might just have been a work-around
> of some buggy code, rather than fit for removal in general
> * contains TODO comments like "/* TODO: act upon NOTE in #18.7 for
> canonical PER */" which hints that it is not properly implementing
> parts of the PER specification
> * contrary to the rest of asn1c, it does not come with a comprehensive
> test suiet for the APER encoding and decoding routines of all types
>
> Any help in cleaning this code up (it could be done for the type
> prefixing independent of the APER support) would be much appreciated.
> The goal is to get this merged in asn1c, after all.
>
> It might also be worth to contact the OpenAirInterface guys about their
> thoughts on moving this code forward. I fear there might be none, as
> they are using an ancient version of asn1c to begin with. But they are
> a much larger project and might be convinced to put some resources on
> doing this properly?
I've written to the openair-cn-devel list.
https://lists.eurecom.fr/sympa/arc/openaircn-devel/2016-07/msg00001.html
> Unless we think something is ready for pushing to upstream asn1c, we
> should keep it out of our local master, too.
> > libosmo-netif: * sysmocom/sctp
>
> commit
d484b0593112222cef3f106da654df07c3d40919 (hash changed after rebases)
> basically just
> prints some messages to the log file in case there are association state
> changes like UP and LOST. This is clearly not the intended behavior.
>
> The application should be notified accordintly in such events,
> particularly in 'connection lost' events that can be communicated in the
> same way as they can for e.g. TCP sockets.
>
> Only after that is resolved, we can merge it to master.
This doesn't look like a lot of work, though I'm not familiar with how exactly
this should be done.
ret = sctp_recvmsg(conn->ofd.fd, msgb_data(msg), msgb_tailroom(msg),
NULL, NULL, &sinfo, &flags);
if (flags & MSG_NOTIFICATION) {
union sctp_notification *notif = (union sctp_notification *) msgb_data(msg);
LOGP(DLINP, LOGL_DEBUG, "NOTIFICATION %u flags=0x%x\n", notif->sn_header.sn_type,
switch (notif->sn_header.sn_type) {
case SCTP_ASSOC_CHANGE:
LOGP(DLINP, LOGL_DEBUG, "===> ASSOC CHANGE:");
switch (notif->sn_assoc_change.sac_state) {
case SCTP_COMM_UP:
LOGPC(DLINP, LOGL_DEBUG, " UP\n");
call accept_cb?
break;
case SCTP_COMM_LOST:
LOGPC(DLINP, LOGL_DEBUG, " LOST\n");
osmo_stream_srv_destroy() ?
break;
case SCTP_RESTART:
LOGPC(DLINP, LOGL_DEBUG, " RESTART\n");
break;
case SCTP_SHUTDOWN_COMP:
LOGPC(DLINP, LOGL_DEBUG, " SHUTDOWN COMP\n");
break;
case SCTP_CANT_STR_ASSOC:
LOGPC(DLINP, LOGL_DEBUG, " CANT STR ASSOC\n");
break;
}
break;
case SCTP_PEER_ADDR_CHANGE:
LOGP(DLINP, LOGL_DEBUG, "===> PEER ADDR CHANGE\n");
break;
case SCTP_SHUTDOWN_EVENT:
LOGP(DLINP, LOGL_DEBUG, "===> SHUTDOWN EVT\n");
/* Handle this like a regular disconnect */
osmo_stream_srv_destroy() ?
return 0;
break;
}
return -EAGAIN;
Thanks for any thoughts or even help :)
~Neels
--
- Neels Hofmeyr <nhofmeyr(a)sysmocom.de> http://www.sysmocom.de/
=======================================================================
* sysmocom - systems for mobile communications GmbH
* Alt-Moabit 93
* 10559 Berlin, Germany
* Sitz / Registered office: Berlin, HRB 134158 B
* Geschäftsführer / Managing Directors: Harald Welte
Hi Tom and List,
we're currently introducing some code that will make more use of
measurement related information associated with the PH-RACH.req and
PH-DATA.ind coming from the PHY up into L2.
The first part is to introduce a reasonable BER limit fo 17% for RACH
ghost elimination, but I have more plans for unifying the measurement
processing/generation accross all supported BTS models.
For osmo-bts-{sysmo,lc15,octphy} it is clear to me how to get the
related information on RSSI, BER and LinkQuality for each of the RACH
and DATA indications from the PHY.
However, how can I get the related information from osmo-bts-trx?
osmo-bts-trx seems to lack any BER reporting toward the common part,
which among other things is the reason why link/rate adaption in the PCU
can not work with it.
Could you sched some light on this?
--
- Harald Welte <laforge(a)gnumonks.org> http://laforge.gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."
(ETSI EN 300 175-7 Ch. A6)
> I am Tiger. Glad to connect with you.From osmo-bts commitment I see you are
> working on dynamic PDCH which I think is a breakthrough. Is it working now?
> It looks like only support PDCH and Full TCH switch,right?
Hi Tiger,
thanks for your comments and enquiry!
I am still working on TCH/F <-> PDCH switching for the osmo-bts-trx SDR
platform, but for ip.access nanobts, SysmoBTS and the litecell15, dynamic
TCH/F <-> PDCH switching is already functional.
TCH/F <-> PDCH could be called the ip.access compatibility mode, as it uses
ip.access vendor specific messages to activate and deactivate PDCH on a
TCH/F_PDCH timeslot.
There are plans to include TCH/H as well, using a different vendor specific
extension. Though development has not commenced yet, which will depend on
funding by interested parties.
See:
http://osmocom.org/issues/1565http://osmocom.org/issues/1757
BTW, Tiger, you have contacted my private email address. Instead, I'm replying
from my sysmocom address, Bcc to you and copying to our mailing list, which
would be the most appropriate place for questions on osmocom development.
~Neels
--
- Neels Hofmeyr <nhofmeyr(a)sysmocom.de> http://www.sysmocom.de/
=======================================================================
* sysmocom - systems for mobile communications GmbH
* Alt-Moabit 93
* 10559 Berlin, Germany
* Sitz / Registered office: Berlin, HRB 134158 B
* Geschäftsführer / Managing Directors: Harald Welte
Dear Tom,
I hope you don't mind me Cc'ing the list, as this question might come up
again.
On Fri, Jul 01, 2016 at 02:42:25AM -0700, Tom Tsou wrote:
> I appear to no longer have write access to the osmo-bts repository.
> "ERROR:gitosis.serve.main:Repository write access denied"
> Can I have write access restored?
As decided at the Osmocom Developer Conference in April 2016, we have
started to use gerrit for a more formalized tool for code review.
The advantages are plentiful, among other things submitted patches are
running through 'make distcheck' on several supported platforms before
even being eligible to merge.
Please see
https://osmocom.org/projects/cellular-infrastructure/wiki/Gerrit
for a short intro in how to use it. There are instructions both for
submitting patches against master, as well as for pushing to
user-private branches.
Regards,
Harald
--
- Harald Welte <laforge(a)gnumonks.org> http://laforge.gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."
(ETSI EN 300 175-7 Ch. A6)
Hi all
I am installing OpenBSC.I just following
http://openbsc.osmocom.org/trac/wiki/Building_OpenBSC
(I am just Building libosmocore, Building libosmo-abis, Building
libosmo-netif, Building OpenBSC and install library.)
But when I tried to run OpenBSC,I encounter with this error(problem).
user12@ubuntu:~$ cd '/home/user12/openbsc/openbsc/src/osmo-nitb'
user12@ubuntu:~/openbsc/openbsc/src/osmo-nitb$ sudo ./osmo-nitb
<0005> bsc_init.c:492 Failed to parse the config file: 'openbsc.cfg'
Or how do I run the software(OpenBSC)!
Or do I have to install something missing?
Note: My Linux is version ubuntu 12.04 .
Please help me.
thank you.