summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | fix some spillage from recent conversionHarald Welte2011-06-242-2/+3
| |
* | lapdm: remove dependency to osmocom_data.hHarald Welte2011-06-241-1/+1
| |
* | lapdm: remove get_rsl_name() and use libosmogsm:gsm_rsl_name() insteadHarald Welte2011-06-233-32/+4Star
| |
* | further decouple lapdm code from osmocom_ms and l1ctlHarald Welte2011-06-2311-54/+239
| | | | | | | | | | we introduce a new primitive layer betwen PH and DL, enabling the use of the LAPDm code in applications that are not based on L1CTL
* | add l1ctl_proto.h #includes to lots of filesHarald Welte2011-06-227-0/+14
| | | | | | | | this is apparently a result of no longer including it indirectly via lapdm.h
* | remove l1ctl data structure form l2_ph_chan_conf()Harald Welte2011-06-223-8/+6Star
| | | | | | | | This brings us one step closer to de-couple LAPDm from L1CTL
* | remove l1ctl data structure from l2_ph_data_ind()Harald Welte2011-06-223-11/+8Star
| |
* | lapdm.c: remove unneeded header file #includesHarald Welte2011-06-211-3/+0Star
| |
* | layer23: make LAPDm code mostly independent of 'struct osmocom_ms'Harald Welte2011-06-2110-84/+104
| | | | | | | | This is one step in the direction of re-using the lapdm code in osmo-bts.
* | remove osmocom_ms reference from lapdm_init()Harald Welte2011-06-214-10/+16
| | | | | | | | ... yet another step in making lapdm code independent of osmocom_ms
* | remove 'osmocom_ms' from struct lapdm_enetityHarald Welte2011-06-212-10/+11
| | | | | | | | and replace it with more general l1_ctx nad l3_ctx.
* | board: mtk: increase RAM sizes in linker scriptWolfram Sang2011-05-301-2/+2
| | | | | | | | | | | | | | | | | | gcc3 (and some gcc4) produce code which does not fit into the 0x5000-sized RAM sections. Extend them to 0x6000 for now, so it will build correctly again. The created binary (gcc3) has been successfully tested on my G2. Signed-off-by: Wolfram Sang <wolfram@the-dreams.de>
* | mtk: uart: remove forgotten calypso-includeWolfram Sang2011-05-301-2/+0Star
| | | | | | | | | | | | Dunno how that survived... Signed-off-by: Wolfram Sang <wolfram@the-dreams.de>
* | [layer23] Adding Quadband support and GSM 4x0 supportAndreas.Eversberg2011-05-2914-300/+790
| | | | | | | | | | | | | | | | This makes it possible to use GSM 850 and PCS 1900 bands, as used in the US. The support relies on the phone hardware. Each band (900, DCS, 850, PCS, 480 and 450) can be enabled and disabled individually for each setting.
* | fw/rffe/compal: Add support for 850 bandSylvain Munaut2011-05-291-2/+2
| | | | | | | | | | | | The HW switch supports it. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
* | fw/trf6151: Use a #define to enable/disable out-of-spec warningsSylvain Munaut2011-05-291-0/+10
| | | | | | | | | | | | | | | | | | We also disable them by default because: - It can operate fine out of spec - Some phone will actually do it (like using the DCS port for PCS) - It's verbose for nothing for most people anyway Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
* | fw/trf6151: Better PLL settings routinesSylvain Munaut2011-05-291-89/+155
| | | | | | | | | | | | | | | | | | * We actually support TX 850/1900 now * We try to find the better settings for a given frequency, no matter if it's in spec or not ... (for e.g. TXin in DCS downlink is better done with PCS config) Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
* | fw/rffe: Add function to query RF wiringSylvain Munaut2011-05-294-0/+50
| | | | | | | | | | | | | | Depending on the chipset and the HW, not all ports are connected and we need to know what we can use when we have the choice ... Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
* | Merge commit '3710e462f85824cd9d84b3f95e6b2ea694119ff9'Sylvain Munaut2011-05-291-3/+0Star
|\|
| * gsmtap_util: Remove msg_free from the wq call backSylvain Munaut2011-05-291-3/+0Star
| | | | | | | | | | | | write_queue already frees the message after the callback is called. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
* | Makefile: disable the check for sys/socket.h in the libosmocore target buildHarald Welte2011-05-291-1/+3
| |
* | src/Makefile: The configure.in was renamed configure.ac -> update MakefileSylvain Munaut2011-05-291-1/+1
| | | | | | | | Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
* | Merge commit 'f2699501bc20a1dc5ee965ca1cbb8f18a3471ff8'Sylvain Munaut2011-05-293-4/+2Star
|\|
| * gsm/sysinfo: Fix rsl2sitype array sizeSylvain Munaut2011-05-291-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.hHarald Welte2011-05-291-1/+0Star
| |
| * socket: remove unused IPv4 related header includesHarald Welte2011-05-291-2/+0Star
| |
* | Merge commit '4d3a7b124e08a597d5f01fb2a71f3a4677a360a9'Harald Welte2011-05-2710-3/+240
|\|
| * socket: Skip ifa's without ifa->ifa_addrHarald Welte2011-05-241-0/+2
| | | | | | | | Apparently getifaddrs() returns ifa's without an ifa_addr set.
| * Import abis_nm_{chcomb4pchan,pchan4chcomb}() from openbscHarald Welte2011-05-241-0/+32
| |
| * Import sytem information related definitions + code from openbscHarald Welte2011-05-242-1/+132
| |
* | Merge commit '3036612d59a5c8d97b2086a5e7817613f45948ef'Harald Welte2011-05-2310-8/+569
|\|
| * abis_nm: remove abis_nm_obj_class_name / abis_nm_adm_state_nameHarald Welte2011-05-231-14/+4Star
| | | | | | | | | | | | | | | | 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 Welte2011-05-231-1/+1
| |
| * abis_nm: import definitions and common code on A-bis OML from OpenBSCHarald Welte2011-05-222-1/+407
| |
| * socket: use listen() and SO_REUSEADDR, new osmo_sock_init_ofd() functionHarald Welte2011-05-221-1/+34
| | | | | | | | | | | | osmo_sock_init_ofd() is a wrapper around osmo_sock_init() which will take care of initializing and registering a 'struct osmo_fd' for the newly-created socket.
| * remove debug printf from socket.cHarald Welte2011-05-221-1/+0Star
| |
| * gsmtap: deal with apps that call gsmtap_send*() with NULL gsmtap_instHarald Welte2011-05-221-0/+6
| |
| * vty: print actual application name rather than always OpenBSC on connectHarald Welte2011-05-221-3/+9
| |
* | layer23: update to new GSMTAP API in libosmocore >= 0.3.1Harald Welte2011-05-223-23/+23
| |
* | Merge commit 'e476442cf0e84c65565ace545f5b73602b5f0ffc'Harald Welte2011-05-224-10/+17
|\|
| * GSMTAP/socket code: Check for sys/socket.h and conditionally compileHarald Welte2011-05-222-7/+13
| |
* | Merge commit '33cb71ac91fb870702dbb71595dba4a554001e3c'Harald Welte2011-05-227-98/+311
|\|
| * gsmtap: rework GSMTAP API to be more future-proofHarald Welte2011-05-223-88/+251
| | | | | | | | | | | | * use write_queue where applicable * provide functions that work on raw FD and those with osmo_fd * add support for multiple gsmtap instances (no global variables)
| * logging: fix corrupted outputPablo Neira Ayuso2011-05-191-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Harald reported a problem in the logging: http://lists.osmocom.org/pipermail/openbsc/2011-May/002896.html Reverting 81e9636454294ae10ef9bc8bf149dd0248afce76 seems to fix the problem. However, that workaround looks ugly. Holger gives us another clue on what was wrong: http://lists.osmocom.org/pipermail/openbsc/2011-May/002905.html While digging in the manpage, I found this: "The functions vprintf(), vfprintf(), vsprintf(), vsnprintf() are equivalent to the functions printf(), fprintf(), sprintf(), snprintf(), respectively, except that they are called with a va_list instead of a variable number of arguments. These functions do not call the va_end macro. Consequently, the value of ap is undefined after the call. The application should call va_end(ap) itself afterwards."
* | src: use namespace prefix osmo_* for crc16 functionsPablo Neira Ayuso2011-05-153-10/+10
| | | | | | | | | | | | | | | | Summary of changes: s/crc16_table/osmo_crc16_table/g s/crc16/osmo_crc16/g s/crc16_byte/osmo_crc16_byte/g
* | src: use namespace prefix osmo_* for utilsPablo Neira Ayuso2011-05-157-17/+17
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | src: use namespace prefix osmo_wqueue*Pablo Neira Ayuso2011-05-153-5/+5
| | | | | | | | | | | | | | | | | | | | Summary of changes: s/struct write_queue/struct osmo_wqueue/g s/write_queue_init/osmo_wqueue_init/g s/write_queue_clear/osmo_wqueue_clear/g s/write_queue_enqueue/osmo_wqueue_enqueue/g s/write_queue_bfd_cb/osmo_wqueue_bfd_cb/g
* | src: use namespace prefix osmo_signal*Pablo Neira Ayuso2011-05-159-23/+23
| | | | | | | | | | | | | | | | | | Summary of changes: s/signal_cbfn/osmo_signal_cbfn/g s/register_signal_handler/osmo_signal_register_handler/g s/unregister_signal_handler/osmo_signal_unregister_handler/g s/dispatch_signal/osmo_signal_dispatch/g
* | src: use namespace prefix osmo_fd* and osmo_select*Pablo Neira Ayuso2011-05-157-34/+34
| | | | | | | | | | | | | | | | | | Summary of changes: s/struct bsc_fd/struct osmo_fd/g s/bsc_register_fd/osmo_fd_register/g s/bsc_unregister_fd/osmo_fd_unregister/g s/bsc_select_main/osmo_select_main/g
* | src: use namespace prefix osmo_timer*Pablo Neira Ayuso2011-05-1519-134/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary of changes: s/struct timer_list/struct osmo_timer_list/g s/bsc_add_timer/osmo_timer_add/g s/bsc_schedule_timer/osmo_timer_schedule/g s/bsc_del_timer/osmo_timer_del/g s/bsc_timer_pending/osmo_timer_pending/g s/bsc_nearest_timer/osmo_timers_nearest/g s/bsc_prepare_timers/osmo_timers_prepare/g s/bsc_update_timers/osmo_timers_update/g s/bsc_timer_check/osmo_timers_check/g