Harald Welte
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
Harald Welte
f9bb68cd37
fix the parsing of the 'normal' availability status
2009-02-18 03:43:01 +00:00
Harald Welte
34e106bf45
CONNECT TERRESTRIAL TRAFFIC needs to be in the CHANNEL object class in order to work
2009-02-18 03:42:35 +00:00
Harald Welte
607579991f
"the big fix", of the E1 subchannel [de]multiplexer. I don't even remember how
...
many bugs I fixed during the last couple of hours. It was never working at
any time before.
2009-02-18 03:40:58 +00:00
Harald Welte
55f1c5230e
write 160byte to one E1 TS at any given time, since that is one TRAU Frame (40 bytes) per sub-channel
2009-02-18 03:39:00 +00:00
Harald Welte
a8685781bf
use official TCH/F for initial channel modes rather than BS-11 specific 0x09
2009-02-18 03:37:20 +00:00
Harald Welte
06569326b4
if TRAU frame decoding doesn't work, we don't need to even try to re-encode and just send an idle frame instead
2009-02-18 03:34:55 +00:00
Harald Welte
ded8d686f5
* ensure TCH/F are activated signalling-only
...
* add function for RSL CHANNEL MODIFY REQUEST
* add missing channel activation function to header file
2009-02-18 03:29:53 +00:00
Harald Welte
7bad70cedb
#defines for GSM48 channel modes
2009-02-18 03:28:01 +00:00
Harald Welte
73cd2d875e
add DMUX debug prefix
2009-02-18 03:27:39 +00:00
Harald Welte
a2addaf03e
* disable TS3 TRAU frame handling for now
...
* statically activate two sub-slots in TS2 (need to do this dynamic later)
2009-02-18 03:27:14 +00:00
Harald Welte
95ad2750f2
* use DEBUGP in TRAU frame code
...
* make sure we actually set 'spare' bits to 1
2009-02-18 03:24:58 +00:00
Holger Freyther
68030b9dbd
[utils] Commit not working 7bit encoder...
...
No one is using it so far, so no one gets hurt...
2009-02-17 23:42:45 +00:00
Holger Freyther
e75118cd63
[utils] Style change..
2009-02-17 20:31:35 +00:00
Holger Freyther
e54e0be265
[utils] Create gsm_utils for 7bit encoding and decoding...
2009-02-17 20:31:30 +00:00
Harald Welte
d9edbd31f3
strip mISDN hardware header before putting B-channel data into subchannel demuxer
2009-02-17 19:02:29 +00:00
Harald Welte
d200ba0e3d
don't reduce power quite as much to make sure we still get a singal (bs-11) and nanoBTS doesn't refuse the attribute at all
2009-02-17 17:45:59 +00:00
Harald Welte
4fc6a81938
in case pagign of the 'B-end' during call setup fails, transmit message to
...
correct lchan rather than crashing
2009-02-17 17:43:33 +00:00
Harald Welte
44543bf06a
correctly print IPAC_CONNECT_ACK debug statement
2009-02-17 15:29:58 +00:00
Harald Welte
52b3b72da2
various CC updates:
...
* correctly lchan_put the second lchan of a call at teardown
* map the RTP streams of ip.access onto each other
* fix bug that prevented a CONNECt message to ever reach the 'B' side
2009-02-17 15:29:33 +00:00
Harald Welte
af09b8b465
* increased debug verbosity for ip.access BIDND_ACK processing
...
* emit a signel when the BIND is acknowledged
2009-02-17 14:35:45 +00:00
Harald Welte
b9436ed1ad
CC: send correct messages (too much copy+paste) and better debug printout
2009-02-17 13:23:06 +00:00
Harald Welte
103a4156ef
add parsing for ip.access vendor specific NM messages
2009-02-17 13:22:23 +00:00
Harald Welte
1da5d2346b
add bits and pieces of documentation
2009-02-17 02:02:14 +00:00
Harald Welte
933351f979
slightly more complete GSM 04.08 CC, we can now
...
* initiate phone calls from one MS
* look-up the subscriber based on dialled extension
* page the called subscriber
* send the SETUP to the called subscriber, including CLIP/CLIR
* get ALERTING notification back to caller
* relay DISCONNECT from either side to the other
This is still far from being complete, but it at least works for the most common case
2009-02-17 01:43:01 +00:00
Harald Welte
c538651196
switch paging code to use a timer again, since not all BTS send reliable CCCH load indications
2009-02-17 01:39:41 +00:00
Harald Welte
6a7c1ec3bc
forgot the header files in last commit. sigh.
2009-02-16 22:53:52 +00:00
Harald Welte
fbfd7eaa88
* introduce a callback function when paging completes (I know this is somewhat of an overlap
...
with the signals, but I think paging always has one reason and thus one caller wants to
get notified about completion, including a caller-specific context, etc)
* introduce TLV parser definitions for GSM 04.08
* parse and generate BCD number IE's for 04.08 call control
2009-02-16 22:52:23 +00:00
Harald Welte
8f65f2ea2f
add IEI values for GSM 04.11
2009-02-16 22:32:17 +00:00
Harald Welte
a7e7ff5bbe
modify the signal handler/dispatch code (sorry zecke, no offense, I just had some different ideas)
...
* introduce new notion of subsystem in addition to signal number
* no need for bitmasks of 'areas' (aka subsystems)
* pass subsystem/signal_nr/... per argument rather than by data structure
2009-02-16 22:05:44 +00:00
Harald Welte
b8ef4e4d55
* introduce TLV parser definitions for RSL IE's
...
* introduce functions for ip.access specific RSL commands
2009-02-16 21:12:08 +00:00
Harald Welte
3d566d7b3f
introduce msgb_l2len() function
2009-02-16 21:09:34 +00:00
Holger Freyther
70cf9d20ef
[sms] Send a notification on incoming SMS
...
Further tests of the signal class. Send a notification
on incoming SMS.
2009-02-16 19:07:18 +00:00
Harald Welte
b656f3ab87
introduce msgb_l3len() function
2009-02-15 17:18:37 +00:00
Harald Welte
1912f806ac
* add bs_power and ms_power attributes to each channel and use them in channel activation
2009-02-15 16:56:18 +00:00
Harald Welte
24246825ca
* use more constants to name the various BTS/TRX/... attributes
...
* set BS power reduction up to 30dB reduction. we want to be quiet!
2009-02-15 16:16:28 +00:00
Harald Welte
56113ebac5
support non-123 ARFCN on nonoBTS
2009-02-15 15:38:42 +00:00
Harald Welte
d07d878c59
* add commond header file for ipaccess protocol
...
* query for more attributes during ipaccess-find
2009-02-15 15:32:53 +00:00
Harald Welte
952ff16e74
* use the correct BCCH channel type for nanoBTS
...
* remove old code
* ensure that the default BTS type really is BS-11
* document the '-t' commandline argument in the --help message
With this commit, I can get the nanoBTS 900 working with OML and RSL, register
to the network from phones. Paging is not tested yet, and voice traffic handling
is completely missing..
2009-02-15 14:40:09 +00:00
Harald Welte
6aa4bae607
For Phase2 and higher BTS, use the FULL IMMEDIATE ASSIGN INFO attribute, rather than IMMEDIATE ASSIGN INFO
2009-02-15 14:36:38 +00:00
Harald Welte
e3767a4dea
Add support for ip.access RSL link on port 3003
2009-02-15 11:57:29 +00:00
Harald Welte
e90a78d5d2
* generate virtual E1 TEI up/down events
...
* make debug printout a little less verbose
* introduce usleep to make things a bit slower for debugging
2009-02-15 03:39:51 +00:00
Harald Welte
826ebbc553
* add bsc_hack commandline argument to select BTS type
...
* add event-based OML bring-up for nanoBTS
2009-02-15 03:38:12 +00:00
Harald Welte
896da62528
* extend TLV parser to use a list of TLV type descriptions
...
* implement TLV type descriptions for NM
* add operational/administrative/availability state keeping logic to abis_nm
* explicitly print all NACK's in abis_nm
* make sure we produce [not just for BS-11] valid channel attributes
2009-02-15 03:34:15 +00:00
Holger Freyther
aad5163f59
[paging] Do not create a request when one is already pending...
...
This is removing a memleak, saving some mallocs and a crash
in the timer expired function that attempted to remove the
paging_request from a list it was not in....
2009-02-14 23:53:20 +00:00
Holger Freyther
576e4b5d58
[paging] Assign the subscriber to the channel first...
...
Assign the GSM subscriber to the lchan and then inform
the paging layer and dispatch a signal. This makes sure
that lchan is updated with the right kind of information.
2009-02-14 23:53:15 +00:00
Holger Freyther
dcefb82258
[paging] Fix crash, move_to_next can not be used....
...
move_to_next is using the last_request but we do not have
one... but we know the list is not empty so just pick the
first entry.
2009-02-14 23:35:09 +00:00
Holger Freyther
bd4dba8610
[signal] Fix misuse of llist_add_tail...
...
The to be added llist_head comes first.......
2009-02-14 23:35:06 +00:00
Holger Freyther
4a869f8b24
[nm] Fix the ObjectClass for Set Channel Attribute
...
In r308 the enum for the object class was fixed and we
started to send the wrong (0x4) instead of the right (0x3)
object class. Fix that.
2009-02-14 23:16:59 +00:00
Holger Freyther
39bf3eb427
[signal] Add consumer of the signal api, inform about paging
...
Use the new signaling API in the telnet interface to broadcast
a succeeded or failed paging request.
2009-02-14 22:51:13 +00:00