aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/osmo-ganc/ganc_server.c
AgeCommit message (Collapse)AuthorFilesLines
2012-09-06ganc: use vTvLV_GAN TLV encoder/decoderlaforge/ganc-2012Harald Welte1-9/+2
This is required to correctly parse and generate messages with IEs of length > 0x7F, like long SMS messages. A recent copy of libosmocore is required for the core TLV parser support (2fe6847 or later).
2012-09-06ganc: Store more data (GERAN LAC, MAC addr, ESSID, ...) of peerHarald Welte1-0/+40
We store more of the data sent by the MS during REGISTER, and show that data during 'show gan-peer'. Also, there is now a table view (show gan-peer) as well as a detailed view (show gan-peer details)
2012-07-18ganc: TCP typo fixHermann Gausterer1-1/+1
Signed-off-by: Hermann Gausterer <git-openbsc-2012@mrq1.org>
2012-07-13ganc: fix free() order between osmo_conn and gan_peerHarald Welte1-5/+9
2012-07-13ganc: Make sure to close tcp socket when closing ganc / track REG stateHarald Welte1-5/+45
We now track if a peer is REGISTERED or not, and only page him if he is registered. Furthermore, we look for old stale peer records and remove them, if we get a REGISTER on a new TCP connection.
2012-07-13ganc: implement release timer for gan_peerHarald Welte1-8/+48
If we didn't see a GA-RC KEEP ALIVE for more than twice TU3906, then we assume the peer is dead and simply drop the tcp connection.
2012-07-13ganc: actually read + use settings from the config fileHarald Welte1-2/+7
2012-07-13ganc: Add a FIXME about our msgb memory leakHarald Welte1-0/+1
2012-07-13ganc: destroy peer after read fails or RELEASE has been sentHarald Welte1-0/+14
this is not quite as per spec. We probably need a timer of twice the KEEPALIVE timer of the MS to determine the phone is gone.
2012-07-12ganc: Add peer to global list of peers in networkDieter Spaar1-0/+5
TODO: remove peer from that list once tcp connection closes
2012-07-12ganc: use different host name for default UNCHarald Welte1-1/+1
2012-07-12ganc: implement sending of GA-CSR RELEASEDieter Spaar1-0/+17
2012-07-12ganc: announce < R99 MSC to avoid sequence number in msg_typeHarald Welte1-0/+4
>= R99 MSCs expect sequence numbers in the opper 2 bits of the message type of MS-originated >L3 messages. Our MSC code doesn't really deal with this yet, so don't announce R99 :)
2012-07-12ganc: fix segfault during memset()Harald Welte1-1/+1
2012-06-29ganc: add (currently unused) functions for PAGING REQ and DL XFERHarald Welte1-0/+33
2012-06-29ganc: properly zero-initialize the GAN CCH description IEHarald Welte1-0/+3
As Dieter points out, the structure was not properly zero-initialized...
2012-06-28ganc: don't put IP addressess as string into a FQDN attributeHarald Welte1-3/+26
... there is a separate IP address IE that should be used for this. Otherwise, devices may treat 1.2.3.4 as a hostname and make forward dns lookups on it ;)
2012-06-24ganc: handle classmark changeHarald Welte1-2/+24
2012-06-24ganc: fix TLV parsing and dump L3 content as hexHarald Welte1-38/+76
2012-06-24ganc: process some more messagesHarald Welte1-8/+69
2012-06-24ganc: update copyright headersHarald Welte1-0/+19
2012-06-24ganc: Correctly return DISCOVERY ACCEPT and REGISTRATION ACCEPTHarald Welte1-15/+102
2012-06-23ganc: fix code to do naything useful at allHarald Welte1-12/+45
2012-06-23initial skeleton for accepting UMA/GAN connectionsHarald Welte1-0/+151