Harald Welte
104604e10a
Fix compile, on rebase the static_assert change got lost...
...
at the beginning we had l2 pseudo length in type5 and type6
messages as well but that got removed.
2008-12-28 16:36:11 +00:00
Holger Freyther
b9ddfd09e8
[bsc_hack] Patch the tables before we setup the rsl
...
Currently we just patch the MCC, MNC and LAC. Allow to change
the siX packages by removing the const.
2008-12-28 16:32:45 +00:00
Holger Freyther
4d505470e8
[bsc_hack] Start to understand the SI packages we send
...
Add comments in front of the bytes to define where they
are coming from.
2008-12-28 16:32:42 +00:00
Holger Freyther
24287b6bb2
[bsc_hack] Make sure that the newly defined structs match the current packets
...
For System Information Type 5 and System Information Type 6 the L2 pseudo
length is not transmitted. This is why we substract the struct size with -1.
2008-12-28 16:32:41 +00:00
Holger Freyther
efde7fb1eb
bsc_hack: Add command line parameter to set the MCC and MNC
...
The patching of the system information type1-type4 messages
are still to be done.
2008-12-28 14:14:56 +00:00
Harald Welte
255539c742
working state up to location update and classmark inquiry
2008-12-28 02:26:27 +00:00
Harald Welte
75a983fab0
* add database handling
...
* fix IMSI handling
2008-12-27 21:34:06 +00:00
Holger Freyther
b332f61f0d
Use getopt in the bsc_hack to parse options
...
Current options include a draft of the help screen, an option
to disable the colors and to specify the debug categories to
show.
2008-12-27 12:46:51 +00:00
Holger Freyther
32636e8910
Move the debug code to a separate debug.c
2008-12-27 11:07:15 +00:00
Holger Freyther
5677ae35ba
misdn.h forward declare mi_setup
2008-12-27 09:41:03 +00:00
Harald Welte
702d8707a9
working state up to location update and classmark inquiry
2008-12-26 20:25:35 +00:00
Harald Welte
ad38464728
this is the first version that actually talks to the BTS
...
* initialize OML and RSL based on TEI establish (ACTIVATE_IND) events
* fix abis_nm_raw_msg() to not overwrite the OML header with payload
* fix debug print statements
* fix msgb_dequeue: actually dequeue it from the list ;)
2008-12-26 10:20:07 +00:00
Harald Welte
f6b7a9054c
add debugp() function to fulfill link dependency and build executable
2008-12-26 00:05:11 +00:00
Harald Welte
8470bf200d
no reasonable commit message possible. tons of changes of the last 2 days
2008-12-25 23:28:35 +00:00
Harald Welte
52b1f98889
initial commit of current OpenBSC state
2008-12-23 20:25:15 +00:00