Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gsm_utils: Define 4 upper bits as "flags" and mask them out in utility functions | Sylvain Munaut | 2010-11-13 | 1 | -2/+9 |
| | | | | | | This way those function don't care about the flags they don't know about Signed-off-by: Sylvain Munaut <tnt@246tNt.com> | ||||
* | gsm_utils: Move the gsm_7bit_alphabet into the impl and make it static | Holger Hans Peter Freyther | 2010-07-23 | 1 | -0/+27 |
| | |||||
* | gsm_7bit_decode: rtext does not hold a null byte, reduce the size | Holger Hans Peter Freyther | 2010-07-21 | 1 | -1/+1 |
| | | | | | I have added the + 1 as I thought rtext will hold a terminating null byte but it will not. | ||||
* | tests: don't hardcode length values of expected encoding gsm_7bit_encode: | Nico Golde | 2010-07-21 | 1 | -4/+6 |
| | | | | | | | | | make sure to return the number of actually written bytes gsm_7bit_decode: calculate length of resulting septets from input length before decoding The input length to gsm_7bit_decode reflects the number of encoded bytes to be decoded. As the decoding is done on the input in septetes we need to take this into account and recalculate the length. | ||||
* | gsm_7bit_decode: Handle the case of the last charachter being an escape | Holger Hans Peter Freyther | 2010-07-20 | 1 | -1/+1 |
| | | | | | If i + 1 == length and it is an escape charachter we would try to read rtext[length] which is one after the field we have allocated. | ||||
* | * rewrite GSM 7bit default encoding/decoding based on a lookup table as the ↵ | Nico Golde | 2010-07-20 | 1 | -20/+79 |
| | | | | previous code produced wrong encodings for certain characters. | ||||
* | gsm_utils: Fix typo in gsm band name | Sylvain Munaut | 2010-07-04 | 1 | -1/+1 |
| | | | | | | thanks to horizon for noticing :p Signed-off-by: Sylvain Munaut <tnt@246tNt.com> | ||||
* | add new new gprs_tmsi2tlli() function | Harald Welte | 2010-06-01 | 1 | -0/+17 |
| | |||||
* | import gsm48_parse_ra() and gprs_tlli_type() from openbsc | Harald Welte | 2010-05-01 | 1 | -0/+15 |
| | |||||
* | fix compiler warnings (itsme <itsme@xs4all.nl>) | Harald Welte | 2010-03-22 | 1 | -1/+1 |
| | | | | | * added several 'const' for strings. * added 'extern' to declarations of rsl_rlm_cause_strs | ||||
* | use strtol instead of atoi | Harald Welte | 2010-03-07 | 1 | -1/+1 |
| | |||||
* | import some gsm band/arfcn/time related utilities from OsmocomBB | Harald Welte | 2010-03-07 | 1 | -1/+92 |
| | |||||
* | import gsm_band_name() and gsm_band_parse() from OpenBSC | Harald Welte | 2010-03-04 | 1 | -0/+55 |
| | |||||
* | intial checkin of the libosmocore project | Harald Welte | 2010-02-20 | 1 | -0/+215 |