Hi

I'm using latest versions of osmo-pcu, osmo-bts, openbsc:
osmo-pcu Change -Id: Ib39e4424f73c677b34f921917440f211e400e14f
osmo-bts Change-Id: Id505594b9f224567566caac84dae2e2ae4477fae
openbsc Change-Id: Id5678a74504b4456aba0438ccc34731770801128

Hardware: octasic OCTBTS3500, API version OCTSDR-2G-02.11.00-B1927-ALPHA.
I'm using phones HTC Desire 601 and BlackBerry Z10. They both support EDGE.

As I see, in the osmo-bts/src/osmo-bts-octphy field
rach_ind_param.burst_type is not modified anywhere.
I tried to add next code to osmo-bts/src/osmo-bts-octphy/l1_if.c in
function handle_ph_rach_ind:


@@ -1207,6 +1368,22 @@ static int handle_ph_rach_ind(struct octphy_hdl *fl1,
        else
                rach_ind_param.acc_delay = ra_ind->MeasurementInfo.sBurstTiming;

+LOGP( DL1C, LOGL_ERROR, "===> ra_ind->burstType=%u\n", ra_ind->ulBurstType );
+    switch (ra_ind->ulBurstType) {
+    case cOCTVC1_GSM_BURST_TYPE_ENUM_ACCESS_TRAINING_0:
+        l1sap->u.rach_ind.burst_type = GSM_L1_BURST_TYPE_ACCESS_0;
+        break;
+    case cOCTVC1_GSM_BURST_TYPE_ENUM_ACCESS_TRAINING_1:
+        l1sap->u.rach_ind.burst_type = GSM_L1_BURST_TYPE_ACCESS_1;
+        break;
+    case cOCTVC1_GSM_BURST_TYPE_ENUM_ACCESS_TRAINING_2:
+        l1sap->u.rach_ind.burst_type = GSM_L1_BURST_TYPE_ACCESS_2;
+        break;
+    default:
+        l1sap->u.rach_ind.burst_type = GSM_L1_BURST_TYPE_NONE;
+        break;
+    }
+
        /* msgb_trim() invalidates ra_ind, make that abundantly clear: */
        ra_ind = NULL;


But PCU is logging only "===> ra_ind->burstType=0", i.e
cOCTVC1_GSM_BURST_TYPE_ENUM_SYNC


чт, 28 мар. 2019 г. в 14:58, Harald Welte <[email protected]>:

> Hi Andrey,
>
> in general, as Max stated, you have to use 'gprs mode egprs' if you want
> EGPRS.
>
> OsmoPCU implements only either GPRS or EGPRS.  So as soon as you activate
> EGPRS,
> you cannot use GPRS-only phones anymore.  All your phones have to support
> EGPRS
> or will not be able to use PS services.
>
> Free Software lives by contributions, and OsmoPCU is unfortunately not
> receiving many.  Please feel free to join our project and help us with
> contributing the features that you need. Thanks :)
>
> Regards,
>         Harald
> --
> - Harald Welte <[email protected]>
> http://laforge.gnumonks.org/
>
> ============================================================================
> "Privacy in residential applications is a desirable marketing option."
>                                                   (ETSI EN 300 175-7 Ch.
> A6)
>

Attachment: osmo-bts0.cfg
Description: Binary data

Attachment: osmo-pcu0.cfg
Description: Binary data

Attachment: osmo-nitb.cfg
Description: Binary data

<000d> gprs_bssgp_pcu.cpp:567 NS-VC 101 is unblocked.
<0002> bts.cpp:723 MS requests UL TBF on RACH, so we provide one: ra=0x77 Fn=6032 qta=0 is_11bit=0:
<0002> bts.cpp:655 MS requests single block allocation
<0002> bts.cpp:689 PCU has not received burst type from BTS
<0008> tbf.cpp:972 Not accepting non-EGPRS phone in EGPRS-only mode
<0002> bts.cpp:756 No PDCH resource sending Immediate Assignment Uplink (AGCH) reject
<0002> bts.cpp:723 MS requests UL TBF on RACH, so we provide one: ra=0x75 Fn=12717 qta=0 is_11bit=0:
<0002> bts.cpp:655 MS requests single block allocation
<0002> bts.cpp:689 PCU has not received burst type from BTS
<0008> tbf.cpp:972 Not accepting non-EGPRS phone in EGPRS-only mode
<0002> bts.cpp:756 No PDCH resource sending Immediate Assignment Uplink (AGCH) reject
<0002> bts.cpp:723 MS requests UL TBF on RACH, so we provide one: ra=0x76 Fn=13175 qta=0 is_11bit=0:
<0002> bts.cpp:655 MS requests single block allocation
<0002> bts.cpp:689 PCU has not received burst type from BTS
<0008> tbf.cpp:972 Not accepting non-EGPRS phone in EGPRS-only mode
<0002> bts.cpp:756 No PDCH resource sending Immediate Assignment Uplink (AGCH) reject
<0002> bts.cpp:723 MS requests UL TBF on RACH, so we provide one: ra=0x75 Fn=17165 qta=0 is_11bit=0:
<0002> bts.cpp:655 MS requests single block allocation
<0002> bts.cpp:689 PCU has not received burst type from BTS
<0008> tbf.cpp:972 Not accepting non-EGPRS phone in EGPRS-only mode
<0002> bts.cpp:756 No PDCH resource sending Immediate Assignment Uplink (AGCH) reject
<0002> bts.cpp:723 MS requests UL TBF on RACH, so we provide one: ra=0x76 Fn=20314 qta=0 is_11bit=0:
<0002> bts.cpp:655 MS requests single block allocation
<0002> bts.cpp:689 PCU has not received burst type from BTS
<0008> tbf.cpp:972 Not accepting non-EGPRS phone in EGPRS-only mode
<0002> bts.cpp:756 No PDCH resource sending Immediate Assignment Uplink (AGCH) reject
<0002> bts.cpp:723 MS requests UL TBF on RACH, so we provide one: ra=0x71 Fn=21598 qta=0 is_11bit=0:
<0002> bts.cpp:655 MS requests single block allocation
<0002> bts.cpp:689 PCU has not received burst type from BTS
<0008> tbf.cpp:972 Not accepting non-EGPRS phone in EGPRS-only mode
<0002> bts.cpp:756 No PDCH resource sending Immediate Assignment Uplink (AGCH) reject
<0002> bts.cpp:723 MS requests UL TBF on RACH, so we provide one: ra=0x73 Fn=24892 qta=0 is_11bit=0:
<0002> bts.cpp:655 MS requests single block allocation
<0002> bts.cpp:689 PCU has not received burst type from BTS
<0008> tbf.cpp:972 Not accepting non-EGPRS phone in EGPRS-only mode
<0002> bts.cpp:756 No PDCH resource sending Immediate Assignment Uplink (AGCH) reject
<0002> bts.cpp:723 MS requests UL TBF on RACH, so we provide one: ra=0x74 Fn=26039 qta=0 is_11bit=0:
<0002> bts.cpp:655 MS requests single block allocation
<0002> bts.cpp:689 PCU has not received burst type from BTS
<0008> tbf.cpp:972 Not accepting non-EGPRS phone in EGPRS-only mode
<0002> bts.cpp:756 No PDCH resource sending Immediate Assignment Uplink (AGCH) reject
<0002> bts.cpp:723 MS requests UL TBF on RACH, so we provide one: ra=0x72 Fn=30475 qta=0 is_11bit=0:
<0002> bts.cpp:655 MS requests single block allocation
<0002> bts.cpp:689 PCU has not received burst type from BTS
<0008> tbf.cpp:972 Not accepting non-EGPRS phone in EGPRS-only mode
<0002> bts.cpp:756 No PDCH resource sending Immediate Assignment Uplink (AGCH) reject
<0002> bts.cpp:723 MS requests UL TBF on RACH, so we provide one: ra=0x71 Fn=30767 qta=0 is_11bit=0:
<0002> bts.cpp:655 MS requests single block allocation
<0002> bts.cpp:689 PCU has not received burst type from BTS
<0008> tbf.cpp:972 Not accepting non-EGPRS phone in EGPRS-only mode
<0002> bts.cpp:756 No PDCH resource sending Immediate Assignment Uplink (AGCH) reject
<0002> bts.cpp:723 MS requests UL TBF on RACH, so we provide one: ra=0x70 Fn=33399 qta=0 is_11bit=0:
<0002> bts.cpp:655 MS requests single block allocation
<0002> bts.cpp:689 PCU has not received burst type from BTS
<0008> tbf.cpp:972 Not accepting non-EGPRS phone in EGPRS-only mode
<0002> bts.cpp:756 No PDCH resource sending Immediate Assignment Uplink (AGCH) reject
<0002> bts.cpp:723 MS requests UL TBF on RACH, so we provide one: ra=0x70 Fn=37910 qta=0 is_11bit=0:
<0002> bts.cpp:655 MS requests single block allocation
<0002> bts.cpp:689 PCU has not received burst type from BTS
<0008> tbf.cpp:972 Not accepting non-EGPRS phone in EGPRS-only mode
<0002> bts.cpp:756 No PDCH resource sending Immediate Assignment Uplink (AGCH) reject
<0002> bts.cpp:723 MS requests UL TBF on RACH, so we provide one: ra=0x73 Fn=40724 qta=0 is_11bit=0:
<0002> bts.cpp:655 MS requests single block allocation
<0002> bts.cpp:689 PCU has not received burst type from BTS
<0008> tbf.cpp:972 Not accepting non-EGPRS phone in EGPRS-only mode
<0002> bts.cpp:756 No PDCH resource sending Immediate Assignment Uplink (AGCH) reject
<0002> bts.cpp:723 MS requests UL TBF on RACH, so we provide one: ra=0x70 Fn=45047 qta=0 is_11bit=0:
<0002> bts.cpp:655 MS requests single block allocation
<0002> bts.cpp:689 PCU has not received burst type from BTS
<0008> tbf.cpp:972 Not accepting non-EGPRS phone in EGPRS-only mode
<0002> bts.cpp:756 No PDCH resource sending Immediate Assignment Uplink (AGCH) reject

19700101010905888 <0017> control_if.c:911 CTRL at 127.0.0.1 4238
19700101010905889 <0010> telnet_interface.c:104 Available via telnet 127.0.0.1 4241
19700101010905889 <0012> input/ipaccess.c:882 enabling ipaccess BTS mode, OML connecting to 127.0.0.1:3002
19700101010905890 <0006> l1_if.c:1746 Opening L1 interface for OctPHY (eth0)
19700101010905940 <0012> input/ipa.c:128 127.0.0.1:3002 connection done
19700101010905940 <0012> input/ipaccess.c:705 received ID get from 1234/0/0
19700101010905982 <0001> oml.c:683 Ignoring T200[0] (150 ms) as sent by BSC due to suspected LAPDm bug!
19700101010905982 <0001> oml.c:683 Ignoring T200[1] (180 ms) as sent by BSC due to suspected LAPDm bug!
19700101010905982 <0001> oml.c:683 Ignoring T200[2] (180 ms) as sent by BSC due to suspected LAPDm bug!
19700101010905982 <0001> oml.c:683 Ignoring T200[3] (1680 ms) as sent by BSC due to suspected LAPDm bug!
19700101010905982 <0001> oml.c:683 Ignoring T200[4] (520 ms) as sent by BSC due to suspected LAPDm bug!
19700101010905982 <0001> oml.c:683 Ignoring T200[5] (165 ms) as sent by BSC due to suspected LAPDm bug!
19700101010905982 <0001> oml.c:683 Ignoring T200[6] (1680 ms) as sent by BSC due to suspected LAPDm bug!
19700101010906963 <0012> input/ipa.c:128 127.0.0.1:3003 connection done
19700101010906964 <0012> input/ipaccess.c:705 received ID get from 1234/0/0
19700101010906971 <0005> paging.c:540 Paging SI update
19700101010906985 <0005> paging.c:540 Paging SI update
19700101010906985 <0005> paging.c:540 Paging SI update
19700101010906986 <0005> paging.c:540 Paging SI update
19700101010906987 <0005> paging.c:540 Paging SI update
19700101010906987 <0005> paging.c:540 Paging SI update
19700101010906988 <0009> pcu_sock.c:694 PCU socket not connected, dropping message
19700101010906989 <0005> paging.c:540 Paging SI update
19700101010906989 <0009> pcu_sock.c:694 PCU socket not connected, dropping message
19700101010906989 <0009> pcu_sock.c:694 PCU socket not connected, dropping message
19700101010906989 <0009> pcu_sock.c:568 Failed to send SI13 to PCU: -5
19700101010906989 <0005> paging.c:540 Paging SI update
19700101010906989 <0009> pcu_sock.c:694 PCU socket not connected, dropping message
19700101010906989 <0005> paging.c:540 Paging SI update
19700101010906989 <0009> pcu_sock.c:694 PCU socket not connected, dropping message
19700101010906989 <0005> paging.c:540 Paging SI update
19700101010906989 <0009> pcu_sock.c:694 PCU socket not connected, dropping message
19700101010906991 <0005> paging.c:540 Paging SI update
19700101010906991 <0009> pcu_sock.c:694 PCU socket not connected, dropping message
19700101010906992 <0005> paging.c:540 Paging SI update
19700101010906992 <0009> pcu_sock.c:694 PCU socket not connected, dropping message
19700101010907011 <0009> pcu_sock.c:694 PCU socket not connected, dropping message
19700101010907051 <0009> pcu_sock.c:694 PCU socket not connected, dropping message
19700101010907091 <0009> pcu_sock.c:694 PCU socket not connected, dropping message
19700101010907132 <0009> pcu_sock.c:694 PCU socket not connected, dropping message
19700101010907173 <0009> pcu_sock.c:694 PCU socket not connected, dropping message
19700101010907211 <0009> pcu_sock.c:694 PCU socket not connected, dropping message
19700101010907251 <0009> pcu_sock.c:694 PCU socket not connected, dropping message
19700101010907255 <0000> rsl.c:813 (bts=0,trx=0,ts=0,ss=4) not sending CHAN ACT ACK
19700101010907255 <0006> l1_oml.c:877 (bts=0,trx=0,ts=0,ss=4) End of queue encountered. Now empty? 1
19700101010907290 <0001> oml.c:683 Ignoring T200[0] (150 ms) as sent by BSC due to suspected LAPDm bug!
19700101010907290 <0001> oml.c:683 Ignoring T200[1] (180 ms) as sent by BSC due to suspected LAPDm bug!
19700101010907290 <0001> oml.c:683 Ignoring T200[2] (180 ms) as sent by BSC due to suspected LAPDm bug!
19700101010907291 <0001> oml.c:683 Ignoring T200[3] (1680 ms) as sent by BSC due to suspected LAPDm bug!
19700101010907291 <0001> oml.c:683 Ignoring T200[4] (520 ms) as sent by BSC due to suspected LAPDm bug!
19700101010907291 <0001> oml.c:683 Ignoring T200[5] (165 ms) as sent by BSC due to suspected LAPDm bug!
19700101010907291 <0001> oml.c:683 Ignoring T200[6] (1680 ms) as sent by BSC due to suspected LAPDm bug!
19700101010907292 <0001> oml.c:1057 ADM state already was Unlocked
19700101010907330 <0009> pcu_sock.c:694 PCU socket not connected, dropping message
19700101010907331 <0009> pcu_sock.c:694 PCU socket not connected, dropping message
19700101010907331 <0001> oml.c:1057 ADM state already was Unlocked
19700101010907332 <0001> oml.c:1057 ADM state already was Unlocked
19700101010907370 <0009> pcu_sock.c:694 PCU socket not connected, dropping message
19700101010907371 <0001> oml.c:1057 ADM state already was Unlocked
19700101010913274 <0009> pcu_sock.c:899 PCU socket connected to external PCU
19700101010913275 <0001> oml.c:76 Sending PCU version report to BSC: 0.6.0
19700101010913289 <0009> pcu_sock.c:523 (bts=0,trx=0,ts=4): Received PCU DATA request for inactive lchan
19700101010913290 <0009> pcu_sock.c:523 (bts=0,trx=0,ts=5): Received PCU DATA request for inactive lchan
19700101010913290 <0009> pcu_sock.c:523 (bts=0,trx=0,ts=6): Received PCU DATA request for inactive lchan
19700101010913291 <0009> pcu_sock.c:523 (bts=0,trx=0,ts=7): Received PCU DATA request for inactive lchan
19700101010913291 <0000> rsl.c:813 (bts=0,trx=0,ts=4,ss=0) not sending CHAN ACT ACK
19700101010913291 <0006> l1_oml.c:877 (bts=0,trx=0,ts=4,ss=0) End of queue encountered. Now empty? 1
19700101010913292 <0000> rsl.c:813 (bts=0,trx=0,ts=5,ss=0) not sending CHAN ACT ACK
19700101010913292 <0006> l1_oml.c:877 (bts=0,trx=0,ts=5,ss=0) End of queue encountered. Now empty? 1
19700101010913293 <0000> rsl.c:813 (bts=0,trx=0,ts=6,ss=0) not sending CHAN ACT ACK
19700101010913293 <0006> l1_oml.c:877 (bts=0,trx=0,ts=6,ss=0) End of queue encountered. Now empty? 1
19700101010913293 <0000> rsl.c:813 (bts=0,trx=0,ts=7,ss=0) not sending CHAN ACT ACK
19700101010913293 <0006> l1_oml.c:877 (bts=0,trx=0,ts=7,ss=0) End of queue encountered. Now empty? 1
19700101010931816 <0000> rsl.c:742 (bts=0,trx=0,ts=0,pchan=CCCH+SDCCH4) (ss=0) SDCCH Tx CHAN ACT ACK
19700101010931816 <0006> l1_oml.c:877 (bts=0,trx=0,ts=0,ss=0) End of queue encountered. Now empty? 1
19700101010932134 <0011> lapd_core.c:920 Store content res. (dl=0x2b209498)
19700101010933073 <0006> l1_oml.c:877 (bts=0,trx=0,ts=0,ss=0) End of queue encountered. Now empty? 1
19700101010935784 <0000> rsl.c:721 (bts=0,trx=0,ts=0,pchan=CCCH+SDCCH4) (ss=0) SDCCH Tx CHAN REL ACK
19700101010935785 <0006> l1_oml.c:877 (bts=0,trx=0,ts=0,ss=0) End of queue encountered. Now empty? 1
19700101011003130 <0000> rsl.c:742 (bts=0,trx=0,ts=0,pchan=CCCH+SDCCH4) (ss=0) SDCCH Tx CHAN ACT ACK
19700101011003130 <0006> l1_oml.c:877 (bts=0,trx=0,ts=0,ss=0) End of queue encountered. Now empty? 1
19700101011003432 <0011> lapd_core.c:920 Store content res. (dl=0x2b209498)
19700101011004848 <0006> l1_oml.c:877 (bts=0,trx=0,ts=0,ss=0) End of queue encountered. Now empty? 1
19700101011007554 <0000> rsl.c:721 (bts=0,trx=0,ts=0,pchan=CCCH+SDCCH4) (ss=0) SDCCH Tx CHAN REL ACK
19700101011007554 <0006> l1_oml.c:877 (bts=0,trx=0,ts=0,ss=0) End of queue encountered. Now empty? 1
19700101011138914 <0000> rsl.c:742 (bts=0,trx=0,ts=0,pchan=CCCH+SDCCH4) (ss=0) SDCCH Tx CHAN ACT ACK
19700101011138914 <0006> l1_oml.c:877 (bts=0,trx=0,ts=0,ss=0) End of queue encountered. Now empty? 1
19700101011139237 <0011> lapd_core.c:920 Store content res. (dl=0x2b209498)
19700101011140410 <0006> l1_oml.c:877 (bts=0,trx=0,ts=0,ss=0) End of queue encountered. Now empty? 1
19700101011143125 <0000> rsl.c:721 (bts=0,trx=0,ts=0,pchan=CCCH+SDCCH4) (ss=0) SDCCH Tx CHAN REL ACK
19700101011143125 <0006> l1_oml.c:877 (bts=0,trx=0,ts=0,ss=0) End of queue encountered. Now empty? 1
19700101011237939 <0012> input/ipa.c:65 127.0.0.1:3002 connection closed with server
19700101011237940 <000d> abis.c:144 Signalling link down
19700101011237940 <0001> bts.c:250 Shutting down BTS 0, Reason Abis close
19700101011238311 <0012> e1_input.c:235 abis_sendmsg: msg->dst == NULL: 0c 12 01 90 0f ff ff 
19700101011239311 <0012> e1_input.c:235 abis_sendmsg: msg->dst == NULL: 0c 12 01 90 0f ff ff 
19700101011240312 <0012> e1_input.c:235 abis_sendmsg: msg->dst == NULL: 0c 12 01 90 0f ff ff 

Reply via email to