Actions
Bug #5959
closed[current] osmo-bsc interprets ip.access manufacturer ID as attributes
Start date:
03/26/2023
Due date:
% Done:
0%
Spec Reference:
Description
The Abis OML Manufacturer ID IE is normally used to indicate the [name or identity of] the BTS manufacturer. In case of ip.access nanoBTS it is, for example, "com.ipaccess".
Osmocom decided to re-pupose this IE to indicate bts-specific feature flags.
However, the related code in abis_nm.c is not guarded by a respective check for bts->type == OSMO.
The respective log output is:
<0004> abis_nm.c:588 OC=BTS(01) INST=(02,ff,ff): Get Attributes Response: reported unexpectedly long (13 bytes) feature vector - most likely it was compiled against newer BSC headers. Consider upgrading your BSC to later version. <0004> abis_nm.c:605 OC=BTS(01) INST=(02,ff,ff): Get Attributes Response: feature 'GPRS' is supported <0004> abis_nm.c:605 OC=BTS(01) INST=(02,ff,ff): Get Attributes Response: feature 'EGPRS' is supported <0004> abis_nm.c:605 OC=BTS(01) INST=(02,ff,ff): Get Attributes Response: feature 'OML_ALERTS' is supported <0004> abis_nm.c:605 OC=BTS(01) INST=(02,ff,ff): Get Attributes Response: feature 'AGCH_PCH_PROP' is supported <0004> abis_nm.c:605 OC=BTS(01) INST=(02,ff,ff): Get Attributes Response: feature 'SPEECH_F_V1' is supported <0004> abis_nm.c:605 OC=BTS(01) INST=(02,ff,ff): Get Attributes Response: feature 'SPEECH_H_V1' is supported <0004> abis_nm.c:605 OC=BTS(01) INST=(02,ff,ff): Get Attributes Response: feature 'SPEECH_F_AMR' is supported <0004> abis_nm.c:605 OC=BTS(01) INST=(02,ff,ff): Get Attributes Response: feature 'SPEECH_H_AMR' is supported <0004> abis_nm.c:605 OC=BTS(01) INST=(02,ff,ff): Get Attributes Response: feature 'ETWS_PN' is supported <0004> abis_nm.c:605 OC=BTS(01) INST=(02,ff,ff): Get Attributes Response: feature 'PAGING_COORDINATION' is supported <0004> abis_nm.c:605 OC=BTS(01) INST=(02,ff,ff): Get Attributes Response: feature 'ACCH_REP' is supported <0004> abis_nm.c:605 OC=BTS(01) INST=(02,ff,ff): Get Attributes Response: feature 'CCN' is supported <0004> abis_nm.c:605 OC=BTS(01) INST=(02,ff,ff): Get Attributes Response: feature 'ABIS_OSMO_PCU' is supported <0004> abis_nm.c:605 OC=BTS(01) INST=(02,ff,ff): Get Attributes Response: feature 'BCCH_PWR_RED' is supported <0004> abis_nm.c:605 OC=BTS(01) INST=(02,ff,ff): Get Attributes Response: feature 'ACCH_TEMP_OVP' is supported <0004> abis_nm.c:605 OC=BTS(01) INST=(02,ff,ff): Get Attributes Response: feature 'VGCS' is supported <0004> abis_nm.c:602 OC=BTS(01) INST=(02,ff,ff): Get Attributes Response: unknown feature 0x1c is supported <0004> abis_nm.c:602 OC=BTS(01) INST=(02,ff,ff): Get Attributes Response: unknown feature 0x1d is supported <0004> abis_nm.c:602 OC=BTS(01) INST=(02,ff,ff): Get Attributes Response: unknown feature 0x1e is supported <0004> abis_nm.c:602 OC=BTS(01) INST=(02,ff,ff): Get Attributes Response: unknown feature 0x21 is supported <0004> abis_nm.c:602 OC=BTS(01) INST=(02,ff,ff): Get Attributes Response: unknown feature 0x22 is supported <0004> abis_nm.c:602 OC=BTS(01) INST=(02,ff,ff): Get Attributes Response: unknown feature 0x24 is supported <0004> abis_nm.c:602 OC=BTS(01) INST=(02,ff,ff): Get Attributes Response: unknown feature 0x27 is supported <0004> abis_nm.c:602 OC=BTS(01) INST=(02,ff,ff): Get Attributes Response: unknown feature 0x29 is supported <0004> abis_nm.c:602 OC=BTS(01) INST=(02,ff,ff): Get Attributes Response: unknown feature 0x2a is supported <0004> abis_nm.c:602 OC=BTS(01) INST=(02,ff,ff): Get Attributes Response: unknown feature 0x2b is supported <0004> abis_nm.c:602 OC=BTS(01) INST=(02,ff,ff): Get Attributes Response: unknown feature 0x31 is supported <0004> abis_nm.c:602 OC=BTS(01) INST=(02,ff,ff): Get Attributes Response: unknown feature 0x32 is supported <0004> abis_nm.c:602 OC=BTS(01) INST=(02,ff,ff): Get Attributes Response: unknown feature 0x37 is supported <0004> abis_nm.c:602 OC=BTS(01) INST=(02,ff,ff): Get Attributes Response: unknown feature 0x39 is supported <0004> abis_nm.c:602 OC=BTS(01) INST=(02,ff,ff): Get Attributes Response: unknown feature 0x3a is supported <0004> abis_nm.c:602 OC=BTS(01) INST=(02,ff,ff): Get Attributes Response: unknown feature 0x3e is supported <0004> abis_nm.c:602 OC=BTS(01) INST=(02,ff,ff): Get Attributes Response: unknown feature 0x3f is supported <0004> abis_nm.c:602 OC=BTS(01) INST=(02,ff,ff): Get Attributes Response: unknown feature 0x41 is supported <0004> abis_nm.c:602 OC=BTS(01) INST=(02,ff,ff): Get Attributes Response: unknown feature 0x42 is supported <0004> abis_nm.c:602 OC=BTS(01) INST=(02,ff,ff): Get Attributes Response: unknown feature 0x46 is supported <0004> abis_nm.c:602 OC=BTS(01) INST=(02,ff,ff): Get Attributes Response: unknown feature 0x47 is supported <0004> abis_nm.c:602 OC=BTS(01) INST=(02,ff,ff): Get Attributes Response: unknown feature 0x49 is supported <0004> abis_nm.c:602 OC=BTS(01) INST=(02,ff,ff): Get Attributes Response: unknown feature 0x4a is supported <0004> abis_nm.c:602 OC=BTS(01) INST=(02,ff,ff): Get Attributes Response: unknown feature 0x4d is supported <0004> abis_nm.c:602 OC=BTS(01) INST=(02,ff,ff): Get Attributes Response: unknown feature 0x4f is supported <0004> abis_nm.c:602 OC=BTS(01) INST=(02,ff,ff): Get Attributes Response: unknown feature 0x51 is supported <0004> abis_nm.c:602 OC=BTS(01) INST=(02,ff,ff): Get Attributes Response: unknown feature 0x52 is supported <0004> abis_nm.c:602 OC=BTS(01) INST=(02,ff,ff): Get Attributes Response: unknown feature 0x53 is supported <0004> abis_nm.c:602 OC=BTS(01) INST=(02,ff,ff): Get Attributes Response: unknown feature 0x56 is supported <0004> abis_nm.c:602 OC=BTS(01) INST=(02,ff,ff): Get Attributes Response: unknown feature 0x57 is supported <0004> abis_nm.c:602 OC=BTS(01) INST=(02,ff,ff): Get Attributes Response: unknown feature 0x59 is supported <0004> abis_nm.c:602 OC=BTS(01) INST=(02,ff,ff): Get Attributes Response: unknown feature 0x5a is supported <0004> abis_nm.c:602 OC=BTS(01) INST=(02,ff,ff): Get Attributes Response: unknown feature 0x5b is supported <0004> abis_nm.c:602 OC=BTS(01) INST=(02,ff,ff): Get Attributes Response: unknown feature 0x5e is supported <0004> abis_nm.c:602 OC=BTS(01) INST=(02,ff,ff): Get Attributes Response: unknown feature 0x5f is supported <0004> abis_nm.c:616 OC=BTS(01) INST=(02,ff,ff): Get Attributes Response: feature 'MULTI_TSC' is assumed to be supported <0004> abis_nm.c:641 OC=BTS(01) INST=(00,ff,ff): ARI reported sw[0/3]: 168d404 is v159b11d0 <0004> abis_nm.c:641 OC=BTS(01) INST=(00,ff,ff): ARI reported sw[1/3]: 168d472 is v200b411d0 <0004> abis_nm.c:641 OC=BTS(01) INST=(00,ff,ff): ARI reported sw[2/3]: 168d402 is v159b11d0
I'm attaching a related PCAP file of OML startup using a nanoBTS.
Files
Updated by laforge 8 months ago
WIP attempt to address this in https://gerrit.osmocom.org/c/osmo-bsc/+/32070
Updated by laforge about 2 months ago
- Status changed from In Progress to Resolved
patch was merged long ago.
Actions