[gsm48] Introduce a gsm48_generate_mid_from_imsi method

Prefix generate_mid_from_tmsi with a gsm48_, create a new method
to binary encode the imsi. Add a unit test for parsing and decoding.

The implementation can parse the data it generated and the
last octet seems to be filled with the end mark.
5 files changed
tree: 51a3767c861603d1e317053ec5687cced1c86e21
  1. hlrsync/
  2. linux-kernel/
  3. openbsc/
  4. wireshark/