aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2016-10-12 16:24:32 +0200
committerHarald Welte <laforge@gnumonks.org>2016-12-01 15:25:26 +0000
commit4a8582846281322e8d7dfc577b18767cf35c24d1 (patch)
treeff9cd1499a38e2d87834e65fc505e31aefff9251 /include
parentb58aa60d785f4400ba6e21752d16ea01ac4c0a1f (diff)
Fix AGCH/PCH proportional allocation
Do not assume that 1 == BS_AG_BLKS_RES but take that information from SI3. Note: due to current implementation quirks we activate channels before SI3 obtained, than we deactivate channels upon receiving SI3 and activate them again. This might not be necessary once we migrate to proper OML state machines. This affects lc15 and sysmo hw. Change-Id: I11377b12680ac3b2f77f80e742b6f0af63fc9c1e Related: OS#1575
Diffstat (limited to 'include')
-rw-r--r--include/osmo-bts/bts.h2
-rw-r--r--include/osmo-bts/rsl.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/include/osmo-bts/bts.h b/include/osmo-bts/bts.h
index ec58eddc..567772ec 100644
--- a/include/osmo-bts/bts.h
+++ b/include/osmo-bts/bts.h
@@ -36,7 +36,7 @@ uint8_t *lchan_sacch_get(struct gsm_lchan *lchan);
int lchan_init_lapdm(struct gsm_lchan *lchan);
void load_timer_start(struct gsm_bts *bts);
-
+uint8_t num_agch(struct gsm_bts_trx *trx, const char * arg);
void bts_update_status(enum bts_global_status which, int on);
int trx_ms_pwr_ctrl_is_osmo(struct gsm_bts_trx *trx);
diff --git a/include/osmo-bts/rsl.h b/include/osmo-bts/rsl.h
index d542ff62..a2a6e3d9 100644
--- a/include/osmo-bts/rsl.h
+++ b/include/osmo-bts/rsl.h
@@ -9,6 +9,7 @@ enum {
LCHAN_REL_ACT_RSL,
LCHAN_REL_ACT_PCU,
LCHAN_REL_ACT_OML,
+ LCHAN_REL_ACT_REACT,
};
#define LCHAN_FN_DUMMY 0xFFFFFFFF