Hello Harald,
On Sun, 28 Jun 2009 23:23:01 +0200, "Harald Welte" laforge@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.
One other thing is that decoding the measurement report might not yet work properly, bsc_hack says that the reports are invalid but for the MA10 Analyzer they are fine.
Best regards, Dieter
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@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.