path: root/openbsc/include
AgeCommit message (Collapse)AuthorFilesLines
2009-08-06add function for performing 'CONNECT MULTI-DROP LINK" as per GSM 12.21Harald Welte1-0/+3
don't be confused, BS-11 does not need this. But since I wrote the code before knowing that, I can just as well commit it.
2009-08-06add HARDCODED_BTSn_TS to define the base TS for each BTSHarald Welte1-0/+5
2009-08-04parse and decode Siemens specific T_MSRFPCI messageHarald Welte1-0/+1
2009-08-01add ip.access specific channel combinationsHarald Welte1-0/+6
2009-07-29generalize channel activation / channel mode modifyHarald Welte3-13/+25
* we only need one piece of code to calculate rsl_ie_chan_mode from our run-time data structures (gsm_lchan) * add some more channel modes for TCH/H and data * use enum's to make the compiler warn us about unhandled enum values * make sure the caller determines the (signalling,speech,data) mode
2009-07-29comments about the bearer_capability structureHarald Welte1-6/+7
2009-07-29bearer capability definitionsHarald Welte1-0/+28
2009-07-28add RTP proxy mode for ip.accessHarald Welte2-1/+3
Up until now, we only supported direct RTP streams between ip.access BTS. With this commit, the user can specify '-P' to the command line to enable a RTP/RTCP proxy inside OpenBSC. The nanoBTS will then send all their voice data to OpenBSC, which will relay it to the respective destination BTS (which can be the same BTS). The default behaviour remains unchanged. Without '-P' on the command line, RTP/RTCP is exchanged directly.
2009-07-28send a [new] signal in case of IPAC_DISCONNECT_INDicationHarald Welte1-0/+1
2009-07-28implement human-readable RSL cause printingHarald Welte1-2/+10
2009-07-28add new rtp_proxy code, but not use it yetHarald Welte1-0/+70
The rtp_proxy.[ch] code is intended to be used as a transparent RTP/RTCP proxy, relaying the media streams from one ip.access BTS to another. In an 'ideal' network, this is obviously not needed, since the BTS's can send those streams directly between each other. However, for debugging, 'lawful interception', transcoding or interfacing a TRAU/E1 based BTS, we actually need to process those RTP streams ourselves.
2009-07-23move allocating new transaction_ids to transaction.cHarald Welte1-0/+2
2009-07-23add missing files to gitHarald Welte1-0/+16
2009-07-23centralize the code that needs to deal with transaction_idHarald Welte1-1/+2
There were many places in the code where we had to explicitly reference the transaction_id and put it into a packet. By introducing and optional gsm_trans parameter to gsm48_sendmsg(), we can implement this code once rather than dozens of time.
2009-07-23make sure subscr->net is always setHarald Welte2-6/+12
since a subscriber is an element of the gsm_network, we have to ensure subscr->net is always set correctly. We do this by using gsm_network as an argument to all functions that resolve or create a subscriber.
2009-07-23remove bogus 'network' member of 'struct gsm_transaction'Harald Welte1-3/+0
Since a transaction is associated to a gsm_subscriber, and the subsciber is part of a network, we don't need to have a dedicated transaction->network pointer.
2009-07-23gms_transactions data model reorganizationHarald Welte1-12/+22
This changeset factors out gsm_transaction as something independent of call control in preparation to re-use the code from SMS. A transaction is uniquely identified by either its callref, or by a tuple of (transaction_id, protocol, subscriber).
2009-07-19send DEACTIVATE SACCH when sending RR CHANEL RELEASEHarald Welte1-0/+1
As per specification, we first send the RR CHANNEL RELEASE to the MS, and then tell the BTS to disable the SACCH on that channel.
2009-07-12yet again some more ip.access RSL definitions + parsingHarald Welte1-1/+20
2009-07-12add some more ip.access RTP related definitionsHarald Welte1-0/+39
2009-07-12add more ipaccess 12.21 object classes, NSVC only exists onceHarald Welte1-2/+7
2009-07-12rename ip.access structure field members and variablesHarald Welte2-3/+4
to reflect that we now know their true names/meanings
2009-07-12give ip.access RSL IE's their proper namesHarald Welte1-0/+14
2009-07-12more ip.access abis_nm attributesHarald Welte1-8/+40
we also rename some existing attributes to reflect reality
2009-07-08ipacess-config: Handle NVATTR NACKs in ipaccess-configHolger Hans Peter Freyther1-0/+1
Currently we send the attribute changes in a send and forget fashion. But sometimes the nanoBTS is sending us a NACK, e.g with a invalid unit id. Start handling the NACK and provide an error message to the user. The error message is not yet describing the cause of the error but this is a slight progress to the previous silent failure.
2009-07-05Store classmark1/2/3 in equipment SQL tableHarald Welte1-8/+17
For further evaluation/analysis, this patch stores the classmark 1, 2 and 3 values of every equipment in the SQL database. We can use this non-volatile data to determine the supported features for each handset that we've ever seen on our network.
2009-07-03add more TLV parser definitiosn for IPA NM attributesHarald Welte1-0/+1
2009-07-01Merge branch 'master' of gitosis@bs11-abis.gnumonks.org:openbscHarald Welte1-1/+1
2009-07-01ip.access test numbersHarald Welte1-0/+8
2009-07-01add more ipaccess 12.21 OML extension definitionsHarald Welte1-0/+40
2009-06-29the pointer "tall_bsc_ctx" belongs to the gsm_data.c file not to include file.Andreas Eversberg1-1/+1
2009-06-27add new DMEAS debug category for measurement reportingHarald Welte1-0/+1
disable it by default
2009-06-26use named variant when allocating msgb'sHarald Welte1-3/+4
when we generate a talloc report (SIGUSR1), we can now see which system allocated a given msgb, this helps memory leak debugging
2009-06-26Merge branch 'master' into tallocHarald Welte1-4/+4
2009-06-25abis_nm.h: Fix various typosHarald Welte1-4/+4
2009-06-21switch to dynamically allocated BTS and TRX data structuresHarald Welte1-7/+15
This makes it much easier to do run-time configuration using the vty interface.
2009-06-20introduce talloc all over OpenBSCHarald Welte2-0/+192
2009-06-20replace 'struct gsm_attr' by 'struct tlv_parsed'Harald Welte1-7/+4
This is where we will store the 12.21 / NM attributes for the given object.
2009-06-20Introduce BS and MS power control related functionsHarald Welte2-0/+17
* add bts->band field plus corresponding VTY and commandline argument * add trx->nominal_power and trx->max_power_red fields * add rsl_chan_bs_power_ctrl() to control TRX RF power for a given TS * add rsl_chan_ms_power_ctrl() to control MS RF power for a given lchan.
2009-06-15mncc: Add IMSI to gsm_mnccAndreas Eversberg1-0/+1
This allows us to do subscriber lookups based on IMSI and e.g. establish MT calls to subscribers with no assigned extension.
2009-06-14Merge branch 'mncc-harald'Harald Welte4-58/+378
2009-06-14Merge branch 'master' of gitosis@bs11-abis.gnumonks.org:openbscHarald Welte2-2/+2
2009-06-12make btstype2str return a const char* to make gcc 4.4 happyHolger Hans Peter Freyther1-1/+1
2009-06-12Merge commit 'origin/master' into mncc-haraldHarald Welte1-1/+1
2009-06-12[misc] Fix make distcheck by adding compat_af_isdn.hHolger Hans Peter Freyther1-1/+1
2009-06-12Increase LCHAN_RELEASE_TIMEOUT to 10 secondsHarald Welte1-1/+1
If we release the LCHAN after the CM SERVICE ACK too early, we can no longer receive longer SMS messages... so let's increase it to 10 secs.
2009-06-11use less magic numbers (04.08 CC cause values)Harald Welte1-0/+53
Introduce a gsm48_cc_cause enum and use it from gsm_04_08 and MNCC, also make sure we use gsm48_cause_loc rather than plain numbers.
2009-06-10reworked MNCC codebaseHarald Welte4-57/+324
This is Harald's reworked MNCC base, slowly heading towards integration into master. The key changes are: * provide much more structure to the data in gsm_mncc * encode_* and decode_* functions now take a structure rather than tons of individual arguments (whose order nobody can remember) * make sure we don't have copies of the same code everywhere by introducing mncc_set_cause() and mncc_release_ind() * save horizontal screen space if possible * make sure we break lines > 80 characters
2009-06-10Merge commit 'origin/master'Harald Welte4-1/+10
2009-06-10Handle and dispatch paging requests in gsm_subscriberHolger Freyther2-0/+2
Implement subscr_get_channel and subscr_put_channel to a degree that SMS Submit and phone call scheduled at the same time will deliver both (one after the other).