The OpenBSC(a)lists.osmocom.org mailing list has 3 request(s) waiting
for your consideration at:
https://lists.osmocom.org/mailman/admindb/openbsc
Please attend to this at your earliest convenience. This notice of
pending requests, if any, will be sent out daily.
Pending posts:
From: kheimerl(a)cs.berkeley.edu on Thu Jan 9 21:27:04 2014
Subject: OsmoBTS on RAD1
Cause: Message body is too big: 5402368 bytes with a limit of 400 KB
From: kaber(a)trash.net on Sun Jan 12 20:39:11 2014
Subject: Re: [RFC] [ADMIN] Making lists subscriber-only?
Cause: Too many recipients to the message
From: holger(a)freyther.de on Sun Jan 12 20:55:56 2014
Subject: Re: [RFC] [ADMIN] Making lists subscriber-only?
Cause: Too many recipients to the message
Dear Harald,
there is an open coverity issue in osmo-bts (CID 1040768) and it is about
mixing enum types.
enum abis_nm_chan_comb abis_nm_pchan4chcomb(uint8_t chcomb)
Hi,
the coverity tools points out that it might be possible to access
the si.buf atfer _MAX_SYSINFO_TYPE and before < 32. Looking at the
code I also notice that:
osmo_rsl2sitype takes an uint8_t but makes no range checking, same
goes for osmo_sitype2rsl.
I plan to apply the below patch for osmo-bts. This would resolve the
last open Coverity report for osmo-bts. It would be nice if we could
add range checking to osmo_rsl2sitype or check it in common/rsl.c of
osmo-bts.
diff --git a/src/common/sysinfo.c b/src/common/sysinfo.c
index 62d2af9..9e2d4bb 100644
--- a/src/common/sysinfo.c
+++ b/src/common/sysinfo.c
@@ -135,7 +135,7 @@ uint8_t *lchan_sacch_get(struct gsm_lchan *lchan, struct gsm_time *g_time)
{
uint32_t tmp;
- for (tmp = lchan->si.last + 1; tmp != lchan->si.last; tmp = (tmp + 1) % 32) {
+ for (tmp = lchan->si.last + 1; tmp != lchan->si.last; tmp = (tmp + 1) % _MAX_SYSINFO_TYPE) {
if (lchan->si.valid & (1 << tmp)) {
lchan->si.last = tmp;
return lchan->si.buf[tmp];
hi,
we managed to run a nokia flexi bts with openbsc. the bts type is
"nokia-site".
on channel request, the bts nacks the channel activation with cause 0x65
(protocol error, optional information element). by removing the Channel
Identification IE from the channel activation message, everything
worked, so we assume that this IE causes this error. we tried to modify it:
- no zero-length Mobile Allocation included in Channel Identification IE
- TLV instead of TV for Channel Description in Channel Identification IE
- Channel Description in Channel Identification IE with type 0x62
instead of 0x64
all of these modifications result in the same error. so we came to the
conclusion to remove the Channel Identification IE, since it is not
really required. attached is the preview patch.
does anyone have ABIS traces of a real network, to check how the IE is
encoded there? is there any way to get more information from nokia bts
why it rejects the channel when using this IE?
regards,
andreas
Hey all,
I've been working on getting the Range Networks RAD1 working with OsmoBTS.
I *think* I've found a bug in trx_if.c. Basically, tsc checks the bsic
variable and bsic checks the tsc variable. It *may* be intentional but I
doubt that and I wanted to note it before I moved on. Patch is attached.
Thanks!
Currently the NET_DST information element (see GSM 24.008) is not
included in generated MM info messages even when the DST field in the
timezone info has been set via the VTY or the control interface.
This patch modifies gsm48_tx_mm_info() to append this information
element if (and only if) a non-zero DST has been configured. The
DST IE is not part of GSM 4.8. Therefore it will only be sent, if the
DST offset is configured to a value != 0.
Sponsored-by: On-Waves ehf
---
openbsc/src/libmsc/gsm_04_08.c | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/openbsc/src/libmsc/gsm_04_08.c b/openbsc/src/libmsc/gsm_04_08.c
index 3cfc455..0d1ba7b 100644
--- a/openbsc/src/libmsc/gsm_04_08.c
+++ b/openbsc/src/libmsc/gsm_04_08.c
@@ -656,6 +656,7 @@ int gsm48_tx_mm_info(struct gsm_subscriber_connection *conn)
struct tm* gmt_time;
struct tm* local_time;
int tzunits;
+ int dst = 0;
msg->lchan = conn->lchan;
@@ -749,6 +750,9 @@ int gsm48_tx_mm_info(struct gsm_subscriber_connection *conn)
tzunits = tzunits + (bts->tz.mn/15);
ptr8[7] = bcdify(tzunits);
}
+ /* Convert DST value */
+ if (bts->tz.dst >= 0 && bts->tz.dst <= 2)
+ dst = bts->tz.dst;
}
else {
/* Need to get GSM offset and convert into 15 min units */
@@ -768,8 +772,19 @@ int gsm48_tx_mm_info(struct gsm_subscriber_connection *conn)
}
else
ptr8[7] = bcdify(tzunits);
+
+ /* Does not support DST +2 */
+ if (local_time->tm_isdst)
+ dst = 1;
}
+#ifdef GSM48_IE_NET_DST
+ ptr8 = msgb_put(msg, 3);
+ ptr8[0] = GSM48_IE_NET_DST;
+ ptr8[1] = 1;
+ ptr8[2] = dst;
+#endif
+
DEBUGP(DMM, "-> MM INFO\n");
return gsm48_conn_sendmsg(msg, conn, NULL);
--
1.7.9.5
Dear Andreas,
going through the patchset of jolly/testing in OpenBSC it would be nice
to get most of the things merged (having TCH/H support for something like
the 31C3 is a nice goal).
I wanted to start with merging the Connection Failure Criteria code but
I am confused about the conversion. When parsing the criteria value from
from the VTY you divide by four and subtract (so 4 becomes 0). You ondo
this when saving the config and patching it in the nanoBTS attribute
array.
Wouldn't it be more easy to not doing the conversion?
holger
Hi all,
time is moving fast, and I want to start some initial discussion and
planning for OsmoDevCon 2014.
There are basically four questions which I'm raising below. Please
provide your feedback to the osmocom-event-orga mailing list only, to
avoid cross-posting over all the project lists.
= Who? =
My intention is to keep it an 'active developer/contributer only' event,
like we had it before. I would also want to keep the group relatively
small, to keep the 'Osmocom family' atmosphere.
If desired, we could have one half or full day of public prsentations in
a larger auditorium, but the developer meeting should be a close group,
as known so far.
= Where? =
If we keep the number of attendees within the same range as this year,
then I'm sure we could again hold it at the same venue. I know it is
not perfect, but it is a place that we have access to, 24 hours per day,
and free of cost for community projects like osmocom.org.
If the community wants a larger event, then this is something that would
require more funds and much more time organizing. And that is something
that I personally could not offer to take care of, sorry. I'm happy to
attend and support any larger events, but I'm unable to take care of
fundraising and venue research.
= When? =
Q1/2014. In January, I'm not aware of any 'blocker' events. February,
there is Fosdem (Feb 1 + Feb 2), and MWC from Feb 24 through Feb 27. In
March there is CeBIT (March 10-14) and Easter holidays (with EasterHegg
March 17-21). Did I miss any other FOSS / mobile event that might clash
in Q1?
So my preference woudl be to do it either late January (23-26) or in
February (6-9 or 13-16). Any preferences regarding preferred schedule?
Once we have some concencus here on the list [and we want to do it in
the same size / venue], I'll talk to IN-Berlin.
= What? =
I think that question is easy to answer, if we have the above three
figured out... There's no shortage of topics, I suppose.
You can start adding your suggestions to
http://openbsc.osmocom.org/trac/wiki/OsmoDevCon2014
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)