diff options
author | Andreas Eversberg <jolly@eversberg.eu> | 2013-03-17 16:33:11 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2013-03-17 17:11:58 +0100 |
commit | 6a32f0499fd5e5d5779abac8902017461cf2800a (patch) | |
tree | 467e9815d07fd79c56d658d53fbbf4bb1a6efb85 /include | |
parent | a5608d092db095f1043f7e471a938feb8b45f09d (diff) |
Get RSSI from received uplink data and send to PCU0.2.0
This bumps the PCU API version and thus requires a new version of the
code on the sysmoBTS side!
Diffstat (limited to 'include')
-rw-r--r-- | include/osmo-bts/pcu_if.h | 3 | ||||
-rw-r--r-- | include/osmo-bts/pcuif_proto.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/include/osmo-bts/pcu_if.h b/include/osmo-bts/pcu_if.h index d53fa5e8..017de48b 100644 --- a/include/osmo-bts/pcu_if.h +++ b/include/osmo-bts/pcu_if.h @@ -5,7 +5,8 @@ int pcu_tx_info_ind(void); int pcu_tx_rts_req(struct gsm_bts_trx_ts *ts, uint8_t is_ptcch, uint32_t fn, uint16_t arfcn, uint8_t block_nr); int pcu_tx_data_ind(struct gsm_bts_trx_ts *ts, uint8_t is_ptcch, uint32_t fn, - uint16_t arfcn, uint8_t block_nr, uint8_t *data, uint8_t len); + uint16_t arfcn, uint8_t block_nr, uint8_t *data, uint8_t len, + int8_t rssi); int pcu_tx_rach_ind(struct gsm_bts *bts, int16_t qta, uint8_t ra, uint32_t fn); int pcu_tx_time_ind(uint32_t fn); int pcu_tx_pag_req(const uint8_t *identity_lv, uint8_t chan_needed); diff --git a/include/osmo-bts/pcuif_proto.h b/include/osmo-bts/pcuif_proto.h index c27bb7dc..9d740ac1 100644 --- a/include/osmo-bts/pcuif_proto.h +++ b/include/osmo-bts/pcuif_proto.h @@ -1,7 +1,7 @@ #ifndef _PCUIF_PROTO_H #define _PCUIF_PROTO_H -#define PCU_IF_VERSION 0x04 +#define PCU_IF_VERSION 0x05 /* msg_type */ #define PCU_IF_MSG_DATA_REQ 0x00 /* send data to given channel */ @@ -49,6 +49,7 @@ struct gsm_pcu_if_data { uint8_t trx_nr; uint8_t ts_nr; uint8_t block_nr; + int8_t rssi; } __attribute__ ((packed)); struct gsm_pcu_if_rts_req { |