summaryrefslogtreecommitdiffstats
path: root/openbsc/src
Commit message (Collapse)AuthorAgeFilesLines
* gprs: remove msgb->nsvc pointer and replace it with NSEI and BVCIHarald Welte2010-05-042-32/+63
| | | | | | | | | | | According to TS 08.16, the BSSGP layer needs to specify NSEI and BVCI when executing the NS UNITDATA REQUEST primitive of the underlying NS layer. Rather than passing around a pointer to the 'struct gprs_nsvc', we now have NSEI and BVCI as members of 'struct obsc_msgb_cb' and set them when BSSGP hands a message down to NS. NS then does a lookup of the 'gprs_nsvc' based on the NSEI parameter.
* gprs: Use new msgb->cb[] for storing a pointer to the NS-VC through which it ↵Harald Welte2010-05-041-7/+11
| | | | was received
* GPRS: Modularize the NS implementationHarald Welte2010-05-041-22/+231
| | | | | | | | | | | | | * move UDP listener code for NSIP from input/ipaccess.c and into gprs_ns.c * add PDU type, IE and CAUSE values for later IP based 3GPP TS 48.016 * support multiple NS-VCs and their lookup based on NSVC and sockaddr_in * maintain the remote_state (blocked/alive) for each NSVC * introduce the concept of GPRS_NS instances, move all global vars to instance * remove hardcoded calls to gprs_bssgp_rcvmsg() and replace it by callback WARNING: This is not finished code. While it will compile, it will not work yet, as BSSGP needs to be converted to properly indicate the NSVC to which it needs to send data.
* gprs: Update gprs-sgsn branch to use new msgb->cb layoutHarald Welte2010-05-041-3/+3
| | | | | | The explicit 'tlli, gmmh' members of struct msgb are gone from current libosmocore and have been replaced by the more generic 'control buffer' mechanism.
* GPRS: remove hard-coded IP address for NSIP responses from SGSN->BTSHarald Welte2010-05-041-22/+32
|
* Create new 'gprs-sgsn' branch on top of 'gprs-conf'Harald Welte2010-05-042-0/+745
This branch contains the partial SGSN/GGSN implementation that was originally developed as part of the gprs branch.