Make mi_to_string parse the TMSI we generate, finish CM Service Request implementation

The TMSI encoding is up to us but generate_mid_from_tmsi and mi_to_string
did not agree on the encoding. Adjust mi_to_string to properly decode the
TMSI generated by generate_mid_from_tmsi. Check that the four bits are '1111'
and that the length is five. Memcpy the bytes to tmsi (to work with ARM or such)
and convert the number to host order...

Implement the CM Service Request. Try to get the subscriber from the TMSI and
assign it to the gsm_lchan. There is a small issue that will be fixed in the
next commit.

(done by z.)

1 file changed
tree: f615c2dbad7379f7f4aac57fbd790d539b6f0203
  1. include/
  2. src/
  3. tests/
  4. tools/
  5. AUTHORS
  6. configure.in
  7. COPYING
  8. Makefile.am
  9. README