Hello,
I am playing with osmocomBB on Arch Linux, branched off from
jolly/handover. I am running the osmocomBB firmware by chainloading the
layer1 onto Motorola C115(and layer23 on host PC, obviously). Everything
works fine (location update, normal cell selection and re-selection) while
in Idle mode. As soon as the phone enters the dedicated mode (ex: the
moment I make a call or receive an indication about an incoming call), I
notice that the layer1 starts complaining about erroneous detection of
Synchronization Burst (SB) from the neighboring-cells, making the mobile
stick to a single ARFCN throughout the call. As soon as the mobile leaves
dedicated mode, the layer1 stops complaining about SB detect error and
resumes with cell-selection and re-selection normally.
I dug up the layer1/prim_fbsb.c code off the same branch and came to two
conclusions (though I am unable to find out what the actual cause to this
problem is):
- Either the TPU is programmed to detect information from different
timeslot using l1s_rx_win_ctrl(). I make this assumption because, while
the layer1 complains about SB detect error, layer23 complains about bad
frame with >= 70 bit errors in the frame.
- Or, l1s_neigh_sb_resp() is receiving the correct frame and ending up
in a bad CRC check with the received SCH burst header (all 11 times !).
I have tested the osmocomBB firmware with both openBTS network setup and
public, licensed networks and have come to these conclusions, as the errors
were occurring in both the cases. You can find the error logs in here
<https://gist.github.com/NinjaComics/1bce7b581de4f1976753> and here
<https://gist.github.com/NinjaComics/a07699fd283c525de3fa> (these logs are
based of public networks). Thanks in advance, any help is appreciated.
--
Ravi Sharan B A G.
Hi all
I asked this question some time back and still waiting for some help. As
someone who is trying very hard to learn about Osmocom surly there is
someone interested in helping me. If not I don't see the point of having
this mailing list. We all have to start somewhere.
Tom
I am trying to build osmocombb using GwmB7UGK.c file.
When I run MAKE I get the following errors.
# make
CC app_ccch_scan.o
app_ccch_scan.c:74:1: warning: useless storage class specifier in empty
declaration [enabled by default]
app_ccch_scan.c:79:1: warning: useless storage class specifier in empty
declaration [enabled by default]
app_ccch_scan.c: In function ‘dump_bcch’:
app_ccch_scan.c:213:29: error: ‘CCCH_MODE_NON_COMBINED2’ undeclared
(first use in this function)
app_ccch_scan.c:213:29: note: each undeclared identifier is reported
only once for each function it appears in
app_ccch_scan.c:216:29: error: ‘CCCH_MODE_NON_COMBINED4’ undeclared
(first use in this function)
app_ccch_scan.c:219:29: error: ‘CCCH_MODE_NON_COMBINED6’ undeclared
(first use in this function)
app_ccch_scan.c: In function ‘gsm48_rx_imm_ass’:
app_ccch_scan.c:315:39: warning: unused variable ‘ra’ [-Wunused-variable]
app_ccch_scan.c:315:24: warning: unused variable ‘chan_req_mask’
[-Wunused-variable]
app_ccch_scan.c:315:10: warning: unused variable ‘chan_req_val’
[-Wunused-variable]
app_ccch_scan.c: In function ‘fillField’:
app_ccch_scan.c:711:17: warning: pointer targets in initialization
differ in signedness [-Wpointer-sign]
app_ccch_scan.c: In function ‘process_tch_efr’:
app_ccch_scan.c:753:2: warning: unknown conversion type character 0x20
in format [-Wformat]
app_ccch_scan.c:753:2: warning: unknown conversion type character 0x20
in format [-Wformat]
app_ccch_scan.c:778:4: warning: pointer targets in passing argument 1 of
‘tch_deinterleave’ differ in signedness [-Wpointer-sign]
app_ccch_scan.c:681:6: note: expected ‘ubit_t *’ but argument is of type
‘sbit_t *’
app_ccch_scan.c:780:4: warning: pointer targets in passing argument 1 of
‘tch_deinterleave’ differ in signedness [-Wpointer-sign]
app_ccch_scan.c:681:6: note: expected ‘ubit_t *’ but argument is of type
‘sbit_t *’
app_ccch_scan.c:787:3: warning: implicit declaration of function
‘osmo_conv_decode’ [-Wimplicit-function-declaration]
app_ccch_scan.c:732:9: warning: unused variable ‘steal_bit’
[-Wunused-variable]
app_ccch_scan.c:731:10: warning: unused variable ‘bursts’
[-Wunused-variable]
app_ccch_scan.c:730:21: warning: variable ‘length’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c:730:10: warning: unused variable ‘bid’ [-Wunused-variable]
app_ccch_scan.c:730:6: warning: variable ‘ul’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c:729:21: warning: unused variable ‘lch_idx’
[-Wunused-variable]
app_ccch_scan.c:729:17: warning: variable ‘tn’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c:729:10: warning: variable ‘cbits’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c:726:10: warning: variable ‘rx_dbm’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c: In function ‘process_tch_fr’:
app_ccch_scan.c:862:2: warning: unknown conversion type character 0x20
in format [-Wformat]
app_ccch_scan.c:862:2: warning: unknown conversion type character 0x20
in format [-Wformat]
app_ccch_scan.c:887:4: warning: pointer targets in passing argument 1 of
‘tch_deinterleave’ differ in signedness [-Wpointer-sign]
app_ccch_scan.c:681:6: note: expected ‘ubit_t *’ but argument is of type
‘sbit_t *’
app_ccch_scan.c:889:4: warning: pointer targets in passing argument 1 of
‘tch_deinterleave’ differ in signedness [-Wpointer-sign]
app_ccch_scan.c:681:6: note: expected ‘ubit_t *’ but argument is of type
‘sbit_t *’
app_ccch_scan.c:841:89: warning: unused variable ‘EFRAMR’
[-Wunused-variable]
app_ccch_scan.c:841:76: warning: unused variable ‘EFRBits’
[-Wunused-variable]
app_ccch_scan.c:841:9: warning: unused variable ‘steal_bit’
[-Wunused-variable]
app_ccch_scan.c:840:10: warning: unused variable ‘bursts’
[-Wunused-variable]
app_ccch_scan.c:839:21: warning: variable ‘length’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c:839:10: warning: unused variable ‘bid’ [-Wunused-variable]
app_ccch_scan.c:839:6: warning: variable ‘ul’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c:838:21: warning: unused variable ‘lch_idx’
[-Wunused-variable]
app_ccch_scan.c:838:17: warning: variable ‘tn’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c:838:10: warning: variable ‘cbits’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c:835:10: warning: variable ‘rx_dbm’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c: In function ‘local_burst_decode’:
app_ccch_scan.c:1049:29: error: ‘struct gsm48_ass_cmd’ has no member
named ‘chan_mode’
app_ccch_scan.c:1038:40: warning: unused variable ‘ra’ [-Wunused-variable]
app_ccch_scan.c:1038:25: warning: unused variable ‘chan_req_mask’
[-Wunused-variable]
app_ccch_scan.c:1038:11: warning: unused variable ‘chan_req_val’
[-Wunused-variable]
app_ccch_scan.c:1037:11: warning: unused variable ‘ch_type’
[-Wunused-variable]
app_ccch_scan.c:943:10: warning: variable ‘rx_dbm’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c: In function ‘ccch_tn_decode’:
app_ccch_scan.c:1261:14: warning: assignment makes pointer from integer
without a cast [enabled by default]
app_ccch_scan.c:1203:17: warning: unused variable ‘lch_idx’
[-Wunused-variable]
app_ccch_scan.c:1200:10: warning: variable ‘rx_dbm’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c: In function ‘layer3_rx_burst’:
app_ccch_scan.c:1302:10: warning: variable ‘rx_dbm’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c: At top level:
app_ccch_scan.c:109:1: warning: ‘gen_filename’ defined but not used
[-Wunused-function]
make: *** [app_ccch_scan.o] Error 1
Tom
Hi all
I asked this question some time back and still waiting for some help. As
someone who is trying very hard to learn about Osmocom surly there is
someone interested in helping me. If not I don't see the point of having
this mailing list. We all have to start somewhere.
Tom
I am trying to build osmocombb using GwmB7UGK.c file.
When I run MAKE I get the following errors.
# make
CC app_ccch_scan.o
app_ccch_scan.c:74:1: warning: useless storage class specifier in empty
declaration [enabled by default]
app_ccch_scan.c:79:1: warning: useless storage class specifier in empty
declaration [enabled by default]
app_ccch_scan.c: In function ‘dump_bcch’:
app_ccch_scan.c:213:29: error: ‘CCCH_MODE_NON_COMBINED2’ undeclared
(first use in this function)
app_ccch_scan.c:213:29: note: each undeclared identifier is reported
only once for each function it appears in
app_ccch_scan.c:216:29: error: ‘CCCH_MODE_NON_COMBINED4’ undeclared
(first use in this function)
app_ccch_scan.c:219:29: error: ‘CCCH_MODE_NON_COMBINED6’ undeclared
(first use in this function)
app_ccch_scan.c: In function ‘gsm48_rx_imm_ass’:
app_ccch_scan.c:315:39: warning: unused variable ‘ra’ [-Wunused-variable]
app_ccch_scan.c:315:24: warning: unused variable ‘chan_req_mask’
[-Wunused-variable]
app_ccch_scan.c:315:10: warning: unused variable ‘chan_req_val’
[-Wunused-variable]
app_ccch_scan.c: In function ‘fillField’:
app_ccch_scan.c:711:17: warning: pointer targets in initialization
differ in signedness [-Wpointer-sign]
app_ccch_scan.c: In function ‘process_tch_efr’:
app_ccch_scan.c:753:2: warning: unknown conversion type character 0x20
in format [-Wformat]
app_ccch_scan.c:753:2: warning: unknown conversion type character 0x20
in format [-Wformat]
app_ccch_scan.c:778:4: warning: pointer targets in passing argument 1 of
‘tch_deinterleave’ differ in signedness [-Wpointer-sign]
app_ccch_scan.c:681:6: note: expected ‘ubit_t *’ but argument is of type
‘sbit_t *’
app_ccch_scan.c:780:4: warning: pointer targets in passing argument 1 of
‘tch_deinterleave’ differ in signedness [-Wpointer-sign]
app_ccch_scan.c:681:6: note: expected ‘ubit_t *’ but argument is of type
‘sbit_t *’
app_ccch_scan.c:787:3: warning: implicit declaration of function
‘osmo_conv_decode’ [-Wimplicit-function-declaration]
app_ccch_scan.c:732:9: warning: unused variable ‘steal_bit’
[-Wunused-variable]
app_ccch_scan.c:731:10: warning: unused variable ‘bursts’
[-Wunused-variable]
app_ccch_scan.c:730:21: warning: variable ‘length’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c:730:10: warning: unused variable ‘bid’ [-Wunused-variable]
app_ccch_scan.c:730:6: warning: variable ‘ul’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c:729:21: warning: unused variable ‘lch_idx’
[-Wunused-variable]
app_ccch_scan.c:729:17: warning: variable ‘tn’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c:729:10: warning: variable ‘cbits’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c:726:10: warning: variable ‘rx_dbm’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c: In function ‘process_tch_fr’:
app_ccch_scan.c:862:2: warning: unknown conversion type character 0x20
in format [-Wformat]
app_ccch_scan.c:862:2: warning: unknown conversion type character 0x20
in format [-Wformat]
app_ccch_scan.c:887:4: warning: pointer targets in passing argument 1 of
‘tch_deinterleave’ differ in signedness [-Wpointer-sign]
app_ccch_scan.c:681:6: note: expected ‘ubit_t *’ but argument is of type
‘sbit_t *’
app_ccch_scan.c:889:4: warning: pointer targets in passing argument 1 of
‘tch_deinterleave’ differ in signedness [-Wpointer-sign]
app_ccch_scan.c:681:6: note: expected ‘ubit_t *’ but argument is of type
‘sbit_t *’
app_ccch_scan.c:841:89: warning: unused variable ‘EFRAMR’
[-Wunused-variable]
app_ccch_scan.c:841:76: warning: unused variable ‘EFRBits’
[-Wunused-variable]
app_ccch_scan.c:841:9: warning: unused variable ‘steal_bit’
[-Wunused-variable]
app_ccch_scan.c:840:10: warning: unused variable ‘bursts’
[-Wunused-variable]
app_ccch_scan.c:839:21: warning: variable ‘length’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c:839:10: warning: unused variable ‘bid’ [-Wunused-variable]
app_ccch_scan.c:839:6: warning: variable ‘ul’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c:838:21: warning: unused variable ‘lch_idx’
[-Wunused-variable]
app_ccch_scan.c:838:17: warning: variable ‘tn’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c:838:10: warning: variable ‘cbits’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c:835:10: warning: variable ‘rx_dbm’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c: In function ‘local_burst_decode’:
app_ccch_scan.c:1049:29: error: ‘struct gsm48_ass_cmd’ has no member
named ‘chan_mode’
app_ccch_scan.c:1038:40: warning: unused variable ‘ra’ [-Wunused-variable]
app_ccch_scan.c:1038:25: warning: unused variable ‘chan_req_mask’
[-Wunused-variable]
app_ccch_scan.c:1038:11: warning: unused variable ‘chan_req_val’
[-Wunused-variable]
app_ccch_scan.c:1037:11: warning: unused variable ‘ch_type’
[-Wunused-variable]
app_ccch_scan.c:943:10: warning: variable ‘rx_dbm’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c: In function ‘ccch_tn_decode’:
app_ccch_scan.c:1261:14: warning: assignment makes pointer from integer
without a cast [enabled by default]
app_ccch_scan.c:1203:17: warning: unused variable ‘lch_idx’
[-Wunused-variable]
app_ccch_scan.c:1200:10: warning: variable ‘rx_dbm’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c: In function ‘layer3_rx_burst’:
app_ccch_scan.c:1302:10: warning: variable ‘rx_dbm’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c: At top level:
app_ccch_scan.c:109:1: warning: ‘gen_filename’ defined but not used
[-Wunused-function]
make: *** [app_ccch_scan.o] Error 1
Tom
Hi all
I am trying to build osmocombb using GwmB7UGK.c file.
When I run MAKE I get the following errors.
# make
CC app_ccch_scan.o
app_ccch_scan.c:74:1: warning: useless storage class specifier in empty
declaration [enabled by default]
app_ccch_scan.c:79:1: warning: useless storage class specifier in empty
declaration [enabled by default]
app_ccch_scan.c: In function ‘dump_bcch’:
app_ccch_scan.c:213:29: error: ‘CCCH_MODE_NON_COMBINED2’ undeclared (first
use in this function)
app_ccch_scan.c:213:29: note: each undeclared identifier is reported only
once for each function it appears in
app_ccch_scan.c:216:29: error: ‘CCCH_MODE_NON_COMBINED4’ undeclared (first
use in this function)
app_ccch_scan.c:219:29: error: ‘CCCH_MODE_NON_COMBINED6’ undeclared (first
use in this function)
app_ccch_scan.c: In function ‘gsm48_rx_imm_ass’:
app_ccch_scan.c:315:39: warning: unused variable ‘ra’ [-Wunused-variable]
app_ccch_scan.c:315:24: warning: unused variable ‘chan_req_mask’
[-Wunused-variable]
app_ccch_scan.c:315:10: warning: unused variable ‘chan_req_val’
[-Wunused-variable]
app_ccch_scan.c: In function ‘fillField’:
app_ccch_scan.c:711:17: warning: pointer targets in initialization differ
in signedness [-Wpointer-sign]
app_ccch_scan.c: In function ‘process_tch_efr’:
app_ccch_scan.c:753:2: warning: unknown conversion type character 0x20 in
format [-Wformat]
app_ccch_scan.c:753:2: warning: unknown conversion type character 0x20 in
format [-Wformat]
app_ccch_scan.c:778:4: warning: pointer targets in passing argument 1 of
‘tch_deinterleave’ differ in signedness [-Wpointer-sign]
app_ccch_scan.c:681:6: note: expected ‘ubit_t *’ but argument is of type
‘sbit_t *’
app_ccch_scan.c:780:4: warning: pointer targets in passing argument 1 of
‘tch_deinterleave’ differ in signedness [-Wpointer-sign]
app_ccch_scan.c:681:6: note: expected ‘ubit_t *’ but argument is of type
‘sbit_t *’
app_ccch_scan.c:787:3: warning: implicit declaration of function
‘osmo_conv_decode’ [-Wimplicit-function-declaration]
app_ccch_scan.c:732:9: warning: unused variable ‘steal_bit’
[-Wunused-variable]
app_ccch_scan.c:731:10: warning: unused variable ‘bursts’
[-Wunused-variable]
app_ccch_scan.c:730:21: warning: variable ‘length’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c:730:10: warning: unused variable ‘bid’ [-Wunused-variable]
app_ccch_scan.c:730:6: warning: variable ‘ul’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c:729:21: warning: unused variable ‘lch_idx’
[-Wunused-variable]
app_ccch_scan.c:729:17: warning: variable ‘tn’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c:729:10: warning: variable ‘cbits’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c:726:10: warning: variable ‘rx_dbm’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c: In function ‘process_tch_fr’:
app_ccch_scan.c:862:2: warning: unknown conversion type character 0x20 in
format [-Wformat]
app_ccch_scan.c:862:2: warning: unknown conversion type character 0x20 in
format [-Wformat]
app_ccch_scan.c:887:4: warning: pointer targets in passing argument 1 of
‘tch_deinterleave’ differ in signedness [-Wpointer-sign]
app_ccch_scan.c:681:6: note: expected ‘ubit_t *’ but argument is of type
‘sbit_t *’
app_ccch_scan.c:889:4: warning: pointer targets in passing argument 1 of
‘tch_deinterleave’ differ in signedness [-Wpointer-sign]
app_ccch_scan.c:681:6: note: expected ‘ubit_t *’ but argument is of type
‘sbit_t *’
app_ccch_scan.c:841:89: warning: unused variable ‘EFRAMR’
[-Wunused-variable]
app_ccch_scan.c:841:76: warning: unused variable ‘EFRBits’
[-Wunused-variable]
app_ccch_scan.c:841:9: warning: unused variable ‘steal_bit’
[-Wunused-variable]
app_ccch_scan.c:840:10: warning: unused variable ‘bursts’
[-Wunused-variable]
app_ccch_scan.c:839:21: warning: variable ‘length’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c:839:10: warning: unused variable ‘bid’ [-Wunused-variable]
app_ccch_scan.c:839:6: warning: variable ‘ul’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c:838:21: warning: unused variable ‘lch_idx’
[-Wunused-variable]
app_ccch_scan.c:838:17: warning: variable ‘tn’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c:838:10: warning: variable ‘cbits’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c:835:10: warning: variable ‘rx_dbm’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c: In function ‘local_burst_decode’:
app_ccch_scan.c:1049:29: error: ‘struct gsm48_ass_cmd’ has no member named
‘chan_mode’
app_ccch_scan.c:1038:40: warning: unused variable ‘ra’ [-Wunused-variable]
app_ccch_scan.c:1038:25: warning: unused variable ‘chan_req_mask’
[-Wunused-variable]
app_ccch_scan.c:1038:11: warning: unused variable ‘chan_req_val’
[-Wunused-variable]
app_ccch_scan.c:1037:11: warning: unused variable ‘ch_type’
[-Wunused-variable]
app_ccch_scan.c:943:10: warning: variable ‘rx_dbm’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c: In function ‘ccch_tn_decode’:
app_ccch_scan.c:1261:14: warning: assignment makes pointer from integer
without a cast [enabled by default]
app_ccch_scan.c:1203:17: warning: unused variable ‘lch_idx’
[-Wunused-variable]
app_ccch_scan.c:1200:10: warning: variable ‘rx_dbm’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c: In function ‘layer3_rx_burst’:
app_ccch_scan.c:1302:10: warning: variable ‘rx_dbm’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c: At top level:
app_ccch_scan.c:109:1: warning: ‘gen_filename’ defined but not used
[-Wunused-function]
make: *** [app_ccch_scan.o] Error 1
Tom