diff options
author | Sylvain Munaut <tnt@246tNt.com> | 2011-11-13 20:24:49 +0100 |
---|---|---|
committer | Sylvain Munaut <tnt@246tNt.com> | 2011-11-13 20:24:49 +0100 |
commit | 6d06f6b9db7a8c8a011d957796a3e22cd46457c7 (patch) | |
tree | 5094df77de0df433dd39482f7cb1ce0c3105429c /src/shared/libosmocore/include/osmocom/gsm/lapdm.h | |
parent | 4789b4a6627b452041b57f81ea91878de666bcc2 (diff) | |
parent | a71b8eaca7eed4dfc96f2cebabfc26430416c2e9 (diff) |
Merge commit 'a71b8eaca7eed4dfc96f2cebabfc26430416c2e9'
Diffstat (limited to 'src/shared/libosmocore/include/osmocom/gsm/lapdm.h')
-rw-r--r-- | src/shared/libosmocore/include/osmocom/gsm/lapdm.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/shared/libosmocore/include/osmocom/gsm/lapdm.h b/src/shared/libosmocore/include/osmocom/gsm/lapdm.h index cc9c63fe..52e8fc52 100644 --- a/src/shared/libosmocore/include/osmocom/gsm/lapdm.h +++ b/src/shared/libosmocore/include/osmocom/gsm/lapdm.h @@ -72,8 +72,8 @@ struct lapdm_msg_ctx { int lapdm_fmt; uint8_t chan_nr; uint8_t link_id; - uint8_t ta_ind; - uint8_t tx_power_ind; + uint8_t ta_ind; /* TA indicated by network */ + uint8_t tx_power_ind; /* MS power indicated by network */ }; /*! \brief LAPDm datalink like TS 04.06 / Section 3.5.2 */ @@ -113,6 +113,9 @@ struct lapdm_entity { /*! \brief pointer to \ref lapdm_channel of which we're part */ struct lapdm_channel *lapdm_ch; + + uint8_t ta; /* TA used and indicated to network */ + uint8_t tx_power; /* MS power used and indicated to network */ }; /*! \brief the two lapdm_entities that form a GSM logical channel (ACCH + DCCH) */ @@ -127,7 +130,7 @@ const char *get_rsl_name(int value); extern const char *lapdm_state_names[]; /* initialize a LAPDm entity */ -void lapdm_entity_init(struct lapdm_entity *le, enum lapdm_mode mode); +void lapdm_entity_init(struct lapdm_entity *le, enum lapdm_mode mode, int t200); void lapdm_channel_init(struct lapdm_channel *lc, enum lapdm_mode mode); /* deinitialize a LAPDm entity */ |