On Mon, Jun 29, 2009 at 03:24:37PM +0200, Dieter Spaar wrote:
Hello Harald,
On Sun, 28 Jun 2009 23:23:01 +0200, "Harald Welte" <laforge(a)gnumonks.org>
wrote:
However, since Dieter has been seeing the measurement reports, I would hope he
is able to verify wether it works for him with the current git version of
OpenBSC, or what kind of changes he needs to make it work. Sorry :(
I tested it with the git version from yesterday. The TRX0 is
configured properly, I can see that the attributes are set as
they should. I can also see the measurement reports in my custom
traces (I set NM_ATT_BS11_RADIO_MEAS_GRAN to 0x05).
I don't use mISDN on Linux (I use Cygwin on Windows with my custom
driver). However I had to adjust my custom driver to see the
measurement reports in bsc_hack. The reason is that the measurement
reports are sent as LAPD UI-Frames and not as LAPD I-Frames and I did
not yet take care of UI-Frames. Maybe there is a similar problem with
mISDN and UI-Frames.
Thanks!
UI frames should be reported to userspace as DL_UNITDATA_IND rather than
DL_DATA_IND. openbsc/input/misdn.c currently doesn't support DL_UNITDATA_IND
in the switch statement of handle_ts1_read. That sounds like the most likely
cause.
--
- 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)