summaryrefslogtreecommitdiffstats
path: root/src/host/virt_phy/src/Makefile.am
AgeCommit message (Collapse)AuthorFilesLines
2023-03-17{trxcon,virt_phy}: shared GPRS L1 (MAC) implementationVadim Yanitskiy1-0/+2
Change-Id: I9567d64f9d00262e36147e8d7e541e5e246bda5f Related: OS#5500
2023-03-13virt_phy: clean up and improve Makefile.amVadim Yanitskiy1-6/+21
* Make virtphy_{SOURCES,LDADD} git-friendly: one file per line; * Remove '-pthread' from LDADD, it's not really needed; * Remove debugging leftovers. Change-Id: Iccd07614aabfc2845424d25962f48e4231a50a90 Related: OS#5500
2023-01-03virt_phy: fix make distcheck: access l1ctl_proto.h via symlinkVadim Yanitskiy1-1/+1
Accessing a header file from outside of the sub-project requires using the relative path ("-I$(top_srcdir)/../layer23/include"), which does not resolve properly during make distcheck. The '../layer23/include/l1ctl_proto.h' is actually a symlink too. Change-Id: Id64ab161a17d53f5e93cdd100e81d4fb8acfb97a
2018-09-16Install to /bin as it doesn't require special privileges..Holger Hans Peter Freyther1-1/+1
This makes packaging the binary for the gsm tester more easy. Change-Id: Ibe572a4c17871785b623e70acc7f5da056f945e5
2017-07-13VIRT-PHY: common_util: chantype_gsmtap2rsl() now in libosmocoreHarald Welte1-1/+1
As of Change-Id Ie1bc00670887064da0fea61c3dab036c23ceea25, this function is offered by libosmocore. Change-Id: Ie269afe314967fd2c42b91ee854c217f699252dc
2017-07-12VIRT-PHY: Remove non-overridable CFLAGS "-g -O0"Harald Welte1-2/+0
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
2017-07-12VIRT-PHY: Extracted common virtphy utils.Sebastian Stumpf1-1/+1
Change-Id: I759c6e9805ab012f9553bcba9b5d379193462955
2017-07-12VIRT-PHY: Fixed power management and PCS sync.Sebastian Stumpf1-1/+1
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
2017-07-12VIRT-PHY: Data and traffic req from l23 now use scheduler.Sebastian Stumpf1-1/+1
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
2017-07-12VIRT-PHY: Uplink scheduler implementation.Sebastian Stumpf1-2/+5
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
2017-07-12VIRT-PHY: Cleanup dirs, makefile, dependencies and formatting code.Sebastian Stumpf1-12/+2
Change-Id: Ibd68a03bcc439c262ba513782936c6b62937eaaa
2017-07-12VIRT-PHY: Implemented RACH on uplink.Sebastian Stumpf1-0/+1
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
2017-07-12VIRT-PHY: Initial commit of virt-phy to work with osmo-bts virt-phy.Sebastian Stumpf1-0/+19
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