This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/osmocom-commitlog@lists.osmocom.org/.
gitosis at osmocom.org gitosis at osmocom.orgThis is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The Open Source GSM Base Band stack". The branch, fixeria/trx has been created at be7825d9834370f18cc42c7d8f1e9f85e4d7518c (commit) - Log ----------------------------------------------------------------- http://cgit.osmocom.org/osmocom-bb/commit/?id=be7825d9834370f18cc42c7d8f1e9f85e4d7518c commit be7825d9834370f18cc42c7d8f1e9f85e4d7518c Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Sun Nov 19 17:16:24 2017 +0700 fake_trx/ctrl_cmd.py: add help and basic command line options Sometimes it's important to use different CTRL port, for example when OsmoTRX is running at the same time. This change adds the corresponding command line options and help message. Change-Id: Ic6eeb69d9a1fc151eab2e63f3708e3d70e2e558b http://cgit.osmocom.org/osmocom-bb/commit/?id=e8cf6c4eefbd7429b76da0878672d00143412ae1 commit e8cf6c4eefbd7429b76da0878672d00143412ae1 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Sun Nov 19 15:41:19 2017 +0700 host/trxcon: fix: use valid names for FSM instances Since 8c4f5457 in libosmocore there are some limitations on FSM and FSM instance names. This change adjusts the names of both l1ctl_fsm and trx_fsm instances. Change-Id: Icaaac3f51bdcfe4f7723060179b8730c3a06529b http://cgit.osmocom.org/osmocom-bb/commit/?id=ac764e78fd1f14e29b7a686697a5c459c58f3f8b commit ac764e78fd1f14e29b7a686697a5c459c58f3f8b Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Sat Aug 19 12:38:24 2017 +0600 host/trxcon/scheduler: separate logging of data messages Change-Id: I3a33687a688db2a183b546425f71c7a0a7030594 http://cgit.osmocom.org/osmocom-bb/commit/?id=5e9959cf6ae7e3b9e6992c63c71044817c26140f commit 5e9959cf6ae7e3b9e6992c63c71044817c26140f Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Sat Aug 19 12:28:39 2017 +0600 host/trxcon/trx_if.c: separate logging of data messages Change-Id: I74ebe0441aeb41c324eafb6b586b2edd9ef4fd1a http://cgit.osmocom.org/osmocom-bb/commit/?id=3641fe61238aabaa84ecbf14ca8eefe18acd5b18 commit 3641fe61238aabaa84ecbf14ca8eefe18acd5b18 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Sat Aug 19 12:15:15 2017 +0600 host/trxcon: use LOGP instead of fprintf There is no (performance) reason to use fprintf instead of LOGP. Second one provides more useful information, such as a file name and a line number. Change-Id: I86dda5b3d746c7802442e4226578a06c04941721 http://cgit.osmocom.org/osmocom-bb/commit/?id=f979d44a72115050e3be95a7ce9bf29bffe964dc commit f979d44a72115050e3be95a7ce9bf29bffe964dc Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Sat Aug 19 11:59:03 2017 +0600 host/trxcon/trx_if.c: fix wrong logging category Change-Id: I0df0205e160fd9ea5811852077db7c49cddc7e8a http://cgit.osmocom.org/osmocom-bb/commit/?id=e38b500794456a353055639bedf91ac182d90419 commit e38b500794456a353055639bedf91ac182d90419 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Wed Aug 16 14:05:24 2017 +0600 host/trxcon/scheduler: fix prim queue flushing function For some reasons, the function, which is used to flush a queue of transmit primitives, was intended to flush a list of msgb instances instead of trx_ts_prim, so memory was being cleaned incorrectly. Moreover, the items weren't actually removed from queue. Change-Id: Ia84b57350a5c2eee0afebc65f62e30eaddb141d4 http://cgit.osmocom.org/osmocom-bb/commit/?id=863ccb7bd28e5342b84517afc01103b719f1d7ec commit 863ccb7bd28e5342b84517afc01103b719f1d7ec Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Wed Aug 16 13:36:20 2017 +0600 host/trxcon/scheduler: share common declarations of lchan handlers The training sequences, data / traffic indication and confirmation helpers are used by several lchan handlers, like xCCC and TCH. It would be better to have them all declared within a shared header. Change-Id: I71980f09a0c0e023370e1a651afc24fff2491552 http://cgit.osmocom.org/osmocom-bb/commit/?id=fd9aaaf3d0b00641fd26c114d44c0f963502e7c5 commit fd9aaaf3d0b00641fd26c114d44c0f963502e7c5 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Thu Aug 3 20:18:05 2017 +0600 host/trxcon/l1ctl.c: handle L1CTL_TCH_MODE_REQ Change-Id: Ib2332e1610fa873755cdfa745153c7b7d4a72a62 http://cgit.osmocom.org/osmocom-bb/commit/?id=28088c8910171dda2d737a90a8cd40f13052ecc6 commit 28088c8910171dda2d737a90a8cd40f13052ecc6 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Tue Aug 15 16:03:02 2017 +0600 host/trxcon/l1ctl.c: include DL frame info in L1CTL_DATA_CONF The l1ctl_info_dl header is expected to be a part of a L1CTL_DATA_CONF message, but was missing previously. Change-Id: Ia8dfaed924fd84395ba9ae539164eaa94f52d30b http://cgit.osmocom.org/osmocom-bb/commit/?id=3b1a03c31027e07554d17f7daf73e9f04735307a commit 3b1a03c31027e07554d17f7daf73e9f04735307a Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Tue Aug 15 14:30:19 2017 +0600 host/trxcon/l1ctl.c: use primitive management API for RACH Change-Id: I956ddfc4d1b47575715375c08f46c55953ec5fb6 http://cgit.osmocom.org/osmocom-bb/commit/?id=7d95f8821e82895f7952860923a7624287f9c42c commit 7d95f8821e82895f7952860923a7624287f9c42c Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Sun Aug 13 00:16:24 2017 +0600 host/trxcon/l1ctl.c: share primitive management code This change introduces shared primitive management functions, exposed from the l1ctl_rx_data_req() implementation: - sched_trx_init_prim() - allocates memory for a new primitive and its payload. Initializes primitive's header, setting the logical channel type and the payload length. After initialization, the talloc context of a primitive is a trx instance, which passed as the first argument. - sched_trx_push_prim() - decodes the timeslot index from chan_nr and pushes a primitive to its transimt queue. The talloc context of primitive is changed to the parent trx_ts instance after queuing. Both functions will be used for handling both L1CTL_TRAFFIC_REQ and L1CTL_RACH_REQ. Change-Id: I8169a1ef4ef54d91b50f3e213e4842f54af8b499 http://cgit.osmocom.org/osmocom-bb/commit/?id=82b8c21b210535feaed98487f0df12f3acc2e46c commit 82b8c21b210535feaed98487f0df12f3acc2e46c Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Sun Aug 13 01:20:19 2017 +0600 host/trxcon/l1ctl.c: don't fill l1ctl_info_ul into a primitive The UL frame header isn't used by lchan handlers. Change-Id: Ia1c63b6f17c3802b29f54299da1151a39edf3a03 http://cgit.osmocom.org/osmocom-bb/commit/?id=8e13093c88b8d8fd4e9751b9fe8695f86464d46e commit 8e13093c88b8d8fd4e9751b9fe8695f86464d46e Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Mon Aug 7 13:18:59 2017 +0600 host/trxcon/l1ctl.c: retune TRX only if current ARFCN differs Change-Id: I797dc284bd92d07ad4859f851a44d048407db86d http://cgit.osmocom.org/osmocom-bb/commit/?id=14d0f670640e4084d20ee9093dc0d2b74c8985a8 commit 14d0f670640e4084d20ee9093dc0d2b74c8985a8 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Sat Aug 5 02:22:12 2017 +0600 host/trxcon/scheduler: send stored tx_power to transceiver Previously a fixed fake value (10) was used. Change-Id: I8ba70bbda6c8c9249f8eb4294aeb41ab8769a19a http://cgit.osmocom.org/osmocom-bb/commit/?id=17a773c7345fae9e4b28801898fb0d2093218c22 commit 17a773c7345fae9e4b28801898fb0d2093218c22 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Fri Aug 4 16:37:45 2017 +0600 host/trxcon/l1ctl.c: fix wrong log level Change-Id: I0ac65d94b0ae3dd370675318a26a65d11c49cbbe http://cgit.osmocom.org/osmocom-bb/commit/?id=f5bbe5ebfec10efe04b45b60f6437b99e1a31e15 commit f5bbe5ebfec10efe04b45b60f6437b99e1a31e15 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Fri Aug 4 16:31:04 2017 +0600 host/trxcon: separate logging of L1 Control and L1 Data L1 Data is quite verbose, while Control is typically limited. And if you would need to debug some Control message handling, the Data messages wont overflow your terminal anymore. This change introduces a new logging category named 'DL1D'. Change-Id: Id830c8bf913f7a8ddc87c47f70a337ee4623abd8 http://cgit.osmocom.org/osmocom-bb/commit/?id=2e062039b662b02675d1795e14564021cde89c6e commit 2e062039b662b02675d1795e14564021cde89c6e Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Fri Aug 4 13:05:09 2017 +0600 host/trxcon/l1ctl.c: do nothing if CCCH mode matches When the L1CTL_CCCH_MODE_REQ is received, we don't need to reconfigure anything if the current mode matches requested. Change-Id: Ib8a511e4edd7210b1806f47e83f316be00a8cbb1 http://cgit.osmocom.org/osmocom-bb/commit/?id=f28f0d343f6579778b45874de694c74b88e13b6f commit f28f0d343f6579778b45874de694c74b88e13b6f Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Thu Aug 3 20:00:12 2017 +0600 fake_trx: whitespace fix Change-Id: Iad2be36777e4a2454e181c856c7902574a4ab20c http://cgit.osmocom.org/osmocom-bb/commit/?id=a59edfbd4062705266b300fe23cdf4d06b2a8671 commit a59edfbd4062705266b300fe23cdf4d06b2a8671 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Thu Aug 3 19:51:57 2017 +0600 fake_trx: separate DataInterface from burst_gen.py Change-Id: I325cf2ae59ef8834c2ddfb67206eede44d1e0acf http://cgit.osmocom.org/osmocom-bb/commit/?id=1e9501671a73ba19ec7e21db7ca7dadc8a2ebff7 commit 1e9501671a73ba19ec7e21db7ca7dadc8a2ebff7 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Thu Aug 3 19:34:39 2017 +0600 fake_trx: add options to specify fn, tn and pwr Change-Id: Ifd4f4864707596a69fece11218a4800b98551c31 http://cgit.osmocom.org/osmocom-bb/commit/?id=f9ab2a0b49aac3973d8a3f94762d2315740733cc commit f9ab2a0b49aac3973d8a3f94762d2315740733cc Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Mon Jul 31 20:06:36 2017 +0600 host/trxcon/scheduler: clean up some includes Change-Id: I47e3b953b80f4f822d563579d15498181009ca80 http://cgit.osmocom.org/osmocom-bb/commit/?id=0dc5b233e63d2656ee44bce7f25a564e1f8d9765 commit 0dc5b233e63d2656ee44bce7f25a564e1f8d9765 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Mon Jul 31 17:24:27 2017 +0600 host/trxcon/scheduler: share common code for lchan handlers The training sequences array is currently used by xCCH handlers, but will be also used for handling both TCH/F and TCH/H bursts. Moreover the code that forwards decoded L2 payloads to L1CTL protocol handlers was separated into a new shared function. Change-Id: I34c3de351362ebd9a070f49bb78d7bd976784b04 http://cgit.osmocom.org/osmocom-bb/commit/?id=f2179e6763d1a7ea551df1c026078d5cfd25a04d commit f2179e6763d1a7ea551df1c026078d5cfd25a04d Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Mon Jul 31 15:00:15 2017 +0600 host/trxcon/l1ctl.c: make l1ctl_tx_data_ind flexible Now this function can send both DATA and TRAFFIC indications. Change-Id: I945c10c317155917b6e6ce9d663d9cb46f2e085c http://cgit.osmocom.org/osmocom-bb/commit/?id=c0100cd145ade5ff36025d9640f78ee0aabb0846 commit c0100cd145ade5ff36025d9640f78ee0aabb0846 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Mon Jul 31 14:03:51 2017 +0600 host/trxcon/scheduler: get rid of useless nbits argument Change-Id: I8508676e2cb347396c6ca6b394f13113f3e63084 http://cgit.osmocom.org/osmocom-bb/commit/?id=8fd143ee5ae34573db56f2dd1c85ec5a6d889b32 commit 8fd143ee5ae34573db56f2dd1c85ec5a6d889b32 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Mon Jul 31 13:27:30 2017 +0600 host/trxcon/scheduler: pass trx_lchan_state to lchan handlers It's better to pass a trx_lchan_state instance directly from caller to lchan handler instead of passing trx_lchan_type. This way a handler wouldn't need to find lchan itself. Change-Id: I47a40542b03ab31da12b0abb1c263c83662ff018 http://cgit.osmocom.org/osmocom-bb/commit/?id=58c7faf5eb5d08180aa8ccf9597d9b38a330e034 commit 58c7faf5eb5d08180aa8ccf9597d9b38a330e034 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Sat Jul 29 23:43:52 2017 +0600 host/trxcon/scheduler: fix chan_nr parsing Previously, the chan_nr, received from L2, was parsed in a wrong way, so in some cases only one logical channel was activated or some messages (such as Measurement Requests) were sent on incorrect channel (e.g. on SDCCH instead of SACCH). This change reimplements the sched_trx_chan_nr2lchan_type(), and introduces a new function sched_trx_set_lchans(), whics will parse chan_nr and (de)activate required channels. Change-Id: I480311c65ef93bbc1644ec708dd2a68fd33091e0 http://cgit.osmocom.org/osmocom-bb/commit/?id=18bc7d5e064e249d8ab78226029fcf6af0aa8838 commit 18bc7d5e064e249d8ab78226029fcf6af0aa8838 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Fri Jul 28 16:03:05 2017 +0600 host/trxcon/scheduler: ignore incomplete sets of bursts To be able to decode one xCCH message, it's required to have all set of bursts collected (4/4). Otherwise we should not even try to decode an incomplete set. Change-Id: Iaa63462efe19b8e96102fc8c8d8c968a2df2c70e http://cgit.osmocom.org/osmocom-bb/commit/?id=56296999963dba3a311bc5e3afcb0dd4f5ee97e5 commit 56296999963dba3a311bc5e3afcb0dd4f5ee97e5 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Fri Jul 28 15:53:59 2017 +0600 host/trxcon/scheduler: drop a meaningless FIXME label Change-Id: If5497f4fdce22e986f46725cc1575a1e809ccdab http://cgit.osmocom.org/osmocom-bb/commit/?id=b4dd3ac9bbf0a4e8b1feb4e648dfad9977d37a79 commit b4dd3ac9bbf0a4e8b1feb4e648dfad9977d37a79 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Fri Jul 28 15:36:44 2017 +0600 host/trxcon/scheduler: use 'tn' instead of 'ts_num' The new timeslot index designation is more generic for Osmocom projects, so let's use one. Change-Id: I8c0118aad439816148490e57938d7e32b6e20877 http://cgit.osmocom.org/osmocom-bb/commit/?id=075c1ad738d66e536f93977969c432b709f4c350 commit 075c1ad738d66e536f93977969c432b709f4c350 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Fri Jul 28 15:15:05 2017 +0600 host/trxcon/scheduler: git rid of sched_trx_find_ts() After simplification of timeslot management API this function does not make sense. Change-Id: I2fc0c68d784c8f01e1452bc46f8e1eaac2917656 http://cgit.osmocom.org/osmocom-bb/commit/?id=6aa6690277e4a1551ed6c6b8482e513253d6865b commit 6aa6690277e4a1551ed6c6b8482e513253d6865b Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Fri Jul 28 15:00:40 2017 +0600 host/trxcon/scheduler: fix possible NULL deference We should make sure that required timeslot is not only allocated, but also configured, i.e. has a correct multiframe layout. Change-Id: I1d0b870c389802b51c709d089b80ac3fb3565fa8 http://cgit.osmocom.org/osmocom-bb/commit/?id=c045bc4fbefc2dd1bd9e45cd21ebd50740700c3e commit c045bc4fbefc2dd1bd9e45cd21ebd50740700c3e Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Fri Jul 28 14:47:41 2017 +0600 host/trxcon/scheduler: simplify timeslot management As we know the count of timeslots per GSM TDMA frame, it would be better to have an array of pointers to trx_ts instances instead of linux list, which is more usable for lists with unknown length. Change-Id: I9510a5cddde22950ceb8422e0990d59f05ed4d60 http://cgit.osmocom.org/osmocom-bb/commit/?id=539e9a1f18fcf8545a0d2f0646a928f99933622a commit 539e9a1f18fcf8545a0d2f0646a928f99933622a Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Fri Jul 28 13:56:09 2017 +0600 fake_trx: add a new tool for burst generation This change introduces a new tool named 'burst_gen.py'. One can be used for sending GSM bursts either to L1 (OsmoBTS or OsmocomBB) or to TRX (OsmoTRX and GR-GSM TRX). Currently it is only possible to send random bursts of different types: NB, FB, SB, AB. Change-Id: Ie14281222d29536b8690517e57af2a1007fcbc91 http://cgit.osmocom.org/osmocom-bb/commit/?id=d497bc82880e25adc988a13898c42b3f854aafdc commit d497bc82880e25adc988a13898c42b3f854aafdc Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Fri Jul 28 13:43:35 2017 +0600 fake_trx: add copyright message to clck_gen.py and ctrl_cmd.py Change-Id: Ia79279dd9e85d131d66d790f1f3fd64fb1914f58 http://cgit.osmocom.org/osmocom-bb/commit/?id=026ed14c4bc266fd7beccf8dd3335e9b91d40e26 commit 026ed14c4bc266fd7beccf8dd3335e9b91d40e26 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Wed Jul 26 20:28:01 2017 +0600 host/trxcon: adjust default verbosity level Change-Id: I91258091b59e5cdd30b767364fb48c3d67980eb7 http://cgit.osmocom.org/osmocom-bb/commit/?id=2001221d750282a87f98c14f10aabe4a88ef76f2 commit 2001221d750282a87f98c14f10aabe4a88ef76f2 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Thu Jul 27 16:53:09 2017 +0600 host/trxcon/scheduler: optionally reset clock counter Change-Id: I4565620fc0c5f64133c2674d2c972fc34245cf32 http://cgit.osmocom.org/osmocom-bb/commit/?id=00bb1d5a79c48da0142590e519f6452e72fb5ac7 commit 00bb1d5a79c48da0142590e519f6452e72fb5ac7 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Thu Jul 27 16:33:38 2017 +0600 host/trxcon/scheduler: implement sched_clck_reset() It's better to have the clock management API inside a single file. Change-Id: I92772f3db404e70fdffd530779613196afec61c9 http://cgit.osmocom.org/osmocom-bb/commit/?id=e6acd7bd075effc4906deb9b03b71a18a028da87 commit e6acd7bd075effc4906deb9b03b71a18a028da87 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Thu Jul 27 09:21:11 2017 +0600 host/trxcon: get rid of useless TRX_EVENT_RESET_IND Change-Id: I2aa4c000b37f64c351a806711b2d19bf27ef82bd http://cgit.osmocom.org/osmocom-bb/commit/?id=806e528bd1d21a307d6f1959e65b80f4978a9a36 commit 806e528bd1d21a307d6f1959e65b80f4978a9a36 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Thu Jul 27 09:14:20 2017 +0600 host/trxcon: don't flush trx control messages on reset Change-Id: I0851f168adeb012a933c796c4180ef507b1c57ec http://cgit.osmocom.org/osmocom-bb/commit/?id=b30031356cc6d4950b56bfd77060b0b1c3465a55 commit b30031356cc6d4950b56bfd77060b0b1c3465a55 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Thu Jul 27 08:57:13 2017 +0600 host/trxcon: get rid of useless trxcon fsm events Both SCH_EVENT_CLCK_IND and SCH_EVENT_CLCK_LOSS were not handled, moreover there is no purpose to keep them. Change-Id: I8efac459a40f4287e3325890809991d5ef46e9b1 http://cgit.osmocom.org/osmocom-bb/commit/?id=10fd43e586231a3f9e1095ece1340a023aef4b19 commit 10fd43e586231a3f9e1095ece1340a023aef4b19 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Thu Jul 27 08:53:38 2017 +0600 host/trxcon/l1ctl.c: reset FBSB expire timer on shutdown Change-Id: If3c8a34f0c1105c6acbfe4f9233482a31f6558de http://cgit.osmocom.org/osmocom-bb/commit/?id=6c3ce20d758cff3b7867a32490ae38a1eaaf2e9d commit 6c3ce20d758cff3b7867a32490ae38a1eaaf2e9d Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Wed Jul 26 20:28:53 2017 +0600 host/trxcon/l1ctl.c: handle L1CTL_PARAM_REQ Change-Id: I5c23520dc0f19147b41ad2e13681bf0a62e9facd http://cgit.osmocom.org/osmocom-bb/commit/?id=4fa6694006825376bac9299ebbd112b4ac1e16a6 commit 4fa6694006825376bac9299ebbd112b4ac1e16a6 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Wed Jul 26 19:46:47 2017 +0600 fake_trx: don't send clock indications to mobile stations Clock indications are only required for BTS, while MS can obtain current frame number from messages on DATA interface. Change-Id: Id2993847a3581cac0d355850ad09ceabc6116d3f http://cgit.osmocom.org/osmocom-bb/commit/?id=17481e2b88633271e9347c8413ffe8445fca902a commit 17481e2b88633271e9347c8413ffe8445fca902a Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Wed Jul 26 19:51:44 2017 +0600 host/trxcon/trx_if.c: get rid of CLCK interface Local clock counter can be corrected using frame number values, obtained from burst header on DATA interface. Change-Id: I5a813e3dc1b960831343b8ecb80718291f20e80d http://cgit.osmocom.org/osmocom-bb/commit/?id=9760a84a6db802d8c54d239a4d76334e93bac607 commit 9760a84a6db802d8c54d239a4d76334e93bac607 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Wed Jul 26 14:30:35 2017 +0600 host/trxcon: split sched_lchan_handlers.c It would be better to have xCCH, SCH and RACH burst handlers in separate files, because as much code we add to a single file, as harder it becomes to read and understand one. Change-Id: I456a60e68b32b792e63dd03ae97159dc101fd4bf http://cgit.osmocom.org/osmocom-bb/commit/?id=f604869944d594431654332b0bad59a6e7a997e4 commit f604869944d594431654332b0bad59a6e7a997e4 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Wed Jul 26 13:50:40 2017 +0600 host/trxcon: share trxcon fsm and talloc ctx via trxcon.h Change-Id: I9ef558f84a6dc1c9b8fc394c48e108676fa169f8 http://cgit.osmocom.org/osmocom-bb/commit/?id=77b6833146618d119642c1fc61779ca96bf6e99c commit 77b6833146618d119642c1fc61779ca96bf6e99c Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Sun Jul 16 17:15:56 2017 +0700 host/trxcon/scheduler: add a reference to GSM 05.02 Change-Id: I067af9c114bcbc5bd74515d5008e21a07fd0167e http://cgit.osmocom.org/osmocom-bb/commit/?id=f2af7d2953429a15cda5b52bedec226ea0b47aab commit f2af7d2953429a15cda5b52bedec226ea0b47aab Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Sun Jul 16 17:13:34 2017 +0700 host/trxcon/scheduler: confirm xCCH data sending Change-Id: I40994e7046c25306a0a323910a65e195d2d8fbd0 http://cgit.osmocom.org/osmocom-bb/commit/?id=f21f7036e8f60419c43c8da875098d93059f5c3a commit f21f7036e8f60419c43c8da875098d93059f5c3a Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Sun Jul 16 16:52:57 2017 +0700 host/trxcon/scheduler: implement TSC selection Change-Id: I004cc71aafe0a26e5141a4b2ffa90063e961be31 http://cgit.osmocom.org/osmocom-bb/commit/?id=538bea917b858b3c368adc2a59e070b7ae54c418 commit 538bea917b858b3c368adc2a59e070b7ae54c418 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Sun Jul 16 00:30:54 2017 +0700 fake_trx: fix compatibility with Python 3 Change-Id: Idce0c631aa3fcd20092a3773558570e442b2fec8 http://cgit.osmocom.org/osmocom-bb/commit/?id=b5e4f26f6fb4429248abd6d0287f00ee13201208 commit b5e4f26f6fb4429248abd6d0287f00ee13201208 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Sat Jul 15 22:51:12 2017 +0700 host/trxcon/l1ctl.c: handle L1CTL_DATA_REQ Change-Id: Ia72fd3d55c86697ff144446bbae94f76839eb5a1 http://cgit.osmocom.org/osmocom-bb/commit/?id=74f85951560712c97af36b9679edd9ec2922887f commit 74f85951560712c97af36b9679edd9ec2922887f Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Sat Jul 15 22:46:54 2017 +0700 host/trxcon/scheduler: implement xCCH TX capability Change-Id: I4da4816dcecc55eb9b4d2d6c631967026a5e4f68 http://cgit.osmocom.org/osmocom-bb/commit/?id=824bfa299d66039480da67e8d387a58fff845383 commit 824bfa299d66039480da67e8d387a58fff845383 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Sat Jul 15 15:20:35 2017 +0700 host/trxcon/l1ctl.c: handle L1CTL_DM_{EST,REL}_REQ Change-Id: Ifdf229a6dd3c73ede313d2bfe384032e3887cc3a http://cgit.osmocom.org/osmocom-bb/commit/?id=283fb5879c6c5fcc2418770cc0458ad1ab57c161 commit 283fb5879c6c5fcc2418770cc0458ad1ab57c161 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Fri Jul 14 18:33:48 2017 +0700 host/trxcon/scheduler: fix TS index in sched_trx_configure_ts() TS index was not assigned after allocation of a new one. Change-Id: I1b62218f863acf27fb1d1f46b273b345b97d33d8 http://cgit.osmocom.org/osmocom-bb/commit/?id=ae62021dc931d1fe850c488718acc265943f10b9 commit ae62021dc931d1fe850c488718acc265943f10b9 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Fri Jul 14 10:46:23 2017 +0700 host/trxcon/l1ctl.c: implement FBSB expire timer Change-Id: I27f96cbe951de164fcecaf19f8305db5e5b20229 http://cgit.osmocom.org/osmocom-bb/commit/?id=ff72b0724dab9f39051268eb5f51324027fc0b44 commit ff72b0724dab9f39051268eb5f51324027fc0b44 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Fri Jul 14 19:15:41 2017 +0700 host/trxcon/l1ctl.c: fix L1CTL_RACH_{REQ,CONF} handling Previously, L1CTL_RACH_REQ / L1CTL_RACH_CONF messages were handled without l1ctl_info_ul / l1ctl_info_dl header, what caused incorrect data parsing. Change-Id: I145d137f2cc7de234965e4fe64d9367ed6ccb999 http://cgit.osmocom.org/osmocom-bb/commit/?id=4de3591a3051dd47c783177c8e607ff4bf21ab00 commit 4de3591a3051dd47c783177c8e607ff4bf21ab00 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Fri Jul 14 10:28:26 2017 +0700 host/trxcon/l1ctl.c: fix incomplete msg in l1ctl_tx_fbsb_conf() Previously, all L1CTL_FBSB_CONF messages were sent without required l1ctl_info_dl header, what caused unpredictable behavior on higher layers (L2 & L3). Let's fix it. Change-Id: I8dae597bb4c09df36f80944434ce3624569f2cf8 http://cgit.osmocom.org/osmocom-bb/commit/?id=87e5f67f66393016a840aeabcea3b5f0ef5d3370 commit 87e5f67f66393016a840aeabcea3b5f0ef5d3370 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Fri Jul 14 09:19:22 2017 +0700 fake_trx: implement simple freq. filter Change-Id: Ifbeaebeaf68a88c07a05b672502f503ab7b890f2 http://cgit.osmocom.org/osmocom-bb/commit/?id=656e31f7620bce04e472cd2c3721d5f893347dfe commit 656e31f7620bce04e472cd2c3721d5f893347dfe Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Fri Jul 14 09:18:03 2017 +0700 host/trxcon/scheduler: notify transceiver about TS state Change-Id: I5783066e7c1b01e4ebb28d10b03f3290ff8a0f37 http://cgit.osmocom.org/osmocom-bb/commit/?id=b4da181c399671514e1d04185cea3212bf24793b commit b4da181c399671514e1d04185cea3212bf24793b Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Fri Jul 14 09:01:30 2017 +0700 fake_trx: handle SETSLOT command from BB Change-Id: I152486377ecd6777dbae7024e5d12cfdbcb17628 http://cgit.osmocom.org/osmocom-bb/commit/?id=924107d0d866a5bfe951054553a8e77a641a3d99 commit 924107d0d866a5bfe951054553a8e77a641a3d99 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Fri Jul 14 08:26:24 2017 +0700 host/trxcon/l1ctl.c: handle L1CTL_PM_REQ correctly Change-Id: Ib5a2198f21e747b6169ef141817ef22b241ef9fa http://cgit.osmocom.org/osmocom-bb/commit/?id=02996abedaa3136163b804cc2335f3aa8cc6ba0a commit 02996abedaa3136163b804cc2335f3aa8cc6ba0a Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Fri Jul 14 08:06:07 2017 +0700 fake_trx: implement power measurement emulation This change introduces a new class named FakePM, which is intended to generate pseudo-random power levels for base stations and noise levels inactive frequencies. Also, there is a new command in BB CTRL, which instructs transceiver to perform a power measurement on requested frequency. As we work in virtual Um-interface, a FakePM instance is used to provide some fake power levels. Change-Id: If48c12fd0b1ba10e1cf76559b359e17a1256617d http://cgit.osmocom.org/osmocom-bb/commit/?id=e39bb0f0d1a5615103ab631c0816ff27891fc0e4 commit e39bb0f0d1a5615103ab631c0816ff27891fc0e4 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Fri Jul 14 05:49:48 2017 +0700 fake_trx/ctrl_if.py: allow adding custom params to response Change-Id: I551bb425c25a5c978801d9e1e033b4ba352e259f http://cgit.osmocom.org/osmocom-bb/commit/?id=ef31f1bff220e025660554cc930055418b8cf98c commit ef31f1bff220e025660554cc930055418b8cf98c Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Fri Jul 14 06:25:37 2017 +0700 fake_trx/ctrl_cmd.py: print response to stdout Change-Id: Icdbb1802b81eddf42786fafcf96200a60db3cc24 http://cgit.osmocom.org/osmocom-bb/commit/?id=798e2b148cca4540245658730c3a51ff7acd6bd9 commit 798e2b148cca4540245658730c3a51ff7acd6bd9 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Fri Jul 14 05:32:19 2017 +0700 fake_trx: fix copy-paste error Change-Id: I9a6b294ad3501aa26d92667a995d08ca3be03da4 http://cgit.osmocom.org/osmocom-bb/commit/?id=794deea3ece4df9dc5f9da2734455fbab0b4d3ae commit 794deea3ece4df9dc5f9da2734455fbab0b4d3ae Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Fri Jul 14 04:10:41 2017 +0700 host/trxcon/trx_if.c: add power measurement command Change-Id: Ib947b60248cafad4edeb7e49c2bd3a1f81696239 http://cgit.osmocom.org/osmocom-bb/commit/?id=ca5eee6e3f50704e69507f41523ab885be7a58fb commit ca5eee6e3f50704e69507f41523ab885be7a58fb Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Fri Jul 14 03:19:13 2017 +0700 host/trxcon/trx_if.c: simplify response matching Previously, we had both length and string matching of request and response. To be able to implement commands with additional params in the future, this change drops the length matching part. Change-Id: Id4c50115f5f1b1da450ff8b8dcfd6ccf572d23f5 http://cgit.osmocom.org/osmocom-bb/commit/?id=d28f65917f0cc9106376020b107086f801fa2613 commit d28f65917f0cc9106376020b107086f801fa2613 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Fri Jul 14 01:47:40 2017 +0700 host/trxcon/scheduler: confirm successful RACH requests Change-Id: I079ecebbeeb3843288118fbb55fa520af22859bb http://cgit.osmocom.org/osmocom-bb/commit/?id=b91cdc6a4a7dee53b8bc6ded599d67803e5d139e commit b91cdc6a4a7dee53b8bc6ded599d67803e5d139e Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Wed Jul 12 18:46:56 2017 +0700 host/trxcon/l1ctl.c: handle L1CTL_RACH_REQ Change-Id: I4c06bcf987120c6271b6e2ad94454fa69689a03e http://cgit.osmocom.org/osmocom-bb/commit/?id=46b47f5a5fdba1aeae589fd1163f860ef83d8f11 commit 46b47f5a5fdba1aeae589fd1163f860ef83d8f11 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Fri Jul 14 01:38:48 2017 +0700 host/trxcon/scheduler: implement RACH handler Change-Id: I496dd682549570e37e63e7edcfc83a064c13a57f http://cgit.osmocom.org/osmocom-bb/commit/?id=2abc7a499845e6b684ea15fd5f0f2dfec7c5aad7 commit 2abc7a499845e6b684ea15fd5f0f2dfec7c5aad7 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Wed Jul 12 18:48:18 2017 +0700 host/trxcon/scheduler: implement TX queue handling Change-Id: I2b7bae53901156524134c4904ea1179268d85601 http://cgit.osmocom.org/osmocom-bb/commit/?id=59c98b14aca9bea8b805678cdd7ee7638c66695e commit 59c98b14aca9bea8b805678cdd7ee7638c66695e Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Wed Jul 12 17:54:09 2017 +0700 host/trxcon/scheduler: store BSIC in trx_instance We need to know BSIC value, before sending RACH requests. So, let's store it in trx_instance and update as soon as the first SCH burst is received after L1CTL_FBSB_REQ. Change-Id: I49574c3661f79f3b4941db6c651baebab2665c1b http://cgit.osmocom.org/osmocom-bb/commit/?id=85b700421f424c8de2d6b675124e92e3df2631e9 commit 85b700421f424c8de2d6b675124e92e3df2631e9 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Wed Jul 12 17:58:31 2017 +0700 host/trxcon/scheduler: modify trx_lchan_tx_func definition Initially, it was assumed that TX lchan handler will only compose a burst and return a pointer to the buffer. A burst itself could be sent somewhere outside, e.g. by caller. It would be better to send bursts exactly from handler, because in this case it isn't required to have an external buffer. Change-Id: Ic9dcdd366e68cec38c5840ed8f8cdda8236d67c7 http://cgit.osmocom.org/osmocom-bb/commit/?id=417183b78e58ac21c01fc2fc6034145f77632a28 commit 417183b78e58ac21c01fc2fc6034145f77632a28 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Wed Jul 12 17:49:43 2017 +0700 host/trxcon/trx_if.c: expose the trx_if_tx_burst() Change-Id: Iebd644879e2e9067a94cb638b4ec5b75f806923f http://cgit.osmocom.org/osmocom-bb/commit/?id=f437a3bebdf5aca4c636162d9156deb72f49fda8 commit f437a3bebdf5aca4c636162d9156deb72f49fda8 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Wed Jul 12 17:48:01 2017 +0700 host/trxcon/trx_if.c: use proper names for burst handlers Change-Id: I3d36e6d80fcf6353379aa308415c306e1a256a7d http://cgit.osmocom.org/osmocom-bb/commit/?id=0f227d802b1ed22c8863a794675222ceaac2fd8c commit 0f227d802b1ed22c8863a794675222ceaac2fd8c Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Wed Jul 12 17:40:22 2017 +0700 host/trxcon/trx_if.c: fix compatibility with OsmoTRX For some reasons, OsmoTRX sends 158-byte long sequences on DATA interface, where the latest two bytes aren't used. Change-Id: Ie9295e9b0d8956d9e87e2ced8cca9d5e68040f88 http://cgit.osmocom.org/osmocom-bb/commit/?id=a692cacdfc3edb96db7c5d9a9a19c0d99cc4f767 commit a692cacdfc3edb96db7c5d9a9a19c0d99cc4f767 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Wed Jul 12 17:24:16 2017 +0700 fake_trx/burst_fwd.py: append two unused bytes at the end Change-Id: I1d7ed076d93b37699520ee2a31c42c177f966865 http://cgit.osmocom.org/osmocom-bb/commit/?id=3187c8e68d6259f092e24123c9b96c6909d2338e commit 3187c8e68d6259f092e24123c9b96c6909d2338e Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Mon Jul 10 19:39:06 2017 +0700 target/fake_trx: initial release of virtual transceiver This is a set of tools for creating a virtual Um-interface between OsmocomBB and OsmoBTS. It may be extremely useful for testing and development of GSM stack, including both sides (MS and BTS). This software implements OsmoTRX (Osmocom's fork of OpenBTS transceiver) style clock (CLCK), control (CTRL) and data interfaces. So, OsmoBTS source code doesn't require any modifications, while for OsmocomBB you will need to use a new application - trxcon, which can be found in the 'fixeria/sdr_phy' branch until one is merged to master. Brief description of available applications: - fake_trx.py - main application, that allows to connect both OsmocomBB and OsmoBTS without actual RF hardware. Currently only a single MS may work with a single BTS. - clck_gen.py - a peripheral tool aimed to emulate TDMA frame clock generator. Could be used for testing and clock synchronization of multiple applications. It should be noted, that one relays on generic system timer (via Python), so a random clock jitter takes place. - ctrl_cmd.py - another peripheral tool, which could be used for sending CTRL commands directly in manual mode, and also for application fuzzing. Change-Id: Ib1fb80682002ac85a72fa6abef459a4c44f4ab97 http://cgit.osmocom.org/osmocom-bb/commit/?id=92aca364f7c0492689b990c3ea6937fe941e598a commit 92aca364f7c0492689b990c3ea6937fe941e598a Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Mon Jul 10 16:56:43 2017 +0700 host/trxcon: reset scheduler when L1CTL is lost Change-Id: I1fd8a610085c8591a820e784b7122de7b3032d15 http://cgit.osmocom.org/osmocom-bb/commit/?id=ca1d021c838193ff28c133e9a04d2b8ca3f484e3 commit ca1d021c838193ff28c133e9a04d2b8ca3f484e3 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Sat Jul 8 21:03:22 2017 +0700 host/trxcon/scheduler: drop resolved FIXME label Change-Id: I5e6b30300a457422b2deb10ff4c051c86beb7cd2 http://cgit.osmocom.org/osmocom-bb/commit/?id=3afd469a9aa8a333b6bf1dcc13a298e1b091b357 commit 3afd469a9aa8a333b6bf1dcc13a298e1b091b357 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Sat Jul 8 20:53:10 2017 +0700 host/trxcon/l1ctl.c: implement L1CTL_CCCH_MODE_{REQ/CONF} Change-Id: I72f36a99aebcbafd657ceb475fd1c50cc79e2094 http://cgit.osmocom.org/osmocom-bb/commit/?id=cc4282f5bedd1390934552c682302691b72e23e2 commit cc4282f5bedd1390934552c682302691b72e23e2 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Sat Jul 8 20:28:09 2017 +0700 host/trxcon/l1ctl.c: implement L1CTL_FBSB_CONF Change-Id: I33e4702d590a8d67285410fc8f1241bb9d4c50fc http://cgit.osmocom.org/osmocom-bb/commit/?id=99f8aea905de115a15460b23d69d352ccb563dc5 commit 99f8aea905de115a15460b23d69d352ccb563dc5 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Sat Jul 8 19:39:14 2017 +0700 host/trxcon/scheduler: fix channel deactivation Change-Id: I7c99b7bd99619084727af290b388f7492ba58531 http://cgit.osmocom.org/osmocom-bb/commit/?id=7ce986c6385f6648261b7b17483a740175cd3019 commit 7ce986c6385f6648261b7b17483a740175cd3019 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Sat Jul 8 18:58:51 2017 +0700 host/trxcon: send L1CTL_DATA_IND directly from lchan handler Change-Id: Idfc86a59469c7a0bba1c16177502844e59ed8887 http://cgit.osmocom.org/osmocom-bb/commit/?id=e738f7827e77a05a7b214bfab1309b2da232a31f commit e738f7827e77a05a7b214bfab1309b2da232a31f Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Sat Jul 8 18:50:14 2017 +0700 host/trxcon: handle L1CTL_RESET_REQ inside l1ctl.c Change-Id: Ie5930dec800885784fb38ce6188c9c969cd2ad4e http://cgit.osmocom.org/osmocom-bb/commit/?id=c457cbf712dbbcdfd2e63a713591f041f531d3fc commit c457cbf712dbbcdfd2e63a713591f041f531d3fc Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Sat Jul 8 18:30:56 2017 +0700 host/trxcon: handle L1CTL_FBSB_REQ inside l1ctl.c Change-Id: I5bcf39a20f1c6d3a2472e5e95725c6bb1c77bf5d http://cgit.osmocom.org/osmocom-bb/commit/?id=705fedceebc116402f8a6ae67480c994ed745593 commit 705fedceebc116402f8a6ae67480c994ed745593 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Sat Jul 8 18:16:42 2017 +0700 host/trxcon: bind L1CTL link with TRX and vice versa Change-Id: I575f8699bf06fd5e86f7935c6ab3216db5a26ec5 http://cgit.osmocom.org/osmocom-bb/commit/?id=6ab67cc58704089ebf5a27f973ebaf36943e435f commit 6ab67cc58704089ebf5a27f973ebaf36943e435f Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Fri Jul 7 07:11:26 2017 +0700 host/trxcon/scheduler: implement SCH decoding Change-Id: Ic5e7416271d647752cd1aaf90de51fa48286798e http://cgit.osmocom.org/osmocom-bb/commit/?id=228d42bc303284a9a7a1a8ad645d690b03ab7a26 commit 228d42bc303284a9a7a1a8ad645d690b03ab7a26 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Thu Jul 6 13:17:24 2017 +0700 host/trxcon/scheduler: implement xCCH decoding Change-Id: Ieb71e3727b525e85d161855973f63042366ccb05 http://cgit.osmocom.org/osmocom-bb/commit/?id=cf5c10f92a6ba150a40a0432b7faa526a68530eb commit cf5c10f92a6ba150a40a0432b7faa526a68530eb Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Thu Jul 6 11:34:15 2017 +0700 host/trxcon: link trxcon against libosmocoding Change-Id: I9bb45428e6617bd6936d24340e688aef4aeafc8f http://cgit.osmocom.org/osmocom-bb/commit/?id=604ac30825dd3e915daaf6b155c07f0e1d49d500 commit 604ac30825dd3e915daaf6b155c07f0e1d49d500 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Thu Jul 6 13:05:27 2017 +0700 host/trxcon: handle ccch_mode from L1CTL_FBSB_REQ Previously, the content of L1CTL_FBSB_REQ message was only used to obtain a new ARFCN and retune transceiver. Now, since we have working TDMA scheduler, some other params (like ccch_mode) may be used too. Change-Id: Iccabba376d67e091b55a604a2ae87f2aa86362e5 http://cgit.osmocom.org/osmocom-bb/commit/?id=62328cb08812ff440a699e92772b0c40bbc37869 commit 62328cb08812ff440a699e92772b0c40bbc37869 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Thu Jul 6 11:50:34 2017 +0700 host/trxcon: store arfcn and band in trx_instance Change-Id: I95414ff1033d77f11e231178b7721b70bc45e6df http://cgit.osmocom.org/osmocom-bb/commit/?id=ec3a1ba2e53506b476a24567bdb0fc29ce35e3ef commit ec3a1ba2e53506b476a24567bdb0fc29ce35e3ef Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Tue Jul 4 21:12:25 2017 +0700 host/trxcon/scheduler: handle bursts from TRX interface Change-Id: Iff15daf897f30cb98d4ec4c88b9fc259cb44ea4e http://cgit.osmocom.org/osmocom-bb/commit/?id=8baa369b239a262251af87d45cd4dfc4bfc5f4db commit 8baa369b239a262251af87d45cd4dfc4bfc5f4db Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Tue Jul 4 20:55:12 2017 +0700 host/trxcon/scheduler: implement management functions This change introduces some new functions to configure TDMA scheduler. They can be grouped as follows: - Scheduler management functions - sched_trx_init() - sched_trx_reset() - sched_trx_shutdown() - Timeslot management functions - sched_trx_add_ts() - sched_trx_find_ts() - sched_trx_del_ts() - sched_trx_reset_ts() - sched_trx_configure_ts() - Logical channel management functions - sched_trx_activate_lchan() - sched_trx_deactivate_lchan() - sched_trx_find_lchan() Change-Id: I6d0f437a68f0eb4e22bf635bf899b08673571085 http://cgit.osmocom.org/osmocom-bb/commit/?id=2e18fe463176702fd38f933f8691580fbc28cd9d commit 2e18fe463176702fd38f933f8691580fbc28cd9d Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Tue Jul 4 19:38:50 2017 +0700 host/trxcon/scheduler: add basic GSM PHY definitions Change-Id: I9f4faa15d5ca61af3e3fdbb95952ab4e4e0b7a4b http://cgit.osmocom.org/osmocom-bb/commit/?id=789040f91405d1fe9181a9e10b5b169c1177682d commit 789040f91405d1fe9181a9e10b5b169c1177682d Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Fri Jun 9 20:53:20 2017 +0700 host/trxcon/trx_if.c: handle clock indications Change-Id: I333c1c44578eb62c52d2d059b798dd5feae3e444 http://cgit.osmocom.org/osmocom-bb/commit/?id=9b1d398685e70e3bc9ed2fa1a07209a24e2b31b6 commit 9b1d398685e70e3bc9ed2fa1a07209a24e2b31b6 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Fri Jun 9 01:10:05 2017 +0700 host/trxcon/scheduler: add basic clock counter The core of scheduler is a simple clock counter, which relays on system time for now. One was a bit simplified and migrated from OsmoBTS. Due to system time is not an ideal clock source, the counter should be periodically corrected by clock indications from BTS. Change-Id: I27d85bd3e2c8bca3f876f73517027b9fe43c9825 http://cgit.osmocom.org/osmocom-bb/commit/?id=90a0d3c78dbebc9722629c31dd8fcdf19c148cb4 commit 90a0d3c78dbebc9722629c31dd8fcdf19c148cb4 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Mon Jul 25 00:20:37 2016 +0600 host/trxcon: initial release of L1CTL handlers Now it's possible to handle the following requests from layer23 apps: - L1CTL_FBSB_REQ - L1CTL_PM_REQ - L1CTL_RESET_REQ - L1CTL_ECHO_REQ It should be noted, that the L1CTL_PM_REQ isn't handled correctly yet, due to required task isn't implemented on the TRX side yet. Instead of this, temporary we are sending some fake responses. Change-Id: I343eca3e20922ddd83e06231811200b26da442f3 http://cgit.osmocom.org/osmocom-bb/commit/?id=423aeefc4047038417b8da49aa5887553ffcfad3 commit 423aeefc4047038417b8da49aa5887553ffcfad3 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Wed May 31 09:28:40 2017 +0700 host/trxcon: integrate osmo-fsm framework This change introduces the following state machines: - trxcon_app_fsm - main application state machine. This state machine handles different events, raised from program modules (such as trx_if.c or l1ctl.c). - l1ctl_link_fsm - L1CTL server state machine. - trx_interface_fsm - TRX interface state machine. The program modules (such as trx_if.c or l1ctl.c) should be as much independent from each other as possible. In other words, one module should not call methods from another, e.g. L1CTL handlers are not able to send any command to transceiver directly. Instead of that, they should use shared event set to notify the main state machine about something. Depending on current state and received event, main state machine 'decides' what to do. This approach would allow to easily reuse the source code almost 'as is' anywhere outside the project. Change-Id: I7ee6fc891abe5f775f5b7ebbf093181a97950dea http://cgit.osmocom.org/osmocom-bb/commit/?id=83a9c9ef50caf133df810587f645b70d11129919 commit 83a9c9ef50caf133df810587f645b70d11129919 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Sat Jun 3 19:02:20 2017 +0700 host/trxcon/trx_if.c: add ECHO command This command should be used to check transceiver availability. Change-Id: I6af2d5e413ff7ab751cb34e1659742b0f59b6cca http://cgit.osmocom.org/osmocom-bb/commit/?id=65664d088d3d2b30d108ca0b1b8b2f0244d0d7e4 commit 65664d088d3d2b30d108ca0b1b8b2f0244d0d7e4 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Thu Jun 8 15:46:44 2017 +0700 host/trxcon: fix NULL-pointer deference Change-Id: Idc036d4ea32b4aa3f4841d39144ef1733414728e http://cgit.osmocom.org/osmocom-bb/commit/?id=48f2cb4b3b94000647358ddd7d06edbb55495bba commit 48f2cb4b3b94000647358ddd7d06edbb55495bba Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Sun Jul 24 01:40:41 2016 +0600 host/trxcon: initial release of transceiver interface This is the second side of the 'OsmocomBB <-> SDR' bridge. Most of source code taken from the OsmoBTS project. Change-Id: I96fa3ada05d010f31af419a4950fd8ae2b62ef34 http://cgit.osmocom.org/osmocom-bb/commit/?id=9f5fefe792628d995945158e653b388c01969d86 commit 9f5fefe792628d995945158e653b388c01969d86 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Fri Jul 22 22:57:50 2016 +0600 host/trxcon: initial release of L1CTL interface There are two sides of the 'OsmocomBB <-> SDR' bridge. One of them is the L1CTL interface, which is used by existing layer23 applications to drive GSM L1. Exactly this interface is provided by the osmocon application, but instead of forwarding messages between both host software and firmware we need to handle incoming messages from layer23 applications, perform some GSM L1 specific conversations (coding, mapping, interleaving, etc.), then finally forward them to transceiver through the scheduler. And vice versa. This code is just a basic implementation of UNIX socket handlers, so currently we can only accept and drop connections from layer23 applications. Change-Id: I58d069bcc7742b42c0bf95e52063933bf2c352ff http://cgit.osmocom.org/osmocom-bb/commit/?id=8975b437ed476a1655e19b68d113bc93c468b087 commit 8975b437ed476a1655e19b68d113bc93c468b087 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Thu Jun 30 00:41:58 2016 +0600 host/trxcon: introduce a new 'trxcon' application This app is similar to the osmocon, but designed to connect L2 & L3 apps with SDR transceiver insted of obsolete Calypso based hardware. Change-Id: Ie3c17f19aad9c26f3c49966a7c96b65911f62369 ----------------------------------------------------------------------- hooks/post-receive -- The Open Source GSM Base Band stack