diff options
author | Harald Welte <laforge@gnumonks.org> | 2009-02-15 15:38:42 +0000 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2009-02-15 15:38:42 +0000 |
commit | 940093296ec87a8dc8503512043dd6b9c9242803 (patch) | |
tree | a192eecd7a3d5ec25a7dc66a9f10acc8d71d6737 | |
parent | 4f361fcb6898465e2368f2bfe15b72778ba26948 (diff) |
support non-123 ARFCN on nonoBTS
-rw-r--r-- | src/bsc_hack.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/bsc_hack.c b/src/bsc_hack.c index 3d25ee298..cafae4529 100644 --- a/src/bsc_hack.c +++ b/src/bsc_hack.c @@ -782,14 +782,21 @@ static void patch_tables(struct gsm_bts *bts) type_4->lai = lai; type_6->lai = lai; - /* patch ARFCN */ + /* patch ARFCN into BTS Attributes */ msg_2[74] &= 0xf0; msg_2[74] |= arfcn_high; msg_2[75] = arfcn_low; + nanobts_attr_bts[42] &= 0xf0; + nanobts_attr_bts[42] |= arfcn_high; + nanobts_attr_bts[43] = arfcn_low; + /* patch ARFCN into TRX Attributes */ msg_6[7] &= 0xf0; msg_6[7] |= arfcn_high; msg_6[8] = arfcn_low; + nanobts_attr_radio[5] &= 0xf0; + nanobts_attr_radio[5] |= arfcn_high; + nanobts_attr_radio[6] = arfcn_low; type_4->data[2] &= 0xf0; type_4->data[2] |= arfcn_high; |