diff options
author | Harald Welte <laforge@gnumonks.org> | 2010-03-01 11:08:38 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-03-01 23:48:45 +0100 |
commit | 43dd25c49355212a589be9784dd43fa11f626103 (patch) | |
tree | 4197455107e977f79d657452e943fc021b4a5e11 /include | |
parent | 2f60aee6d93c509926fc017a80352fff62149992 (diff) |
Include channel number and link identifier in L1 DL info
This enables the layer2 to identify on which channel
(BCCH/CCCH/SDCCH/TCH/...) the respective message was received.
* Encode MFrame Task Number + SACCH info in 'p3' parameter
* Generate channel number and link identifier
* Decode channel number in layer2 program
Diffstat (limited to 'include')
-rw-r--r-- | include/l1a_l23_interface.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/l1a_l23_interface.h b/include/l1a_l23_interface.h index 6e94ebc1..01fcf9f7 100644 --- a/include/l1a_l23_interface.h +++ b/include/l1a_l23_interface.h @@ -50,10 +50,16 @@ struct gsm_time { * downlink info ... down from the BTS.. */ struct l1_info_dl { + /* common header, should be its own struct */ uint8_t msg_type; uint8_t padding; - /* the ARFCN and the band. */ + + /* the ARFCN and the band. FIXME: what about MAIO? */ uint16_t band_arfcn; + /* GSM 08.58 channel number (9.3.1) */ + uint8_t chan_nr; + /* GSM 08.58 link identifier (9.3.2) */ + uint8_t link_id; struct gsm_time time; uint8_t rx_level; |