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_tch has been created at 097d19a062ffffebed98430d9170e4087efde84b (commit) - Log ----------------------------------------------------------------- http://cgit.osmocom.org/osmocom-bb/commit/?id=097d19a062ffffebed98430d9170e4087efde84b commit 097d19a062ffffebed98430d9170e4087efde84b Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Sun Aug 13 01:35:22 2017 +0600 host/trxcon/l1ctl.c: handle L1CTL_TRAFFIC_REQ Change-Id: Ibdf2d4f6aa464250a4c6951af86c06eb3fd3b98b http://cgit.osmocom.org/osmocom-bb/commit/?id=64e08c45abae6e07c765fbc39a424b1a863c1d35 commit 64e08c45abae6e07c765fbc39a424b1a863c1d35 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Sun Aug 13 01:30:18 2017 +0600 host/trxcon/scheduler: add TCH/H channel support Change-Id: Ie5ee49bfc5dc6cfb1348f02d6c71c701e1c55aa3 http://cgit.osmocom.org/osmocom-bb/commit/?id=ede8789c57ac4977dcce5fbe4af2ad119fa7e3d1 commit ede8789c57ac4977dcce5fbe4af2ad119fa7e3d1 Author: Vadim Yanitskiy <axilirator at gmail.com> Date: Mon Aug 7 14:24:18 2017 +0600 host/trxcon/scheduler: add TCH/F channel support Change-Id: If6b0eaede2b484484d2a824e7219ff04483266a1 http://cgit.osmocom.org/osmocom-bb/commit/?id=fb06462d3c9c93f730c4234f9f062fd18b0bf5f2 commit fb06462d3c9c93f730c4234f9f062fd18b0bf5f2 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=d7afb9f8d71b89474b2c37095c4b938efbbcf3fc commit d7afb9f8d71b89474b2c37095c4b938efbbcf3fc 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=dedf3e42d3dd6e239a0586778996816f9f0b0fd9 commit dedf3e42d3dd6e239a0586778996816f9f0b0fd9 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=71c7b4622ff844e0cf9eddc16472e18f06c92a26 commit 71c7b4622ff844e0cf9eddc16472e18f06c92a26 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=cd6196c7d4cc69a5f7072bf778d5a76c3406051e commit cd6196c7d4cc69a5f7072bf778d5a76c3406051e 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=9c310fd803865f38396daabc0582856910b721d9 commit 9c310fd803865f38396daabc0582856910b721d9 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=da83ccf9f7013289ca37931cf1ec3a8b6aaf4753 commit da83ccf9f7013289ca37931cf1ec3a8b6aaf4753 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=41de73575289b0272a20a7b17ad04218e1816808 commit 41de73575289b0272a20a7b17ad04218e1816808 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=41b0b3f33363327a090f66bd06a84f83a9af1baa commit 41b0b3f33363327a090f66bd06a84f83a9af1baa 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=842a5b2edc1c3588e9439b7adca812c7dd5facf1 commit 842a5b2edc1c3588e9439b7adca812c7dd5facf1 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=eba1c26068d0acad2f11eb5715312dd774512d59 commit eba1c26068d0acad2f11eb5715312dd774512d59 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=d562255653f2002ac7555f260c9042691d690e40 commit d562255653f2002ac7555f260c9042691d690e40 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=665e1e2baad0aed753d4dc59f27f985414d77b50 commit 665e1e2baad0aed753d4dc59f27f985414d77b50 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=1baca021272f031b9ce4d08c830a174d2740c821 commit 1baca021272f031b9ce4d08c830a174d2740c821 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=6df90ae42e01d475ae07cd02ca5ae9d460bd1a76 commit 6df90ae42e01d475ae07cd02ca5ae9d460bd1a76 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=f6b1fc2470b119ef749fb771a79a751d9cfc2347 commit f6b1fc2470b119ef749fb771a79a751d9cfc2347 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=8daa2c5c96d76a4b52c9827d28b5c030fb57c204 commit 8daa2c5c96d76a4b52c9827d28b5c030fb57c204 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=8bac0863cdf0212e7fa1fd56ca40899f694cc1bf commit 8bac0863cdf0212e7fa1fd56ca40899f694cc1bf 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=405dd5f51552f11c5387c4241b9bedbcb0974a1e commit 405dd5f51552f11c5387c4241b9bedbcb0974a1e 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=18c1d3c093edea8559d8733b9b42555e6f142118 commit 18c1d3c093edea8559d8733b9b42555e6f142118 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=6bb0d1b7f13afaa1785d90b0d724314fe09834db commit 6bb0d1b7f13afaa1785d90b0d724314fe09834db 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=abd867c4195b95b8b44fdabfc86b97c94c5902b1 commit abd867c4195b95b8b44fdabfc86b97c94c5902b1 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=962fa7d345dc9cbeaff5488665a49f6c44bde77d commit 962fa7d345dc9cbeaff5488665a49f6c44bde77d 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=d6ff1aafc2ed44269fa8f11126d0548dd2401d34 commit d6ff1aafc2ed44269fa8f11126d0548dd2401d34 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=8cab4406da7bd6406b788fe7b7a53bd9e61e5669 commit 8cab4406da7bd6406b788fe7b7a53bd9e61e5669 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=49708647b2821e96f3bd50a4953b34e26e99d111 commit 49708647b2821e96f3bd50a4953b34e26e99d111 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=0067c2cde269081ee8951e607a6c6025e7fc6c42 commit 0067c2cde269081ee8951e607a6c6025e7fc6c42 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=b743b60d7613c224d509725d2096aaea5aad74ef commit b743b60d7613c224d509725d2096aaea5aad74ef 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=32c49df6591a9c3d792082e54eea31dc4db51075 commit 32c49df6591a9c3d792082e54eea31dc4db51075 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=e21e8f4141b89c97bed0a58c390d2cf80209a63f commit e21e8f4141b89c97bed0a58c390d2cf80209a63f 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=d18a914aa71d9e65b45ee5878636554c9da922bc commit d18a914aa71d9e65b45ee5878636554c9da922bc 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=49bf1fde69bacd3c78178cbeb0cc25baae14144c commit 49bf1fde69bacd3c78178cbeb0cc25baae14144c 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=f94c3217978cb33ea4cb6bbf1ade05c7656d5c58 commit f94c3217978cb33ea4cb6bbf1ade05c7656d5c58 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=63a0797dfc9d50c361580e29dbca554eb668fb69 commit 63a0797dfc9d50c361580e29dbca554eb668fb69 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=8e2db3bbc83fe6037d02fb6135f98454a715023e commit 8e2db3bbc83fe6037d02fb6135f98454a715023e 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=1515045c816a999b9470651acb2eb6e30148e02c commit 1515045c816a999b9470651acb2eb6e30148e02c 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=205d500008411e356e8e56a7f9ff20f0a62efd5f commit 205d500008411e356e8e56a7f9ff20f0a62efd5f 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=e466974627f9483434f1314eff3e6f210f8389dd commit e466974627f9483434f1314eff3e6f210f8389dd 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=d8f55d3d602342c5476dcde3cdb27d8f9c27e7ed commit d8f55d3d602342c5476dcde3cdb27d8f9c27e7ed 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=08cea11b8efe34f45bbebfa3aef2e027450a230f commit 08cea11b8efe34f45bbebfa3aef2e027450a230f 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=af4acb0d6b6f86353d7769e1cbae846fd5eeb7f0 commit af4acb0d6b6f86353d7769e1cbae846fd5eeb7f0 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=5657fb2f69e18f929d5aecaf46eaa64e7c3961fa commit 5657fb2f69e18f929d5aecaf46eaa64e7c3961fa 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=8b8ebf6d79e53ae247d8dfaca94e1c2f7710d355 commit 8b8ebf6d79e53ae247d8dfaca94e1c2f7710d355 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=324a3aa395ec155689027388d6f4492979244513 commit 324a3aa395ec155689027388d6f4492979244513 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=b39de2242bb923baa36f2f33e8d48d78c8040df0 commit b39de2242bb923baa36f2f33e8d48d78c8040df0 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=139b4d0d330193c0709ae8ad6dc6b5761838c9d4 commit 139b4d0d330193c0709ae8ad6dc6b5761838c9d4 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=d961073b09e2ce6122c7b09166fef9413c62f2af commit d961073b09e2ce6122c7b09166fef9413c62f2af 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=f1a93f730f8872dfaf24435e830604f0400891ff commit f1a93f730f8872dfaf24435e830604f0400891ff 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=5e4011dfa7a217efb350b6e8e9ce1b0345ba19f4 commit 5e4011dfa7a217efb350b6e8e9ce1b0345ba19f4 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=00a448c5e8c83efc8d3d7794bf6b15f03d5f9f8a commit 00a448c5e8c83efc8d3d7794bf6b15f03d5f9f8a 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=5ba6e8c21b2eeafc1c9a93f4430fd8c87a068b7e commit 5ba6e8c21b2eeafc1c9a93f4430fd8c87a068b7e 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=209b6b3d339eb8758e57d2297adfaea0e811fd9b commit 209b6b3d339eb8758e57d2297adfaea0e811fd9b 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=55040a29a8eef6adde1a9f6ea5f977672b513814 commit 55040a29a8eef6adde1a9f6ea5f977672b513814 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=f7da2a39bb2f86e1de052cd2f6b6ae8e748a93f6 commit f7da2a39bb2f86e1de052cd2f6b6ae8e748a93f6 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=1720f547d9019b1e33ef4d57c393c3b92e58d214 commit 1720f547d9019b1e33ef4d57c393c3b92e58d214 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=9d2055ca9aadf3b92189a5095c38fc176dd6dacb commit 9d2055ca9aadf3b92189a5095c38fc176dd6dacb 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=785d9d24247c82cfd06745fb311c93039e2b0f23 commit 785d9d24247c82cfd06745fb311c93039e2b0f23 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=f2cedcf6972aef4b7231ac78aec2b98111870fb9 commit f2cedcf6972aef4b7231ac78aec2b98111870fb9 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=b8138c7408caf0a305d6fa4019bf20e7cbfbdc1c commit b8138c7408caf0a305d6fa4019bf20e7cbfbdc1c 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=c8c62c18e39faec573d8aaf5525965392a162548 commit c8c62c18e39faec573d8aaf5525965392a162548 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=03f13c610947333d46ec0206ff45c8d85508f759 commit 03f13c610947333d46ec0206ff45c8d85508f759 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=32ae64226f90eb5d9c6968185df9e33c612d90d7 commit 32ae64226f90eb5d9c6968185df9e33c612d90d7 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=611f222172b33c9c33c428dcbda379c83c7bad03 commit 611f222172b33c9c33c428dcbda379c83c7bad03 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=a11815672dd95176204eb5fff1babc1bd56258ff commit a11815672dd95176204eb5fff1babc1bd56258ff 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=1736fb8f2306e2d911409e3fc5f7d94a9f5d2d69 commit 1736fb8f2306e2d911409e3fc5f7d94a9f5d2d69 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=acdac2e7889344df3bca582898819148c3d1d50f commit acdac2e7889344df3bca582898819148c3d1d50f 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=02b2297015add7fe4bdf881dd7b38c763c846afe commit 02b2297015add7fe4bdf881dd7b38c763c846afe 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=cdc084e0a7042819c68f11590cd4ee5f0a300d53 commit cdc084e0a7042819c68f11590cd4ee5f0a300d53 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=13bff3875802ffd20981675ef13ffa099fc4d321 commit 13bff3875802ffd20981675ef13ffa099fc4d321 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=1d0b3c9f7e31ce1faf3044def61390a516fa3e56 commit 1d0b3c9f7e31ce1faf3044def61390a516fa3e56 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=a2be625b4f90b3d85a97abdf1b93a72bf868716b commit a2be625b4f90b3d85a97abdf1b93a72bf868716b 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=99b1fcf066b28b71613331a39c88dab5a74f59c2 commit 99b1fcf066b28b71613331a39c88dab5a74f59c2 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=ba829de44980945cc54be387dbfff4ff13604708 commit ba829de44980945cc54be387dbfff4ff13604708 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=d7e489b52c9c487efabf7f8dc0b38f286079453d commit d7e489b52c9c487efabf7f8dc0b38f286079453d 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=ddfe487727536dbdd74c8cf6a6145a3f30877e4d commit ddfe487727536dbdd74c8cf6a6145a3f30877e4d 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=0cbded72d971d67aea931d0266658d518417b815 commit 0cbded72d971d67aea931d0266658d518417b815 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=07b4268239937a8e90560983cd67d7250d8fac54 commit 07b4268239937a8e90560983cd67d7250d8fac54 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=663dce62608205c56d2bca4717fd9640753c0dc3 commit 663dce62608205c56d2bca4717fd9640753c0dc3 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=63c86222b55bbbc06ecefbd5c73abda2251eca9e commit 63c86222b55bbbc06ecefbd5c73abda2251eca9e 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=89edd506d5a70887c2ae6db191321eda25b82429 commit 89edd506d5a70887c2ae6db191321eda25b82429 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=1f76070dd0e6941e17bb23977d38621a730ec965 commit 1f76070dd0e6941e17bb23977d38621a730ec965 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=30620e720c46cc83d737466aa8bd78a1a45f4116 commit 30620e720c46cc83d737466aa8bd78a1a45f4116 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=fce2e66fbb0098997812bbd76d89737ccbb257eb commit fce2e66fbb0098997812bbd76d89737ccbb257eb 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=dd5c09faf65e11a46326407b56e3bf0f9b380e3f commit dd5c09faf65e11a46326407b56e3bf0f9b380e3f 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=cb1b60a7c1fbdbdf7fb204ecde57dd95e04b26a5 commit cb1b60a7c1fbdbdf7fb204ecde57dd95e04b26a5 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=059d165cd69491a9c03d6ac3f9109f4bf4f10cdc commit 059d165cd69491a9c03d6ac3f9109f4bf4f10cdc 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=d102624d2660777f6911fcc4712ba33900726cc2 commit d102624d2660777f6911fcc4712ba33900726cc2 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=52fd453181ce320cd426fe113b21e16e6b8b9cba commit 52fd453181ce320cd426fe113b21e16e6b8b9cba 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=6bf0111d387dabe70955a153efbd307fd4e68753 commit 6bf0111d387dabe70955a153efbd307fd4e68753 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=b3395a9c0c752184ea538a5750063505a229cbb3 commit b3395a9c0c752184ea538a5750063505a229cbb3 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=160a88174786ced00a4e7930dd957782f7fc89c3 commit 160a88174786ced00a4e7930dd957782f7fc89c3 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=44fa340a66415b1cbc54a40d553ebe72b1d4685e commit 44fa340a66415b1cbc54a40d553ebe72b1d4685e 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=40375003b7e6eeeb34fe047306a5b907af6c1ba6 commit 40375003b7e6eeeb34fe047306a5b907af6c1ba6 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=8e1553470b79c4571c12efdee4e8816f40d33272 commit 8e1553470b79c4571c12efdee4e8816f40d33272 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=ac1531cd92b49353ca5850609d45233c32d139ea commit ac1531cd92b49353ca5850609d45233c32d139ea 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=2637b084011859c034d6447c789871ac08d2ba34 commit 2637b084011859c034d6447c789871ac08d2ba34 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=a08d66fbaaf983c5fc70af8b47d36bc1e26e938f commit a08d66fbaaf983c5fc70af8b47d36bc1e26e938f 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=e067050ab0762c053b41b63ecb9be73e185b62c1 commit e067050ab0762c053b41b63ecb9be73e185b62c1 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=3b72dbe0ff1255cc1197715ceabeaf5f5afb0f1e commit 3b72dbe0ff1255cc1197715ceabeaf5f5afb0f1e 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=cb0625cea9bd2a3d775083f0a505347baf913771 commit cb0625cea9bd2a3d775083f0a505347baf913771 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=a1e379842c09d3b9effe80ad84e4d1d5ddcae92b commit a1e379842c09d3b9effe80ad84e4d1d5ddcae92b 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=1d53baccfafb96a0430c275efd2a9400f87e298a commit 1d53baccfafb96a0430c275efd2a9400f87e298a 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=e2ddfadc5fec6d4c28c2acfe70cebc25fc15fa5e commit e2ddfadc5fec6d4c28c2acfe70cebc25fc15fa5e 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=03265a13ef5110a00e3a8be8a74aeee9d76a9832 commit 03265a13ef5110a00e3a8be8a74aeee9d76a9832 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