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, master has been updated via c8d1ad36eb2e096771d9d29c9bcd54720a798d6c (commit) via 5abc25c85236af77a807b8e180fff20924c1362d (commit) via 7e65a1483f4c8ad6178cbb96b1a1ac212c228ee3 (commit) via 020186009cc0f4a92296d70f66cf1bc2cb22bfec (commit) via 203f7e0c7fc9c40cb85ce4370f0e8fbd62888c04 (commit) via 59cc3c3ab1efcaa8f44a3b76bd9b036018fea074 (commit) via ba1f7c297483a2eaa2478aeb23edf6a4baea8501 (commit) via 7ea7b8ac050b1d52f175e70446b2bd8eb768bb39 (commit) via c1705d53db746551a12fe85229bda41a4d5b508a (commit) via e7600a0d57c5f1c0add894cdba7904a73775ca1f (commit) via a090f635b03780f651d54033c6f8c616fdd8f870 (commit) via 30cc674df8bd93560bafbc0ae292835c2770f7d4 (commit) via 241fe9c3e24e44ca5fb9882ad49e98325b312a62 (commit) via 360de6bead3b1eaa897a55b8d8436c5613b7d100 (commit) via 2dfe6031177b87eb602e248571e949ac65200f70 (commit) via 63f3ce248295d945923b37a2add8165297854a76 (commit) via 0a68f6884c052b9f8d9f8bda0316c79405436851 (commit) via 5385c7d19a437c0cf568d09f90adbe2f6ef1e7ec (commit) via 5490fa9097efeeb13529ebf30c50afd001ea9e0c (commit) via 2e265c897a7a1d099c08807f0587dfbfc83f260d (commit) via fa2ce6396fae18ded5bb9620b4ab761ab417c4ba (commit) via 2fe2ba3d466dd003b63e4de4b52610005f2d5354 (commit) via a4aaa14878f51bb61bd435a17ea95abe0e4a4e63 (commit) from 064ffe6563cdf7105d97e3d45c2d14520cea8352 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/osmocom-bb/commit/?id=c8d1ad36eb2e096771d9d29c9bcd54720a798d6c commit c8d1ad36eb2e096771d9d29c9bcd54720a798d6c Author: Harald Welte <laforge at gnumonks.org> Date: Wed Jul 12 23:12:54 2017 +0200 VIRT-PHY: Fix all compiler warnings on gcc-6.3.0 Change-Id: I95b93ec907fbfd180a0f2ac681dd63791ede24db http://cgit.osmocom.org/osmocom-bb/commit/?id=5abc25c85236af77a807b8e180fff20924c1362d commit 5abc25c85236af77a807b8e180fff20924c1362d Author: Harald Welte <laforge at gnumonks.org> Date: Wed Jul 12 23:09:54 2017 +0200 VIRT-PHY: Make sure heaer files are part of 'make dist' Change-Id: Ib4cd0463da1cf22e04a1debfed55a33f7b6542d4 http://cgit.osmocom.org/osmocom-bb/commit/?id=7e65a1483f4c8ad6178cbb96b1a1ac212c228ee3 commit 7e65a1483f4c8ad6178cbb96b1a1ac212c228ee3 Author: Harald Welte <laforge at gnumonks.org> Date: Wed Jul 12 22:58:39 2017 +0200 VIRT-PHY: coding style / API usage cleanup This is the result of my manual clean-up of the many coding style issues found in the stumpf/virt-phy branch of OsmocomBB. Some may remain, but it's much closer to what we're used to in the Osmocom world now. Change-Id: I3aa95dbef75d7749d490aad0237d074528527e8b http://cgit.osmocom.org/osmocom-bb/commit/?id=020186009cc0f4a92296d70f66cf1bc2cb22bfec commit 020186009cc0f4a92296d70f66cf1bc2cb22bfec Author: Harald Welte <laforge at gnumonks.org> Date: Wed Jul 12 21:57:58 2017 +0200 VIRT-PHY: Remove non-overridable CFLAGS "-g -O0" If the user wants debugging / no optimziation, they can always pass the related CFLAGS at ./configure time, there's no nee to have them hard-coded in the actual Makefiles. Change-Id: I6a2b30f946579bbd49bf66c4f59d160a975a1b56 http://cgit.osmocom.org/osmocom-bb/commit/?id=203f7e0c7fc9c40cb85ce4370f0e8fbd62888c04 commit 203f7e0c7fc9c40cb85ce4370f0e8fbd62888c04 Author: Sebastian Stumpf <sebastian.stumpf87 at googlemail.com> Date: Mon Apr 24 10:45:17 2017 +0200 VIRT-PHY: Configurable signal power reductions for multiple arfcns. Model was expanded and holds now power management information consisting of an array of received power levels for all arfcns and one for the reduction of this signal in dbm. The reduction is configurable by commandline by --arfcn-sig-lev-red 666,12:888,13. The signal level is assumed to be max level (-63) if a packet from that arfcn is received within a timeframe (also configurable via cmd -- timeout-pm 5:800 == <seconds>:<microseconds>). After that timeout it will be reduced to min level (-110). Change-Id: I369ca26703f14bba4e9334b8f417deef640462f9 http://cgit.osmocom.org/osmocom-bb/commit/?id=59cc3c3ab1efcaa8f44a3b76bd9b036018fea074 commit 59cc3c3ab1efcaa8f44a3b76bd9b036018fea074 Author: Sebastian Stumpf <sebastian.stumpf87 at googlemail.com> Date: Thu Apr 6 16:46:52 2017 +0200 VIRT-PHY: Extracted common virtphy utils. Change-Id: I759c6e9805ab012f9553bcba9b5d379193462955 http://cgit.osmocom.org/osmocom-bb/commit/?id=ba1f7c297483a2eaa2478aeb23edf6a4baea8501 commit ba1f7c297483a2eaa2478aeb23edf6a4baea8501 Author: Sebastian Stumpf <sebastian.stumpf87 at googlemail.com> Date: Sun Mar 12 14:11:40 2017 +0100 VIRT-PHY: Added option parsing. Available options: dl-rx-grp: mcast group messages on downlink are received from ul-tx-grp: mcast group messages on uplink are sent to port: port used for mcast sockets log-mask: logging mask l1ctl-sock: l1ctl socket path to connect to l23 Change-Id: Id939e5d7b90b592c85ad19f3ad6f459351e2d8f6 http://cgit.osmocom.org/osmocom-bb/commit/?id=7ea7b8ac050b1d52f175e70446b2bd8eb768bb39 commit 7ea7b8ac050b1d52f175e70446b2bd8eb768bb39 Author: Sebastian Stumpf <sebastian.stumpf87 at googlemail.com> Date: Tue Mar 7 17:59:54 2017 +0100 VIRT-PHY: Add downlink filter for msg on dedicated channels. Messages incoming on dedicated channel (SDCCH/8, SDCCH/4) are no longer forwarded to l23 if their timeslot/subchannel is not fitting the ones configured by l23 via L1CTL_DM_EST_REQ. Change-Id: I6112b20e31c25636e53d3a6cda6f7443a94ff9c3 http://cgit.osmocom.org/osmocom-bb/commit/?id=c1705d53db746551a12fe85229bda41a4d5b508a commit c1705d53db746551a12fe85229bda41a4d5b508a Author: Sebastian Stumpf <sebastian.stumpf87 at googlemail.com> Date: Sat Mar 4 18:17:27 2017 +0100 VIRT-PHY: Fixed power management and PCS sync. PCS flag was ignored in fbsb. Power management returned a perfect link for all possible arfcns causing the mobile trying to sync to all these afterwards. This took too long and PM now only returnes a good link quality for arfcns configured as available. Power management was also extracted to an own file. Change-Id: Ia1b79aa47c9df3b1e316122455ceccb4a66724e0 http://cgit.osmocom.org/osmocom-bb/commit/?id=e7600a0d57c5f1c0add894cdba7904a73775ca1f commit e7600a0d57c5f1c0add894cdba7904a73775ca1f Author: Sebastian Stumpf <sebastian.stumpf87 at googlemail.com> Date: Sat Mar 4 15:42:11 2017 +0100 VIRT-PHY: Fixed FACCH processing on TCH. As TCH is not supported in GSMTAP yet, all incoming frames on the virt-phy are forwarded as FACCH to the l23 for now. Cleanup code in virt_prim_data and virt_prim_traffic. Change-Id: I6b41f21b6984e62ad98edfe4398bd678d5b2dad5 http://cgit.osmocom.org/osmocom-bb/commit/?id=a090f635b03780f651d54033c6f8c616fdd8f870 commit a090f635b03780f651d54033c6f8c616fdd8f870 Author: Sebastian Stumpf <sebastian.stumpf87 at googlemail.com> Date: Tue Feb 28 16:39:28 2017 +0100 VIRT-PHY: Scheduler - correct handling over hyperframe repeat. Scheduler will no longer skip tasks that are scheduler for a framenumber greater than the current fn because of a hyperframe repetition. Change-Id: I683ba18b5dee308d58f9a95a0ee10e22da207eda http://cgit.osmocom.org/osmocom-bb/commit/?id=30cc674df8bd93560bafbc0ae292835c2770f7d4 commit 30cc674df8bd93560bafbc0ae292835c2770f7d4 Author: Sebastian Stumpf <sebastian.stumpf87 at googlemail.com> Date: Mon Feb 27 18:16:44 2017 +0100 VIRT-PHY: Calculate correct scheduler fn for data- and tch-msgs on ul. Proper calculation of the scheduled frame number and appending the jobs with that fn to the scheduler. Thus uplink msgs are scheduled at the (approx.) correct fn and with this fn set in the gsmtap hdr. Change-Id: I0f44d0b5b9208755e671c619d1f851a043aefb54 http://cgit.osmocom.org/osmocom-bb/commit/?id=241fe9c3e24e44ca5fb9882ad49e98325b312a62 commit 241fe9c3e24e44ca5fb9882ad49e98325b312a62 Author: Sebastian Stumpf <sebastian.stumpf87 at googlemail.com> Date: Mon Feb 27 15:13:26 2017 +0100 VIRT-PHY: Fixed error causing send msgs to be received on same sock. This could be disabled setting socket option IP_MULTICAST_ALL = 0. Change-Id: Ia2838c4cd39bfac04c014b4c8512466b301d8875 http://cgit.osmocom.org/osmocom-bb/commit/?id=360de6bead3b1eaa897a55b8d8436c5613b7d100 commit 360de6bead3b1eaa897a55b8d8436c5613b7d100 Author: Sebastian Stumpf <sebastian.stumpf87 at googlemail.com> Date: Sun Feb 26 14:43:01 2017 +0100 VIRT-PHY: Data and traffic req from l23 now use scheduler. Msgs are not put on virt um directly in the handler like before, but are scheduled. FN they are scheduled with not yet properly calculated. Also, code was extracted from lactl_sap.c into own files. Change-Id: Ibe57abebadf294f1407d82cef3fd0b51e7c1b23e http://cgit.osmocom.org/osmocom-bb/commit/?id=2dfe6031177b87eb602e248571e949ac65200f70 commit 2dfe6031177b87eb602e248571e949ac65200f70 Author: Sebastian Stumpf <sebastian.stumpf87 at googlemail.com> Date: Sun Feb 26 14:37:45 2017 +0100 VIRT-PHY: Using IANA-registered port 4729 for GSMTAP for virt um. Change-Id: Id8e262c9a9a6260353bfb98e774b9d0b6eecae53 http://cgit.osmocom.org/osmocom-bb/commit/?id=63f3ce248295d945923b37a2add8165297854a76 commit 63f3ce248295d945923b37a2add8165297854a76 Author: Sebastian Stumpf <sebastian.stumpf87 at googlemail.com> Date: Sat Feb 25 16:17:12 2017 +0100 VIRT-PHY: Uplink scheduler implementation. Implemented simple scheduler depending on frame number in downlink. It will be executed each time we receive a msg on downlink and send out all scheduled uplink msgs with a sched_fn smaller than the one of this received downlink msg. Further refactored l1ctl_sap by extracting rach and fbsb logic and putting it to own files virt_prim_fbsb.c and virt_prim_rach.c Added simple states to the ms layer 1 model, indicating if the ms is currently searching for bts, syncing to or camping on a bts. Downlink will be handled differently dependent of the state. Change-Id: I8937b1d6568f5d3750bbdc5d77fa283074d5365e http://cgit.osmocom.org/osmocom-bb/commit/?id=0a68f6884c052b9f8d9f8bda0316c79405436851 commit 0a68f6884c052b9f8d9f8bda0316c79405436851 Author: Sebastian Stumpf <sebastian.stumpf87 at googlemail.com> Date: Mon Feb 13 13:42:43 2017 +0100 VIRT-PHY: Uplink flag and arfcn check. Incoming messages with the uplinks flag set in the arfcn or another arfcn than the cell's we are camping on are ignored. Change-Id: Ibb78ac68172fceaa04acca81271940632e52d857 http://cgit.osmocom.org/osmocom-bb/commit/?id=5385c7d19a437c0cf568d09f90adbe2f6ef1e7ec commit 5385c7d19a437c0cf568d09f90adbe2f6ef1e7ec Author: Sebastian Stumpf <sebastian.stumpf87 at googlemail.com> Date: Fri Feb 10 16:32:45 2017 +0100 VIRT-PHY: Added example config for 2 mobile instances. Change-Id: Iecfed3933ca88aa7a027e6247a8b71e28ee1883e http://cgit.osmocom.org/osmocom-bb/commit/?id=5490fa9097efeeb13529ebf30c50afd001ea9e0c commit 5490fa9097efeeb13529ebf30c50afd001ea9e0c Author: Sebastian Stumpf <sebastian.stumpf87 at googlemail.com> Date: Thu Feb 9 17:59:54 2017 +0100 VIRT-PHY: Enable multiple phy-instances by configurable l1ctl-sock-path. Change-Id: Ief22eedacd1929450ff68f553068b95a778df80f http://cgit.osmocom.org/osmocom-bb/commit/?id=2e265c897a7a1d099c08807f0587dfbfc83f260d commit 2e265c897a7a1d099c08807f0587dfbfc83f260d Author: Sebastian Stumpf <sebastian.stumpf87 at googlemail.com> Date: Mon Feb 6 14:14:31 2017 +0100 VIRT-PHY: Cleanup dirs, makefile, dependencies and formatting code. Change-Id: Ibd68a03bcc439c262ba513782936c6b62937eaaa http://cgit.osmocom.org/osmocom-bb/commit/?id=fa2ce6396fae18ded5bb9620b4ab761ab417c4ba commit fa2ce6396fae18ded5bb9620b4ab761ab417c4ba Author: Sebastian Stumpf <sebastian.stumpf87 at googlemail.com> Date: Thu Feb 2 18:50:02 2017 +0100 VIRT_PHY: Improved l1ctl-to-l23 interface + gsmtap header parsing. Fixed mapping from gsmtap msg type to rsl msg type and vice versa. Proper chan_nr decoding instead of usage of dummy values for timeslot / link_id / subslot. Implemented missing l23 rx handler routines. Change-Id: Ibad741d112643c55091b8ba00164b05d728ae1a1 http://cgit.osmocom.org/osmocom-bb/commit/?id=2fe2ba3d466dd003b63e4de4b52610005f2d5354 commit 2fe2ba3d466dd003b63e4de4b52610005f2d5354 Author: Sebastian Stumpf <sebastian.stumpf87 at googlemail.com> Date: Thu Jan 26 18:28:07 2017 +0100 VIRT-PHY: Implemented RACH on uplink. RACH will now be transmitted over GSMTAP virtual UM interface if L1CTL command is received. Minor further changes: - Incoming messages are now only then forwarded if ms is synced to a cell (fbsb cmd from l1ctl received). - SDCCH/4/8 are forwarded to l23 for now as we don't use encoding/ciphering (yet) this should not be a problem. Change-Id: Ic15188c5c0bba96c223d689be733324a9778a2e8 http://cgit.osmocom.org/osmocom-bb/commit/?id=a4aaa14878f51bb61bd435a17ea95abe0e4a4e63 commit a4aaa14878f51bb61bd435a17ea95abe0e4a4e63 Author: Sebastian Stumpf <sebastian.stumpf87 at googlemail.com> Date: Mon Jan 9 17:05:31 2017 +0100 VIRT-PHY: Initial commit of virt-phy to work with osmo-bts virt-phy. This patch implements a virtual physical layer replacing the air interface. The purpose is to get rid of the hardware requirements and be able to start testing and implementing layer 2 communication functionality on one machine. Multicast sockets are used to enable bidirectional communication between the BTS and the MS process. The GSMTAP protocol designed for wireshark capturing is used to encapsulate the payload on the virtual physical layer. The virtual physical layer on the osmocom-bb side implements the L1CTL interface to the layer23 apps like mobile. * Working mcast socket communication and extraction of its functionality. * Basic handlers for file descriptor callbacks from incoming L1CTL messages and extraction of that functionality to a l1ctl socket class. * Multiplexing to different routines depending on incoming L1CTL message type. * Uses virt_um and osmocom_mcast_sock implementation from osmo-bts virt-phy. * Ecapsulation and parsing methods to and from GSMTAP messages. * Basic handlers for file descriptor callbacks from incoming mcast messages on the virtual um. * Multiplexing to different channel routines based on GSMTAP header channel type. * Example configuration for l23 app mobile using virtual test sim. Change-Id: I203c8ec58326e52a09603a37232fce7ae3641415 ----------------------------------------------------------------------- Summary of changes: .gitignore | 34 + src/Makefile | 16 +- src/host/virt_phy/.gitignore | 4 + src/host/virt_phy/Makefile.am | 2 + src/host/virt_phy/README | 2 + src/host/{gsmmap => virt_phy}/configure.ac | 16 +- .../virt_phy/example_configs/osmocom-bb-mobile.cfg | 67 ++ .../example_configs/osmocom-bb-mobilex2.cfg | 120 +++ src/host/virt_phy/include/Makefile.am | 10 + src/host/virt_phy/include/virtphy/common_util.h | 51 ++ src/host/virt_phy/include/virtphy/gsmtapl1_if.h | 16 + src/host/virt_phy/include/virtphy/l1ctl_sap.h | 84 ++ src/host/virt_phy/include/virtphy/l1ctl_sock.h | 38 + src/host/virt_phy/include/virtphy/logging.h | 11 + .../virt_phy/include/virtphy/osmo_mcast_sock.h | 46 + src/host/virt_phy/include/virtphy/virt_l1_model.h | 98 +++ src/host/virt_phy/include/virtphy/virt_l1_sched.h | 32 + src/host/virt_phy/include/virtphy/virtual_um.h | 26 + src/host/virt_phy/src/Makefile.am | 11 + src/host/virt_phy/src/gsmtapl1_if.c | 276 ++++++ src/host/virt_phy/src/l1ctl_sap.c | 940 +++++++++++++++++++++ src/host/virt_phy/src/l1ctl_sock.c | 202 +++++ src/host/virt_phy/src/logging.c | 111 +++ src/host/virt_phy/src/shared/common_util.c | 44 + src/host/virt_phy/src/shared/osmo_mcast_sock.c | 199 +++++ src/host/virt_phy/src/shared/virtual_um.c | 103 +++ .../virt_phy/src/virt_l1_model.c} | 27 +- src/host/virt_phy/src/virt_l1_sched_simple.c | 159 ++++ src/host/virt_phy/src/virt_prim_data.c | 141 ++++ src/host/virt_phy/src/virt_prim_fbsb.c | 142 ++++ src/host/virt_phy/src/virt_prim_pm.c | 137 +++ src/host/virt_phy/src/virt_prim_rach.c | 141 ++++ src/host/virt_phy/src/virt_prim_traffic.c | 137 +++ src/host/virt_phy/src/virtphy.c | 175 ++++ 34 files changed, 3601 insertions(+), 17 deletions(-) create mode 100644 .gitignore create mode 100644 src/host/virt_phy/.gitignore create mode 100644 src/host/virt_phy/Makefile.am create mode 100644 src/host/virt_phy/README copy src/host/{gsmmap => virt_phy}/configure.ac (71%) create mode 100644 src/host/virt_phy/example_configs/osmocom-bb-mobile.cfg create mode 100644 src/host/virt_phy/example_configs/osmocom-bb-mobilex2.cfg create mode 100644 src/host/virt_phy/include/Makefile.am create mode 100644 src/host/virt_phy/include/virtphy/common_util.h create mode 100644 src/host/virt_phy/include/virtphy/gsmtapl1_if.h create mode 100644 src/host/virt_phy/include/virtphy/l1ctl_sap.h create mode 100644 src/host/virt_phy/include/virtphy/l1ctl_sock.h create mode 100644 src/host/virt_phy/include/virtphy/logging.h create mode 100644 src/host/virt_phy/include/virtphy/osmo_mcast_sock.h create mode 100644 src/host/virt_phy/include/virtphy/virt_l1_model.h create mode 100644 src/host/virt_phy/include/virtphy/virt_l1_sched.h create mode 100644 src/host/virt_phy/include/virtphy/virtual_um.h create mode 100644 src/host/virt_phy/src/Makefile.am create mode 100644 src/host/virt_phy/src/gsmtapl1_if.c create mode 100644 src/host/virt_phy/src/l1ctl_sap.c create mode 100644 src/host/virt_phy/src/l1ctl_sock.c create mode 100644 src/host/virt_phy/src/logging.c create mode 100644 src/host/virt_phy/src/shared/common_util.c create mode 100644 src/host/virt_phy/src/shared/osmo_mcast_sock.c create mode 100644 src/host/virt_phy/src/shared/virtual_um.c copy src/{target/firmware/fb/framebuffer.c => host/virt_phy/src/virt_l1_model.c} (52%) create mode 100644 src/host/virt_phy/src/virt_l1_sched_simple.c create mode 100644 src/host/virt_phy/src/virt_prim_data.c create mode 100644 src/host/virt_phy/src/virt_prim_fbsb.c create mode 100644 src/host/virt_phy/src/virt_prim_pm.c create mode 100644 src/host/virt_phy/src/virt_prim_rach.c create mode 100644 src/host/virt_phy/src/virt_prim_traffic.c create mode 100644 src/host/virt_phy/src/virtphy.c hooks/post-receive -- The Open Source GSM Base Band stack