Holger Hans Peter Freyther
5bb874d2f5
bsc: Add a hook where we can scan for LU and other messages.
2010-11-15 20:06:48 +01:00
Holger Hans Peter Freyther
cc48fb8083
bsc: Call into the SCCP layer to create a new connection.
2010-11-15 20:06:48 +01:00
Holger Hans Peter Freyther
46c5ab3624
bsc: Reduce duplication with a macro.
2010-11-15 20:06:48 +01:00
Holger Hans Peter Freyther
e46f1d6cc4
bsc: Implement sending an assignment failure
2010-11-15 20:06:48 +01:00
Holger Hans Peter Freyther
c2b3270e93
bsc: Send a Clear Reques on RF Failures to the MSC.
2010-11-15 20:06:48 +01:00
Holger Hans Peter Freyther
c8166f3a91
bsc: Implement sending a SAPI n Reject.
...
It is not clear that the link_id is setup correctly here.
2010-11-15 20:06:48 +01:00
Holger Hans Peter Freyther
58f2cf6494
bsc: Implement the DTAP callback and forward the data to the MSC
2010-11-15 20:06:47 +01:00
Holger Hans Peter Freyther
da488ae343
bsc: Implement sending the assignment complete to the network
2010-11-15 20:06:47 +01:00
Holger Hans Peter Freyther
2d2c910f2c
bsc: Implement sending a Cipher Mode Complete message
2010-11-15 20:06:47 +01:00
Holger Hans Peter Freyther
7225fd18e0
bsc: Add some basic checks to see if a SCCP connection is established
2010-11-15 20:06:47 +01:00
Holger Hans Peter Freyther
45b575fd94
bsc_api: The rr_cause is optional, pass it as a pointer
2010-11-15 20:06:46 +01:00
Holger Hans Peter Freyther
66dcd925c6
bsc_api: Nuke the clear complete from the API.
...
There is no place where it can be called. Whoever is calling
the gsm0808_clear method should generate the clear complete
as the result.
2010-11-15 20:06:46 +01:00
Holger Hans Peter Freyther
46caa3048d
bsc_api: Provide the link_id in the dtap callback.
2010-11-15 20:06:46 +01:00
Holger Hans Peter Freyther
b094171c9f
bsc_api: Add needed parameters to the assignment complete callback
...
Provide the chosen channel and more information in the assignment
complete method.
2010-11-15 20:06:46 +01:00
Holger Hans Peter Freyther
e1996f013c
bsc_api: The cipher mode is not a message on the air interface
...
The cipher mode reject will be send in case the BSC is not
able to support the requested cipher. So this reject can be
handled by however attempts to enable ciphering.
2010-11-15 20:06:46 +01:00
Holger Hans Peter Freyther
fce9307553
bsc_api: Change the cause to a uint8_t for now
...
The RR Cause can only be one byte. Change from uint16_t to uint8_t for that.
2010-11-15 20:06:46 +01:00
Holger Hans Peter Freyther
05c68841a8
bsc_api: Fix a use after free error in the Clear Request path
...
The implementation of bsc_hack would call subscr_con_free before
the BSC API has had the chance to call gsm0808_clear to try to
release other channels. Fix that by adding a return value.
2010-11-15 20:06:46 +01:00
Holger Hans Peter Freyther
32aaef689d
bsc; Register the BSC API with many blanks.
2010-09-16 17:27:05 +08:00
Holger Hans Peter Freyther
4f448c97eb
bsc: Add header file for the true BSC API.
2010-07-05 16:04:36 +08:00