diff options
author | Sebastian Stumpf <sebastian.stumpf87@googlemail.com> | 2017-01-08 16:31:50 +0100 |
---|---|---|
committer | Sebastian Stumpf <sebastian.stumpf87@googlemail.com> | 2017-01-23 13:54:58 +0100 |
commit | d1c904c4a6d3a862a37d62fdffbb74284a44b24d (patch) | |
tree | c49fab8ca640e77b09fae56943adafc5036974c1 /include | |
parent | bf286abc409d04dc1f317a2d74f050235958dac4 (diff) |
VIRT-PHY: Added functionality to cooperate with osmocom-bb virt-phy.
This patch improves the virtual physical layer designed to replace 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.
* Working mcast socket communication and extraction of its
functionality.
* Fixed OML and RSL startup sequences.
* Icludes tests for mcast socket and virtual UM.
* Ecapsulation and parsing methods to and from GSMTAP messages.
* Basic handlers for file descriptor callbacks from incoming mcast
messages.
* Multiplexing to different channels based on GSMTAP header channel
type.
Diffstat (limited to 'include')
-rw-r--r-- | include/osmo-bts/phy_link.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/osmo-bts/phy_link.h b/include/osmo-bts/phy_link.h index 38e7ffa8..fa01d5c1 100644 --- a/include/osmo-bts/phy_link.h +++ b/include/osmo-bts/phy_link.h @@ -57,9 +57,11 @@ struct phy_link { int power_sent; } osmotrx; struct { - char *mcast_group; - char *mcast_dev; - uint16_t mcast_port; + char* mcast_dev; // mcast device + char *bts_mcast_group; // bts will listen to this mcast grp + uint16_t bts_mcast_port; + char *ms_mcast_group; // ms will listen to this mcast grp + uint16_t ms_mcast_port; struct virt_um_inst *virt_um; } virt; struct { |