aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-octphy/l1_if.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2016-01-16 13:11:35 +0100
committerHarald Welte <laforge@gnumonks.org>2016-01-16 17:26:26 +0100
commit866f9b979d0c8a36e76db8272693d59bfba9c0f5 (patch)
treeca11767eb127dae793d3d2a19ecbc270426cacea /src/osmo-bts-octphy/l1_if.h
parent3e98f942e51ca5f39a09adcb3d0d68d93b1588b0 (diff)
OCTPHY: Obtain information from PHY and expose it in VTY
This adds 'show trx 0 system-information' command to the VTY indicating various version information obtained from the DSP/PHY.
Diffstat (limited to 'src/osmo-bts-octphy/l1_if.h')
-rw-r--r--src/osmo-bts-octphy/l1_if.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/osmo-bts-octphy/l1_if.h b/src/osmo-bts-octphy/l1_if.h
index be2338b3..42778659 100644
--- a/src/osmo-bts-octphy/l1_if.h
+++ b/src/osmo-bts-octphy/l1_if.h
@@ -38,6 +38,18 @@ struct octphy_hdl {
uint32_t tx_atten_db;
} config;
+ struct {
+ struct {
+ char *name;
+ char *description;
+ char *version;
+ } app;
+ struct {
+ char *platform;
+ char *version;
+ } system;
+ } info;
+
/* This is a list of outstanding commands sent to the PHY, for which we
* currently still wait for a response. Represented by 'struct
* wait_l1_conf' in l1_if.c - Octasic calls this the 'Unacknowledged