Thanks for explanations and fast fix! It seems that now all works as should be.<div><br></div><div>Pavel<br><br><div class="gmail_quote">On Tue, Jan 8, 2013 at 12:58 PM, Sylvain Munaut <span dir="ltr"><<a href="mailto:246tnt@gmail.com" target="_blank">246tnt@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The fix Andreas just pushed is what I suspected: A missing 'return'<br>
that made the "ignore" casei, not really ignored.<br>
<br>
What seems to happen is:<br>
 - We respond to the assignement a bit fast it seems and OpenBTS<br>
doesn't see the first SABM at all (not in the OpenBTS trace at all)<br>
 - When OpenBTS sees the SABM, it responds with the UA frame<br>
 - OpenBTS doesn't send a new frame until quite a bit later, which<br>
means the UA frame is resent several times by OpenBTS transceiver<br>
application using it's filling table (which is why we see only 1 UA<br>
frame in OpenBTS trace but multiple of them in the OsmocomBB trace)<br>
 - OsmocomBB had a bug where it was supposed to ignore the extraneous<br>
UA frame but instead was dropping the connection because of a missing<br>
"return" inside the switch statement.<br>
<br>
Cheers,<br>
<br>
    Sylvain<br>
</blockquote></div><br></div>