Commit graph

397 commits

Author SHA1 Message Date
d9c3a6e112 add USSD protocol discriminator 2009-03-10 12:13:42 +00:00
3fb48aa907 more verbose attribute ack/nack 2009-03-10 11:46:02 +00:00
Holger Freyther
a3fbd74a67 [misc] Fix compile warnings... 2009-03-09 16:17:14 +00:00
c880dbd3d2 actually request the IMEI not IMEISV, since Phase 1 doesn't have IMEISV 2009-02-28 18:22:03 +00:00
c89c322312 introduce new 'mode' parameter to RSL ACTIVATE CHANNEL 2009-02-28 13:19:15 +00:00
6ad8be0786 * more RSL and 04.08 constant defines
* initialize some data structures before using them in RSL
* DATA_REQ is a transparent message
* more elaborate DEBUGP statements here and there
* don't call 04.08 with zero-length RSL DATA INDICATION
* reject 04.08 CC HOLD and RETRIEVE, as we don't support them yet
2009-02-28 13:17:55 +00:00
0ceda38c8b make sure all channels in one BTS use the same TSC (training sequence code) 2009-02-28 13:11:07 +00:00
6f51e8d6bc make hexdump return a 'char *' rather than printing by itself 2009-02-28 13:08:01 +00:00
ba048af4b4 add missing header include 2009-02-24 22:36:40 +00:00
c9dd9b5c45 fix non-randomness of TMSI by seeding the PRNG. Later we should use openssl 2009-02-24 22:36:20 +00:00
d6dcb43a53 enable IMSI ATTACH/DETACH
* this tells us whenever a MS is switched off
* also ensures that we get LOCATION UPDATe every time MS is switched on, even if it already has TMSI
2009-02-24 22:34:22 +00:00
Holger Freyther
ecf25c17a8 [sms] Fix the length of the of the outgoing data...
The returned length should be right now. The test case
is passing.
2009-02-23 04:03:33 +00:00
Holger Freyther
03202098b0 [sms] Fix memory leak 2009-02-23 04:03:27 +00:00
Holger Freyther
28327c5716 [sms] Fix two bugs regarding 7 bit coding...
- Fix the length (almost)
    - Move the second part by 8 - b_off
      e.g. with (ba) 0x62 0x61 the first bit of
      0x61 goes to the highest on the first byte and
      the second word contains 0x110000...

    - The simple test case is almost passed... just a missing
      character at the end.
2009-02-23 01:47:15 +00:00
Holger Freyther
a162b6e346 [sms] Add test case for the 7-bit coding/decoding...
we don't pass it yet.
2009-02-23 00:50:38 +00:00
Holger Freyther
2b963ec268 [sms] Remove hardcoded size and use the SIZE_OF trick.. 2009-02-23 00:50:34 +00:00
Holger Freyther
8b45066d93 [db] Introduce a table for SMS
- created for the creation of the SMS
    - sent the time the message was submitted
    - sender_id the subscriber for the return path/report
    - receiver_id the subscriber
    - header the (optional) SMS PDU header
    - payload the payload (utf8), raw data
2009-02-23 00:50:31 +00:00
Holger Freyther
057152c23a [misc] Fix make distcheck again... 2009-02-23 00:50:28 +00:00
2c3ce8e272 remove subchan_demux debug statements, add DMUX commandline parsing 2009-02-23 00:04:04 +00:00
9aba285c8b Ignore CONNECTION FAIL INDICATION cause 0x18 to make sure our phone calls survive on BS11.
Apparently the BS-11 sends soem undocumented cause 0x18 as part of a CONN FAIL IND message
shortly after we establish the call.  If we close the channel, the voice call
is aborted. If we ignore the message, everything just continues to work.
2009-02-23 00:02:59 +00:00
ff8b6313d6 reduce lag in voice calls by reducing the subchannel muxer tx queue depth to
effectively three entries.  In the future we should probably think of only
having a one-frame deep queue.
2009-02-22 22:28:19 +00:00
0dc9a36c25 Add LMT event parsing 2009-02-22 21:58:49 +00:00
ace68ae5ea fix paging response parsing for phase1 phones (classmar2 can be less than 4 bytes in length) 2009-02-22 21:26:29 +00:00
1e475f5a94 add parsing of IMSI DETACH 2009-02-22 21:14:55 +00:00
dc3525bf97 PAGING RESPONSE could contain non-TMSI mobile identity such as IMSI 2009-02-22 21:14:24 +00:00
1150dff232 * location updating types
* struct for imsi detach
2009-02-22 21:14:04 +00:00
2f2da9affd don't allow calls of a subscriber to himself 2009-02-22 21:13:18 +00:00
Holger Freyther
10cf94e74b [db] Print the type and id of the not found provider 2009-02-22 20:33:09 +00:00
dfa2d05353 use RSL debug prefix in RSL code 2009-02-22 18:18:12 +00:00
265d1b3100 add missing SET BS11 ATTRIBUTE NACK MT 2009-02-21 20:45:39 +00:00
b6a74d66f0 correct E1 timeslot / TEI attribute parsing 2009-02-21 20:41:12 +00:00
7900a43812 only perform oml-tei once 2009-02-21 20:17:12 +00:00
a1d9c2c4cd * set OML TEI and E1 timeslot in one command
* introduce new 'oml-tei' command of bs11_config
2009-02-21 20:15:32 +00:00
dfee21d148 25C3 is over, so call our network OpenBSC 2009-02-21 13:00:57 +00:00
7083353487 fix various compiler warnings while building bs11_config 2009-02-21 12:59:58 +00:00
aa9b3c1494 tlv_parser now operates on 'const' input buffer 2009-02-21 12:59:22 +00:00
Holger Freyther
91f49f6ab4 [build] Create a libbsc.a as noinst_LIBRARY, link bsc_hack and tests against it
Link the tests against the libbsc.a to avoid most of the breakage
when creating new symbols.
2009-02-20 18:33:00 +00:00
38861d8c99 implement dynamic TRAU frame mapping 2009-02-19 17:24:39 +00:00
3c3cc33af3 use new gsm_ts_name() funciton from debug statemens everywhere 2009-02-19 17:07:39 +00:00
b7415ac8b2 add debug statement when setting up trau mapping 2009-02-19 17:07:01 +00:00
b1df21c243 add gst_ts_name() function to obtain human-readable channel name 2009-02-19 17:06:42 +00:00
4b3eea322c don't pass subchannel data to the TRAU decoder if we're not synchronized yet 2009-02-19 17:05:13 +00:00
7742c030e4 trau mux updates
* add function to map two lchans to each other
* make sure to evic old trau mux mappings before creating a new one
2009-02-19 15:14:23 +00:00
9e35171171 we need tlv_parse.c in bs11_config now 2009-02-19 03:11:48 +00:00
a3a5c2a9dd bs11_config: makes sure we disconnect properly before exiting 2009-02-19 03:11:13 +00:00
60d815c857 restructure and enhance bs11_config
* add the concept of commands in addition to options
* add commands for querying essential configuration
* add command for explicit create/delete of TRX1
* software download is now an explicit operation
2009-02-19 02:59:17 +00:00
446a339a67 add various BS11 management related abis_nm functions 2009-02-19 02:50:57 +00:00
2b5ef2b12f * support BS11 specific IE types in abis_nm
* make bs11_config compile again 
* now that we have a proper TLV parser, use it to parse the status response on the serial port
2009-02-18 19:51:53 +00:00
f8d31a7d31 * make sure we use the correct GSM48 encoding type
* modify the RSL channel mode (BTS) side) after the 04.08 (MS side) has acked MODIFY
2009-02-18 03:44:24 +00:00
f9bb68cd37 fix the parsing of the 'normal' availability status 2009-02-18 03:43:01 +00:00