aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmo-bts/phy_link.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/osmo-bts/phy_link.h')
-rw-r--r--include/osmo-bts/phy_link.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/osmo-bts/phy_link.h b/include/osmo-bts/phy_link.h
index 4c7ff348..d8d3c6b4 100644
--- a/include/osmo-bts/phy_link.h
+++ b/include/osmo-bts/phy_link.h
@@ -10,11 +10,13 @@
#include "btsconfig.h"
struct gsm_bts_trx;
+struct virt_um_inst;
enum phy_link_type {
PHY_LINK_T_NONE,
PHY_LINK_T_SYSMOBTS,
PHY_LINK_T_OSMOTRX,
+ PHY_LINK_T_VIRTUAL,
};
enum phy_link_state {
@@ -47,6 +49,14 @@ struct phy_link {
uint32_t rts_advance;
} osmotrx;
struct {
+ char *mcast_dev; /* Network device for multicast */
+ char *bts_mcast_group; /* BTS are listening to this group */
+ uint16_t bts_mcast_port;
+ char *ms_mcast_group; /* MS are listening to this group */
+ uint16_t ms_mcast_port;
+ struct virt_um_inst *virt_um;
+ } virt;
+ struct {
/* MAC address of the PHY */
struct sockaddr_ll phy_addr;
/* Network device name */
@@ -99,6 +109,9 @@ struct phy_instance {
bool sw_act_reported;
} osmotrx;
struct {
+ struct l1sched_trx sched;
+ } virt;
+ struct {
/* logical transceiver number within one PHY */
uint32_t trx_id;
/* trx lock state variable */