aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/ipaccess-config.c
AgeCommit message (Collapse)AuthorFilesLines
2009-11-17ipaccess-config.c: Spelling fix in the config modeHolger Hans Peter Freyther1-1/+1
2009-11-17[abis_nm] avoid integer-to-pointer casting and associated gcc warningsHarald Welte1-2/+5
2009-11-13ipaccess-config: Print BCCH info test reportsHarald Welte1-3/+17
This will print test rep[orts that look like: <0020> ipaccess-config.c:91 TEST REPORT: test_no=0x43 test_res=PARTIAL <0020> ipaccess-config.c:140 ==> ARFCN 37, RxLev 24, RxQual 0: 262-1, LAC 13830 CI 10759
2009-11-13make ipaccess-config compile again (remove duplicate testres_name definition)Harald Welte1-17/+0
2009-10-27ipaccess-config: Introduce stream-id/oml_tei to make it work againHolger Hans Peter Freyther1-2/+9
ipaccess-config stopped working after the introduction of multi-TRX/RSL stream id support in commit 8175e95222cf1c83. Set the oml_tei to 0xff by default and add an option to set a different stream id.
2009-10-05[ipaccess] Add nanoBTS 1900 supportMike Haben1-1/+1
Add support for 1900 nanoBTS by using unified bts_type GSM_BTS_TYPE_NANOBTS for 900, 1800 and 1900 versions. Reduce the nanoBTS enum values to one and derive the version from the user supplied band. In the future we might want to do auto band detection. The configuration file needs to be changed to refer to nanobts instead of nanobts900/nanobts1800. Signed-off-by: Mike Haben <michael.haben@btinternet.com> Signed-off-by: Holger Hans Peter Freyther <zecke@selfish.org>
2009-08-10add support for more nanoBTS 12.21 testsHarald Welte1-11/+42
* perform a channel usage test $ ./ipaccess-config -l 64 192.168.100.100 paccess-config.c:142 ==> ARFCN 3, RxLev 16 [...] <0020> ipaccess-config.c:142 ==> ARFCN 4, RxLev 33 <0020> ipaccess-config.c:142 ==> ARFCN 8, RxLev 6 <0020> ipaccess-config.c:142 ==> ARFCN 5, RxLev 16 <0020> ipaccess-config.c:142 ==> ARFCN 11, RxLev 5 <0020> ipaccess-config.c:142 ==> ARFCN 12, RxLev 8 <0020> ipaccess-config.c:142 ==> ARFCN 10, RxLev 6 [...] * perform a BCCH usage test $ ./ipaccess-config -l 65 192.168.100.100 [...] <0020> ipaccess-config.c:107 TEST REPORT: test_no=0x41 test_res=SUCCESS <0020> ipaccess-config.c:142 ==> ARFCN 4, RxLev 32 <0020> ipaccess-config.c:142 ==> ARFCN 8, RxLev 6 <0020> ipaccess-config.c:142 ==> ARFCN 12, RxLev 6 <0020> ipaccess-config.c:142 ==> ARFCN 20, RxLev 9 <0020> ipaccess-config.c:142 ==> ARFCN 31, RxLev 6 <0020> ipaccess-config.c:142 ==> ARFCN 37, RxLev 23 <0020> ipaccess-config.c:142 ==> ARFCN 49, RxLev 7 <0020> ipaccess-config.c:142 ==> ARFCN 53, RxLev 14 <0020> ipaccess-config.c:142 ==> ARFCN 57, RxLev 19 <0020> ipaccess-config.c:142 ==> ARFCN 60, RxLev 63 <0020> ipaccess-config.c:142 ==> ARFCN 71, RxLev 15 <0020> ipaccess-config.c:142 ==> ARFCN 90, RxLev 4 * perform a frequency sync test $ ./ipaccess-config -l 66 192.168.100.100 [...] <0020> ipaccess-config.c:107 TEST REPORT: test_no=0x42 test_res=SUCCESS <0020> ipaccess-config.c:130 ==> ARFCN 4, Frequency Error -2 <0020> ipaccess-config.c:130 ==> ARFCN 8, Frequency Error -40 <0020> ipaccess-config.c:130 ==> ARFCN 20, Frequency Error -21 <0020> ipaccess-config.c:130 ==> ARFCN 31, Frequency Error 1 <0020> ipaccess-config.c:130 ==> ARFCN 37, Frequency Error -4 <0020> ipaccess-config.c:130 ==> ARFCN 45, Frequency Error -4 <0020> ipaccess-config.c:130 ==> ARFCN 53, Frequency Error 22 <0020> ipaccess-config.c:130 ==> ARFCN 57, Frequency Error 3 <0020> ipaccess-config.c:130 ==> ARFCN 60, Frequency Error 0 <0020> ipaccess-config.c:130 ==> ARFCN 69, Frequency Error 2 <0020> ipaccess-config.c:130 ==> ARFCN 73, Frequency Error 30 <0020> ipaccess-config.c:130 ==> ARFCN 89, Frequency Error 44 <0020> ipaccess-config.c:130 ==> ARFCN 90, Frequency Error 8 <0020> ipaccess-config.c:130 ==> ARFCN 123, Frequency Error 27
2009-08-08implement nanoBTS frequency error testHarald Welte1-2/+71
This helps us to detect the frequency error of BS-11 if it is located next to the nanoBTS 900. If 'ipaccess-config -l' is called, it will produce a report like <0020> ipaccess-config.c:85 TEST REPORT: test_no=0x42 test_res=0 <0020> ipaccess-config.c:108 ==> ARFCN 220, Frequency Error 22 <0020> ipaccess-config.c:108 ==> ARFCN 1, Frequency Error -37 <0020> ipaccess-config.c:108 ==> ARFCN 10, Frequency Error 0 <0020> ipaccess-config.c:108 ==> ARFCN 20, Frequency Error 11 <0020> ipaccess-config.c:108 ==> ARFCN 53, Frequency Error 5 <0020> ipaccess-config.c:108 ==> ARFCN 63, Frequency Error -4 <0020> ipaccess-config.c:108 ==> ARFCN 84, Frequency Error 11 <0020> ipaccess-config.c:108 ==> ARFCN 101, Frequency Error 0 <0020> ipaccess-config.c:108 ==> ARFCN 123, Frequency Error -52 where in this case the ARFCN 123 is the BS-11 with a frequency error larger than all the other (regular) BTS in the vicinity.
2009-07-12more ip.access abis_nm attributesHarald Welte1-1/+1
we also rename some existing attributes to reflect reality
2009-07-08ipacess-config: Handle NVATTR NACKs in ipaccess-configHolger Hans Peter Freyther1-0/+29
Currently we send the attribute changes in a send and forget fashion. But sometimes the nanoBTS is sending us a NACK, e.g with a invalid unit id. Start handling the NACK and provide an error message to the user. The error message is not yet describing the cause of the error but this is a slight progress to the previous silent failure.
2009-07-04ipaccess-config: Add --help to the ipaccess-configHolger Hans Peter Freyther1-2/+21
Just a beginning...
2009-07-03add code to ipaccess-config set nanoBST NVRAM attributesHarald Welte1-2/+29
2009-06-21switch to dynamically allocated BTS and TRX data structuresHarald Welte1-2/+3
This makes it much easier to do run-time configuration using the vty interface.
2009-06-10reworked MNCC codebaseHarald Welte1-1/+1
This is Harald's reworked MNCC base, slowly heading towards integration into master. The key changes are: * provide much more structure to the data in gsm_mncc * encode_* and decode_* functions now take a structure rather than tons of individual arguments (whose order nobody can remember) * make sure we don't have copies of the same code everywhere by introducing mncc_set_cause() and mncc_release_ind() * save horizontal screen space if possible * make sure we break lines > 80 characters
2009-06-10move openbsc into its own subdirectoryHarald Welte1-0/+198