diff options
author | Max <msuraev@sysmocom.de> | 2016-10-17 11:07:51 +0200 |
---|---|---|
committer | Max <msuraev@sysmocom.de> | 2016-10-18 08:08:25 +0000 |
commit | ebb483b69a5319e522ba5f713e9cb6f68a814a6a (patch) | |
tree | bb3d719da7872869671c14029d9e410a40b1dc4f /include | |
parent | b0c1d21581f009e9509e0fd995c86d1785785c7a (diff) |
Replace magic number with define
SDCCH occupy lchan 0..3 in combined configuration so for CCCH we've
always used lchan[4] - replace it with CCCH_LCHAN define and add
comment.
Change-Id: Ic5d742c292d638f119c6b4672120c1950adeb7f0
Diffstat (limited to 'include')
-rw-r--r-- | include/osmo-bts/gsm_data.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/osmo-bts/gsm_data.h b/include/osmo-bts/gsm_data.h index f1c96012..a2bb6416 100644 --- a/include/osmo-bts/gsm_data.h +++ b/include/osmo-bts/gsm_data.h @@ -8,6 +8,9 @@ #include <osmo-bts/paging.h> #include <osmo-bts/tx_power.h> +/* lchans 0..3 are SDCCH in combined channel configuration: */ +#define CCCH_LCHAN 4 + #define GSM_FR_BITS 260 #define GSM_EFR_BITS 244 |