summaryrefslogtreecommitdiffstats
path: root/include/osmocom/gsm
Commit message (Collapse)AuthorAgeFilesLines
* USSD: text is 'char' not uint8_tHarald Welte2012-09-071-1/+1
|
* GSM 04.08: Add 'enum gsm48_bcap_speech_ver'Harald Welte2012-08-241-0/+9
|
* GSM 04.08: Add support for parsing CSD related bearer capabilitiesHarald Welte2012-08-242-0/+79
| | | | Also adds a test case for both encoder and decoder of this IE
* GSM 08.58: Add channel modes for transparent data servicesHarald Welte2012-08-241-4/+20
|
* TLV: add new "vTvLV" type for GANHarald Welte2012-07-141-1/+97
| | | | | | | | | | | | | This new TLV type is specific to TS 44.318. Contrary to the TvLV type of TS 08.16/08.18, it has an inverted meaning of the extension (0x80) bit: * if the extension bit is not set, 1-byte length * if the extension bit is set, 2-byte length Futhermore, it has support for variable-length tags, where the tag part can be optionally two bytes in length. As this esoteric option hasn't been seen in the wild yet, we only add encoding support but skip decoding for now.
* import gsm48_decode_lai() function from osmocom-bb/mobile sysinfo.cHarald Welte2012-07-131-0/+2
|
* build: simplify headers management and remove recursionDiego Elio Pettenò2012-06-302-14/+0
| | | | | | | | | | | | There is no real reason to keep the include directory a multi-level recursion, so instead declare everything within include (so that we can use proper nobase_ declarations) and be it. Please note that since we removed the sub-Makefile.am, ./configure will not create the directory structure for us on out-of-tree builds, so we have to make sure the directory we're generating to exists first. Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
* GAN/UMA: use correct IE Identifier foer T3920Harald Welte2012-06-291-2/+2
| | | | As Dieter found out, there has been a mix-up of 3902 with 3920 :/
* ganc: add value_strings for GAN message type and protocol discriminatorHarald Welte2012-06-242-1/+10
|
* 44.318: Add missing message typesHarald Welte2012-06-241-0/+3
|
* Fix bit-endianness in UMA/GAN definitionsHarald Welte2012-06-241-2/+19
|
* 44.318: add structure describing Control Channel Description IEHarald Welte2012-06-241-0/+19
|
* gsm_44_318: add protocol discriminator enum and data[0] array to hdrHarald Welte2012-06-231-0/+8
|
* gsm_44_318.h: fix syntax errors in GAN definitionsHarald Welte2012-06-231-2/+2
|
* add GPRS/Gb related osmo_prim SAPsHarald Welte2012-06-171-0/+5
|
* add GSM_LCHAN_PDTCHHarald Welte2012-04-191-0/+1
|
* doc: Fix the Doxygen section endingsSylvain Munaut2012-04-187-7/+7
| | | | Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
* libosmocore/gsm: Fixed total size of gsm48_req_refAndreas Eversberg2012-02-071-3/+3
| | | | | "__attribute ((packed))" must be defined for unions, in order to make sure that the compiler packs unions.
* GSM 08.08: change gsm0808_create_classmark_update() prototypeHarald Welte2012-01-261-1/+2
| | | | | The caller explicitly specifies CM2 and CM3, rather than one blob containing both.
* TLV/msgb: Return first byte of newly-pushed data from msgb_*_push()Harald Welte2012-01-221-14/+28
| | | | | The msgb_*_push() functions erroneously returned the firsrt byte after newly-pushed information, which makes no sense at all.
* comp128: mark ki and srand as 'const' input parametersHarald Welte2011-12-061-1/+1
|
* SMS: export gsm411_bcdify() and gsm411_unbcdify() functionsHarald Welte2011-12-011-0/+6
| | | | | The same functions are e.g. required by the NITZ code in 04.08, and we don't want copy+paste.
* gsm/a5: Add documentationSylvain Munaut2011-11-171-0/+14
| | | | Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
* gsm/a5: Add const qualifier on the keySylvain Munaut2011-11-171-3/+3
| | | | Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
* include/gsm_04_11: Fix compatibility issue with GSM411_TMR_TC1ASylvain Munaut2011-11-121-1/+2
| | | | | | We need to keep the old one for compatibility ! Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
* gsm/sms: Rewrite of SMR process, extracted from OpenBSCAndreas Eversberg2011-11-122-1/+46
| | | | | | | | | | | The SMR process is used to transfer SMS TPDUs. It is now extracted from OpenBSC. It includes a real state machine now for easier debugging. Also it implements the TR1M and TR2M timers. The memory notification procedure is missing, but not required for network side. Written-by: Andreas Eversberg <jolly@eversberg.eu> Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
* gsm/sms: Rewrite of SMC process, extracted from OpenBSCAndreas Eversberg2011-11-123-4/+67
| | | | | | | | The SMC process is used to transfer RP frames. It is now extracted from OpenBSC. It includes a real state machine now for easier debugging. Written-by: Andreas Eversberg <jolly@eversberg.eu> Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
* gsm/sms: Moved utility functions of SMS processing to new gsm0411_utils.cAndreas.Eversberg2011-11-122-1/+32
| | | | | Written-by: Andreas Eversberg <jolly@eversberg.eu> Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
* gsm/lapdm: Fix TA and power level handling in the ACCH headerAndreas.Eversberg2011-11-121-2/+5
| | | | | | | | | | | | | Timing advance and power level indicated by MS (measurement reports) and BTS (SI 5/6) are now stored for use at ACCH data link connection. This is part of a set of commit to fix LAPDm to handle datalink connection on ACCH (SAPI 3) This is required to transfer SMS on SACCH of TCH/f or SDCCH/8 (4). Written-by: Andreas Eversberg <jolly@eversberg.eu> Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
* gsm/lapdm: Make T200 timer depends on the link type (SACCH is slower)Andreas.Eversberg2011-11-121-1/+1
| | | | | | | | | | This is part of a set of commit to fix LAPDm to handle datalink connection on ACCH (SAPI 3) This is required to transfer SMS on SACCH of TCH/f or SDCCH/8 (4). Written-by: Andreas Eversberg <jolly@eversberg.eu> Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
* add header file containing UMA/GAN protocol definitionsHarald Welte2011-10-102-1/+154
|
* Split of LAPDm into a core part and a GSM specific partroot2011-10-103-49/+175
| | | | | | | | | | | | | | Instead of mixing together the GSM layer 1 interface and RSL interface with the implementation of LAPD, the core function of LAPD is now extracted from LAPDm. The core implementation is now in lapd_core.c and lapd_core.h respectively. The lapd_core.c implements exactly one datalink instance for one SAP. The surrounding implementation "lapdm.c" codes/decodes the layer 2 headers and handles multiplexing and datalink instances, as well as translates primitives from/to RSL layer. lapd_core.c can now be used for other LAPD implementations. (ISDN/ABIS)
* correct declaration of osmo_sitype2rslAlexander Huemer2011-09-051-1/+1
|
* RSL: add rsl_ipac_msg_name() for ipa specific RSL extension namesHarald Welte2011-09-021-0/+1
|
* doxygen: document some more structure members for RSLHarald Welte2011-08-181-14/+21
|
* doxygen: Add documentation for Abis OMLHarald Welte2011-08-172-25/+69
|
* doxygen: split VTY configuration in multiple filesHarald Welte2011-08-171-0/+11
|
* RSL: add doxygen documentationHarald Welte2011-08-171-9/+17
|
* doxygen: Add documentation for LAPDm codeHarald Welte2011-08-171-60/+78
|
* doxygen: Add documentation about TLV parserHarald Welte2011-08-171-13/+58
|
* sms: SMS where cropped (from VTY), concatenation of SMS where not possibleDennis Wehrle2011-07-241-0/+5
| | | | | | | | | | | | Additionally it wasn't possible to send concatenated sms from the vty. To send multiple sms, it is necessary to use padding bits and add a user_data_header. Therefore the gsm_7bit_encode function was splitted to gsm_7bit_encode and gsm_septets2octets. gsm_septets2octets: this is the old gsm_7bit_encode function + additional padding parameter Additionally the gsm_7bit_decode function was modified to take account for the user_data_header. With the new gsm_get_octet_len function you can get the octet length for a given septet length. I also added several sms tests.
* don't call a function argoment 'class' for the benefit of c++ usersHarald Welte2011-07-231-1/+1
| | | | This had broken lcr compilation...
* ipaccess: Reserve an extensions for an external SMSC connectionHolger Hans Peter Freyther2011-07-231-0/+1
| | | | | This could be used to submit SMS to OpenBSC and to get informed about new SMS coming from OpenBSC.
* gsm 04.80: fix typo (256, not 265!)Harald Welte2011-07-161-2/+2
| | | | | | | This was introduced by me in commit 79599ba0eb7a9aeaeb9dfbbf4881f0633724a471 Thanks to Alexander Huemer for detecting it
* gsm 04.80: ussd_request.text can contain 0xff, needs to be unsignedHarald Welte2011-07-161-1/+1
| | | | Found by Smatch
* gsm 08.08: use ANSI function definition with (void)Harald Welte2011-07-161-1/+1
|
* tlv: Make tlv parser arrays 256 entries wide to prevent overflow on 0xffHarald Welte2011-07-161-2/+2
| | | | | | | If we encounter a tag with 0xFF, we overflow our existing tlv_parse array definitions. Warning: this breaks ABI
* gsm 08.08: add value_strings and gsm0808_msg_name() functionHarald Welte2011-07-111-0/+3
|
* add LAPDm code from osmocom-bb into libosmocoreHarald Welte2011-06-272-1/+187
|
* import gsm0502_calc_paging_group() from openbscHarald Welte2011-06-262-0/+4
|