diff options
author | Harald Welte <laforge@gnumonks.org> | 2012-01-29 13:24:12 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2012-01-29 13:24:12 +0100 |
commit | 1fe73a19cda4e0bdbfc932ae69c7b59f84103f59 (patch) | |
tree | fcda3f653216ffcce9cd8c68185a95abad0ec0e0 /openbsc/src/libbsc/bsc_vty.c | |
parent | 94b499c9bd72a5a4e6f64a147647bafb7e3bd5d8 (diff) |
ARFCNs are in the range of 0..1023, not 0..1024
I'm sure I read somewhere that it actually was 0..1024, as I kept
wondering how stupid it was to use 10bit+1. However, that source
was incorrect, as GSM TS 05.05 quite clearly states 0..1023
Diffstat (limited to 'openbsc/src/libbsc/bsc_vty.c')
-rw-r--r-- | openbsc/src/libbsc/bsc_vty.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/openbsc/src/libbsc/bsc_vty.c b/openbsc/src/libbsc/bsc_vty.c index 0c02552b0..8c39b3a43 100644 --- a/openbsc/src/libbsc/bsc_vty.c +++ b/openbsc/src/libbsc/bsc_vty.c @@ -2240,7 +2240,7 @@ DEFUN(cfg_bts_neigh_mode, cfg_bts_neigh_mode_cmd, } DEFUN(cfg_bts_neigh, cfg_bts_neigh_cmd, - "neighbor-list (add|del) arfcn <0-1024>", + "neighbor-list (add|del) arfcn <0-1023>", "Neighbor List\n" "Add to manual neighbor list\n" "Delete from manual neighbor list\n" "ARFCN of neighbor\n" "ARFCN of neighbor\n") @@ -2264,7 +2264,7 @@ DEFUN(cfg_bts_neigh, cfg_bts_neigh_cmd, } DEFUN(cfg_bts_si5_neigh, cfg_bts_si5_neigh_cmd, - "si5 neighbor-list (add|del) arfcn <0-1024>", + "si5 neighbor-list (add|del) arfcn <0-1023>", "SI5 Neighbor List\n" "Add to manual SI5 neighbor list\n" "Delete from SI5 manual neighbor list\n" "ARFCN of neighbor\n" "ARFCN of neighbor\n") @@ -2322,7 +2322,7 @@ DEFUN(cfg_trx, DEFUN(cfg_trx_arfcn, cfg_trx_arfcn_cmd, - "arfcn <0-1024>", + "arfcn <0-1023>", "Set the ARFCN for this TRX\n") { int arfcn = atoi(argv[0]); |