diff options
author | Andreas.Eversberg <jolly@eversberg.eu> | 2010-09-26 17:06:06 +0000 |
---|---|---|
committer | Andreas.Eversberg <jolly@eversberg.eu> | 2010-09-26 17:06:06 +0000 |
commit | 602dcf4d0d94ffc7f7f9f3f6865541c385077bcf (patch) | |
tree | 16519f3f5f1aa26fcce58a4d1753562e66e2bcb4 /src/host/layer23/include/osmocom/bb/common | |
parent | 88a578f6c93ac72bf1a95b48467651fa74953ecf (diff) |
[layer23] Added support for changing TCH mode via L1CTL messages
Diffstat (limited to 'src/host/layer23/include/osmocom/bb/common')
-rw-r--r-- | src/host/layer23/include/osmocom/bb/common/l1ctl.h | 3 | ||||
-rw-r--r-- | src/host/layer23/include/osmocom/bb/common/osmocom_data.h | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/host/layer23/include/osmocom/bb/common/l1ctl.h b/src/host/layer23/include/osmocom/bb/common/l1ctl.h index 189df898..20e9481c 100644 --- a/src/host/layer23/include/osmocom/bb/common/l1ctl.h +++ b/src/host/layer23/include/osmocom/bb/common/l1ctl.h @@ -46,6 +46,9 @@ int l1ctl_tx_fbsb_req(struct osmocom_ms *ms, uint16_t arfcn, /* Transmit CCCH_MODE_REQ */ int l1ctl_tx_ccch_mode_req(struct osmocom_ms *ms, uint8_t ccch_mode); +/* Transmit TCH_MODE_REQ */ +int l1ctl_tx_tch_mode_req(struct osmocom_ms *ms, uint8_t tch_mode); + /* Transmit ECHO_REQ */ int l1ctl_tx_echo_req(struct osmocom_ms *ms, unsigned int len); diff --git a/src/host/layer23/include/osmocom/bb/common/osmocom_data.h b/src/host/layer23/include/osmocom/bb/common/osmocom_data.h index ce08994f..a20b177f 100644 --- a/src/host/layer23/include/osmocom/bb/common/osmocom_data.h +++ b/src/host/layer23/include/osmocom/bb/common/osmocom_data.h @@ -75,6 +75,7 @@ enum osmobb_meas_sig { S_L1CTL_PM_RES, S_L1CTL_PM_DONE, S_L1CTL_CCCH_MODE_CONF, + S_L1CTL_TCH_MODE_CONF, }; struct osmobb_fbsb_res { @@ -94,4 +95,9 @@ struct osmobb_ccch_mode_conf { uint8_t ccch_mode; }; +struct osmobb_tch_mode_conf { + struct osmocom_ms *ms; + uint8_t tch_mode; +}; + #endif |