Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gsm/gsm48_ie: Fix frequency list decoding | Andreas.Eversberg | 2011-07-30 | 1 | -1/+1 |
| | | | | | Fix-by: Andreas.Eversberg <jolly@eversberg.eu> Signed-off-by: Sylvain Munaut <tnt@246tNt.com> | ||||
* | sms: Fix style issues with the code, add spaces after keywords | Holger Hans Peter Freyther | 2011-07-24 | 1 | -5/+5 |
| | |||||
* | sms: SMS where cropped (from VTY), concatenation of SMS where not possible | Dennis Wehrle | 2011-07-24 | 1 | -29/+89 |
| | | | | | | | | | | | | 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. | ||||
* | lapdm: fix memory leak due to unreachable code | Harald Welte | 2011-07-16 | 1 | -1/+0 |
| | | | | detected by Smatch | ||||
* | gsm 08.08: use ANSI function definition with (void) | Harald Welte | 2011-07-16 | 1 | -1/+1 |
| | |||||
* | tlv: Make tlv parser arrays 256 entries wide to prevent overflow on 0xff | Harald Welte | 2011-07-16 | 1 | -1/+1 |
| | | | | | | | If we encounter a tag with 0xFF, we overflow our existing tlv_parse array definitions. Warning: this breaks ABI | ||||
* | gprs_cipher_core: Fix potential buffer overflows | Harald Welte | 2011-07-16 | 1 | -3/+3 |
| | | | | detected by Smatch | ||||
* | GSM 08.08: Fix generation of CIPHER MODE REJECT | Harald Welte | 2011-07-12 | 1 | -1/+1 |
| | | | | | The message has a total length of 4 octets, so don't allocate only 3 in the msgb. | ||||
* | gsm 08.08: add value_strings and gsm0808_msg_name() function | Harald Welte | 2011-07-11 | 1 | -0/+86 |
| | |||||
* | lapdm: make sure we flush all queues whenever entering IDLE state | Harald Welte | 2011-06-29 | 1 | -0/+11 |
| | | | | | this fixes a memory leak where the final UA would always remain in memory after a LAPDm entity has been disconnected. | ||||
* | make sure abis_nm <-> osmocom pchan type conversion always works | Harald Welte | 2011-06-29 | 1 | -0/+2 |
| | |||||
* | LAPDm: Uplink SACCH frames use format B, not format B4 | Harald Welte | 2011-06-29 | 1 | -5/+12 |
| | |||||
* | LAPDm: When Rx DATA from L1, L1 does not know the SAPI | Harald Welte | 2011-06-27 | 1 | -13/+14 |
| | | | | We have to determine the SAPI ourselves inside the LAPDm header. | ||||
* | add LAPDm code from osmocom-bb into libosmocore | Harald Welte | 2011-06-27 | 2 | -1/+2512 |
| | |||||
* | import gsm0502_calc_paging_group() from openbsc | Harald Welte | 2011-06-26 | 2 | -1/+44 |
| | |||||
* | add some utility functions for paging related calculation (TS 05.02) | Harald Welte | 2011-06-26 | 1 | -7/+7 |
| | |||||
* | add gsm48_number_of_paging_subchannels() function | Harald Welte | 2011-06-26 | 1 | -0/+13 |
| | | | | (from openbsc's rsl_number_of_paging_subchannels) | ||||
* | gsm/utils: Adding conversion of "mobile power class" to dBm | Andreas Eversberg | 2011-06-26 | 1 | -0/+41 |
| | | | | | Written-by: Andreas Eversberg <jolly@eversberg.eu> Signed-off-by: Sylvain Munaut <tnt@246tNt.com> | ||||
* | sysinfo: add EXTENDED MEASUREMENT ORDER / MEASUREMENT INFO to SI types | Harald Welte | 2011-06-25 | 1 | -0/+6 |
| | | | | | those two are used in the RSL SACCH FILLING messages and delivered like SI5 / SI6. | ||||
* | add value_string definitions for RSL message types | Harald Welte | 2011-06-23 | 1 | -0/+76 |
| | |||||
* | gsm/sysinfo: Fix rsl2sitype array size | Sylvain Munaut | 2011-05-29 | 1 | -1/+1 |
| | | | | | | 0xff is the maximum value ... so there is 256 elements. Signed-off-by: Sylvain Munaut <tnt@246tNt.com> | ||||
* | gsm/sysinfo: don't include netinet/in.h | Harald Welte | 2011-05-29 | 1 | -1/+0 |
| | |||||
* | Import abis_nm_{chcomb4pchan,pchan4chcomb}() from openbsc | Harald Welte | 2011-05-24 | 1 | -0/+32 |
| | |||||
* | Import sytem information related definitions + code from openbsc | Harald Welte | 2011-05-24 | 2 | -1/+132 |
| | |||||
* | abis_nm: remove abis_nm_obj_class_name / abis_nm_adm_state_name | Harald Welte | 2011-05-23 | 1 | -14/+4 |
| | | | | | | | | and export the underlying raw value_string arrays instead: abis_nm_obj_class_names / abis_nm_adm_state_names. This permits the caller to use get_string_value() as well as get_value_string(). | ||||
* | rename abis_nm_adm_name() to abis_nm_adm_state_name() | Harald Welte | 2011-05-23 | 1 | -1/+1 |
| | |||||
* | abis_nm: import definitions and common code on A-bis OML from OpenBSC | Harald Welte | 2011-05-22 | 2 | -1/+407 |
| | |||||
* | libosmocore: bump library interface version to '1' for new osmo_ names | Harald Welte | 2011-05-08 | 1 | -0/+1 |
| | |||||
* | plugin: use namespace prefix osmo_* | Pablo Neira Ayuso | 2011-05-07 | 1 | -1/+1 |
| | | | | | | Summary of changes: s/plugin_load_all/osmo_plugin_load_all/g | ||||
* | utils: use namespace prefix osmo_* | Pablo Neira Ayuso | 2011-05-07 | 1 | -6/+6 |
| | | | | | | | | | | | | Summary of changes: s/bcd2char/osmo_bcd2char/g s/char2bcd/osmo_char2bcd/g s/hexparse/osmo_hexparse/g s/hexdump/osmo_hexdump/g s/hexdump_nospc/osmo_hexdump_nospc/g s/ubit_dump/osmo_ubit_dump/g s/static_assert/osmo_static_assert/g | ||||
* | gsm/a5: Add a A5 1&2 implementation | Sylvain Munaut | 2011-04-26 | 2 | -1/+312 |
| | | | | | | It's always useful to have around Signed-off-by: Sylvain Munaut <tnt@246tNt.com> | ||||
* | bitvec: add bitvec_find_first_bit_pos() from gsm/rxlev_stat.c | Pablo Neira Ayuso | 2011-03-28 | 1 | -12/+0 |
| | | | | | This patch adds bitvec_find_bit_pos() to bitvec.c where it really belongs to. Before this patch used to be part of gsm/rxlev_stat.c | ||||
* | include: reorganize headers file to include/osmocom/[gsm|core] | Pablo Neira Ayuso | 2011-03-23 | 9 | -30/+30 |
| | | | | | | | | | | | | This patch moves all GSM-specific definitions to include/osmocom/gsm. Moreover, the headers in include/osmocore/ have been moved to include/osmocom/core. This has been proposed by Harald Welte and Sylvain Munaunt. Tested with `make distcheck'. Signed-off-by: Pablo Neira Ayuso <pablo@gnumonks.org> | ||||
* | This patch moves the GSM-specific functions to the new library | Pablo Neira Ayuso | 2011-03-23 | 11 | -0/+3791 |
libosmogsm which is provided by libosmocore. I have also moved generate_backtrace() to backtrace.c instead of gsm_utils.c, otherwise the timer and msgfile tests depend on libosmogsm. Signed-off-by: Pablo Neira Ayuso <pablo@gnumonks.org> |