After flashing my SDCard to a Raspbian Stretch for a clean install, I managed to build yate and yate bts. However, the results are the same. Here is my new build:
bladeRF-cli version: 1.4.0-0.2016.06-1+b2
libbladeRF version: 1.7.2-0.2016.06-1+b2
Firmware version: 2.0.0
FPGA version: 0.1.2
heres the new config files:
cat /usr/local/etc/yate/ybts.conf
[gsm]
;The GSM operating band.
;Valid values are 850 (GSM850), 900 (PGSM900), 1800 (DCS1800) and 1900 (PCS1900).
;For non-multiband units, this value is dictated by the hardware and should not be changed.
Radio.Band=900
;The C0 ARFCN. Also the base ARFCN for a multi-ARFCN configuration.Valid values depend on the selected Radio.Band.
; GSM850: 128..251.
; EGSM900: 0..124 or 975..1023.
; DSC1800: 512..885.
; PCS1900: 512..810.
;THERE IS NO DEFAULT, YOU MUST SET A VALUE HERE!
Radio.C0=0
;Mobile country code, must be three digits.
;The value 001 is reserved for for test networks.
;Defaults to 001 (Test Network)
Identity.MCC=001
;Mobile network code, two or three digits.
;The value 01 is usual for test networks with MCC 001.
;Defaults to 01 (Test Network, only in association with Identity.MCC=001)
Identity.MNC=01
;Location area code, 16 bits, values 0xFFxx are reserved.
;For multi-BTS networks, assign a unique LAC to each BTS unit.
;Interval allowed: 0..65280.
;Defaults to 1000 (arbitrary)
Identity.LAC=1000
;Cell ID, 16 bits, should be unique.
;Interval allowed: 0..65535.
;Defaults to 10 (arbitrary)
Identity.CI=10
;GSM basestation color code; lower 3 bits of the BSIC.
;BCC values in a multi-BTS network should be assigned so that BTS units with overlapping coverage do not share a BCC.
;This value will also select the training sequence used for all slots on this unit.
;Interval allowed: 0..7.
;Defaults to 2 (arbitrary).
Identity.BSIC.BCC=2
;GSM network color code; upper 3 bits of the BSIC.
;Assigned by your national regulator, must be distinct from NCCs of other GSM operators in your area.
;Interval allowed: 0..7. Defaults to 0.
Identity.BSIC.NCC=0
;Network short name, displayed on some phones.
;Optional but must be defined if you also want the network to send time-of-day.
;Defaults to YateBTS.
Identity.ShortName=thisdoesnotwork
;Maximum transmitter attenuation level, in dB wrt full scale on the D/A output.
;This sets the minimum power output level in the output power control loop.
;Interval allowed: 0..80. Defaults to 10 (-10dB)
Radio.PowerManager.MaxAttenDB=35
;Minimum transmitter attenuation level, in dB wrt full scale on the D/A output.
;This sets the maximum power output level in the output power control loop.
;Interval allowed: 0..80, must be less or equal to Radio.PowerManager.MaxAttenDB.
;Defaults to 0(dB) (maximum).
Radio.PowerManager.MinAttenDB=35
[gsm_advanced]
;Number of Combination-I timeslots to configure.
;The C-I slot carries a single full-rate TCH, used for speech calling.
;Interval allowed: 0..100. Default value: 7(all timeslots of a single ARFCN)
Channels.NumC1s=7
;Number of Combination-VII timeslots to configure.
;The C-VII slot carries 8 SDCCHs, useful to handle high registration loads, SMS or USSD.
;If C0T0 is C-IV, you must have at least one C-VII also.
;Interval allowed: 0..100.
;Defaults to 0(timeslots).
Channels.NumC7s=0
;Allocate C-I slots first, starting at C0T1.
;Defaults to no (allocate C-VII slots first).
Channels.C1sFirst=no
;Number of SDCCHs to reserve for non-LUR operations.
;This can be used to force LUR transactions into a lower priority.
;Interval allowed: 0..10.
;Defaults to 0(SDCCHs)
Channels.SDCCHReserve=0
;Maximum number of access grants to be queued for transmission on AGCH before declaring congestion.
;Interval allowed: 3..8.
;Defaults to 5
CCCH.AGCH.QMax=5
;CCCH configuration type.
;Values allowed: 1 (C-V beacon) or 2 (C-IV beacon).
;Defaults to 1.
CCCH.CCCH-CONF=1
;Seconds before declaring a physical link dead.
;Interval allowed: 10..20.
;Defaults to 15
CellOptions.RADIO-LINK-TIMEOUT=15
;Cell Reselection Hysteresis.
;See GSM 04.08 10.5.2.4, Table 10.5.23 for encoding, Hysteresis is 2N dB.
;Interval allowed: 0..7 (corresponds to 0..14 dB).
;Defaults to 3
CellSelection.CELL-RESELECT-HYSTERESIS=3
;Cell selection parameters.
;See GSM 04.08 10.5.2.4.,Table 10.5.23 for encoding, Hysteresis is 2N dB.
;Interval allowed: 0..7 (corresponds to 0..14 dB).
;Defaults to 0.
CellSelection.MS-TXPWR-MAX-CCH=0
;An 8-bit mask of allowed NCCs.
;Unless you are coordinating with another carrier use -1 which allows to select your own NCC.
;Valid values: 0..255 or -1.
;Defaults to -1 (allow your own NCC only)
CellSelection.NCCsPermitted=-1
;New Establishment Causes support.
;See GSM 04.08 10.5.2.4, Table 10.5.23 and 04.08 9.1.8, Table 9.9.
;This must be set to 1 if you want to support Very Early Assignment
;Check VEA description for details from Control tab.
;Valid values: 0..1
;Defaults to 1
CellSelection.NECI=1
;Cell selection parameters.
;See GSM 04.08 10.5.2.4 for details.
;Interval allowed: 0..63.
;Defaults to 0.
CellSelection.RXLEV-ACCESS-MIN=0
;Probability of a bit getting toggled in a control channel burst for cracking protection.
;Interval allowed: 0.0 - 1.0.
;Defauls to 0
Cipher.CCHBER=0.0
;Encrypt traffic between phone and BTS.
;Defaults to no.
Cipher.Encrypt=no
;Probability of a random neighbor being added to SI5 for cracking protection.
;Interval allowed: 0.0 - 1.0.
;Defauls to 0.
Cipher.RandomNeighbor=0.0
;Scramble filler in layer 2 for cracking protection.
;Defaults to no.
Cipher.ScrambleFiller=no
;Ignore GPRS messages on GSM control channels.
;Value is number of consecutive messages to ignore.
;Interval allowed: 3..8.
;Defaults to 5
Control.GPRSMaxIgnore=5
;Handover determination holdoff time after channel establishment, allows the MS RSSI value to stabilize. 2000 to 7000 ms, default 5000.
Handover.InitialHoldoff=5000
;Handover determination holdoff time after a previous attempt. 750 to 7000 ms, default 3000.
Handover.RepeatHoldoff=3000
;Do not handover if downlink RSSI is above this level (in dBm), regardless of power difference.
;Allowed values -100:-50.
Handover.LocalRSSIMin=-80
;A neighbor downlink signal must be this much stronger (in dB) than this downlink signal for handover to occur.
;Allowed values 5:20.
Handover.ThresholdDelta=10
;Damping value for MS power control loop.
;Interval allowed: 25..75. Defaults to 50.
MS.Power.Damping=50
;Maximum commanded MS power level in dBm.
;Interval allowed: 5..100
;Defaults to 33
MS.Power.Max=33
;Minimum commanded MS power level in dBm.
;Interval allowed: 5..100
;Defaults to 5
MS.Power.Min=5
;Damping value for timing advance control loop.
;Interval allowed: 25..75
;Defaults to 50
MS.TA.Damping=50
;Maximum allowed timing advance in symbol periods.
;One symbol period of round-trip delay is about 0.55 km of distance.
;RACH bursts with delays greater than this are ignored.
;Can be used to limit service range.
;Interval allowed: 1..62.
;Defaults to 62 (maximum range)
MS.TA.Max=62
;Maximum allowed speech buffering latency.
;It is expressed in 20ms frames.
;Frames will be dropped if the jitter is larger than this delay.
;Interval allowed: 1..5.
;Defaults to 2.
MaxSpeechLatency=2
;Maximum number of neighbors to send to handset in a neighbor list in BCCH.
;Interval allowed:1..10.
;Defaults to 8.
Neighbors.NumToSend=8
;Maximum number of repeats of the Physical Information Message during handover procedure, GSM 04.08 11.1.3.
;Interval allowed: 1..10
;Defaults to 5
Ny1=5
;Integer: Access Class flags.
;This is the raw parameter sent on BCCH, see GSM 04.08 10.5.2.29 for encoding.
;DO NOT ALTER THIS UNLESS YOU ARE A REAL OPERATOR!
;Interval allowed: 0..65535 (16 bits, 0x0000..0xffff).
;Defaults to 0x0400 (No emergency services access).
RACH.AC=0x0400
;Maximum RACH retransmission attempts.
;This is the raw parameter sent on BCCH, see GSM 04.08 10.5.2.29 for encoding
;Interval allowed: 0..3 (encodes to 1..7 retransmissions)
;Defaults to 1 (2 retransmissions)
RACH.MaxRetrans=1
;Parameter to spread RACH busts over time.
;This is the raw parameter sent on BCCH, see GSM 04.08 10.5.2.29 for encoding.
;Interval allowed: 0..15 (encodes to 3..50 slots)
;Defaults to 14 (32 slots)
RACH.TxInteger=14
;The number of ARFCNs to use.
;The ARFCN set will be C0, C0+2, C0+4, ...Interval allowed: 1..10
;Defaults to 1 (single ARFCN unit)
Radio.ARFCNs=1
;Expected worst-case delay spread
;Expressed in symbol periods, roughly 3.7 us or 1.1 km per unit.
;This parameter is dependent on the terrain type in the installation area.
;Typical values: 1 -> open terrain, small coverage, 4 -> large coverage area.
;This parameter has a large effect on computational requirements of the software radio.
;Interval allowed: 1..4.
;Defaults to 2.
Radio.MaxExpectedDelaySpread=2
;Does the Radio type require the full BSIC.
;Defaults to no.
Radio.NeedBSIC=no
;Number of samples averaged by the output power control loop
;Interval allowed: 5..20
;Defaults to 10
Radio.PowerManager.NumSamples=10
;Power manager control loop master period, in milliseconds
;Interval allowed: 4500..7500
;Defaults to 6000
Radio.PowerManager.Period=6000
;Sample period for the output power control loopm in milliseconds
;Interval allowed: 1500..2500
;Defaults to 2000
Radio.PowerManager.SamplePeriod=2000
;Target value for T3122, the random access hold-off timer, for the power control loop.
;Interval allowed: 3750..6250.
;Defaults to 5000
Radio.PowerManager.TargetT3122=5000
;Target uplink RSSI for MS power control loop
;Expressed in dB wrt to receiver's A/D convertor full scale
;Should be 6-10 dB above the noise floor (see the 'mbts noise' command)
;Interval allowed: -75..-25
;Defaults to -50
Radio.RSSITarget=-61
;Receiver gain setting in dB
;Ideal value is dictated by the hardware; 47 dB for RAD1, less for USRPs
;Interval allowed: 0..75
;Defaults to empty value. Radios provide their own calibrated default. To see current value run 'mbts trxfactory' after connecting to rmanager interface.
;Radio.RxGain=
;Tell the phone to show the country name based on MCC
;Defaults to no
ShowCountry=no
;Handover timeout in milliseconds, GSM 04.08 11.1.2
;This is the timeout for a handset to sieze a channel during handover.
;Allowed: 2500:7500(100)
;Defaults to 5000
Timer.T3103=5000
;Milliseconds for handset to respond to physical information.GSM 04.08 11.1.2.
;Interval allowed 25:75(5).
;Defaults to 50
Timer.T3105=50
;Paging timer T3113 in milliseconds.
;This is the timeout for a handset to respond to a paging request.
;This should usually be the same as SIP.Timer.B in your VoIP network.
;Allowed interval 5000:15000(500).
;Defaults to 10000
Timer.T3113=10000
;Maximum allowed value for T3122, the RACH holdoff timer, in millseconds.
;Allowed interval 127500:382500(1000).
;It is not required to be a factor of 1000.
;Defaults to 255000.
Timer.T3122Max=255000
;Minimum allowed value for T3122, the RACH holdoff timer, in milliseconds.
;Allowed interval 1000:3000(100).
;Defaults to 2000
Timer.T3122Min=2000
;Registration timer T3212 period in minutes. Should be a factor of 6.
;Set to 0 to disable periodic registration.
;Should be smaller than SIP registration period.
;Allowed interval 0:1530(6)
;Defaults to 24.
Timer.T3212=24
[gprs]
;Advertise GPRS in C0T0 beacon and start service on demand.
;See also Channels.* in [gprs_advanced] for how many channels are reserved.
;Defauts to yes.
Enable=no
;GPRS Routing Area Code, advertised in the C0T0 beacon.
;Interval allowed: 0..255
;Defaults to 0 (arbitrary)
RAC=0
;GPRS Routing Area Color as advertised in the C0T0 beacon
;Interval allowed: 0..7
;Defaults to 0 (arbitrary)
RA_COLOUR=0
[gprs_advanced]
;Toggle GPRS debugging. Defaults to no.
Debug=no
;MS power control parameter, unitless, in steps of 0.1, so a parameter of 5 is an alpha value of 0.5.
;Determines sensitivity of handset to variations in downlink RSSI.
;Valid range is 0...10 for alpha values of 0.0 ... 1.0. See GSM 05.08 10.2.1.
MS.Power.Alpha=10
;MS power control parameter, in 2 dB steps.
;Determines baseline of handset uplink power relative to downlink RSSI
;The optimum value will tend to be lower for BTS units with higher power output
;Valid range is 0...31 for gamma values of 0...62 dB. See GSM 05.08 10.2.1.
MS.Power.Gamma=31
;MS power control parameter; see GSM 05.08 10.2.1.
;Valid range is 0...25.
MS.Power.T_AVG_T=15
;MS power control parameter; see GSM 05.08 10.2.1.
;Valid range is 0...25
;Defaults to 15.
MS.Power.T_AVG_W=15
;Maximum number of channels used for a single MS in downlink
;Valid range is 0...10
;Defaults to 3.
Multislot.Max.Downlink=3
;Maximum number of channels used for a single MS in uplink
;Valid range is 0...10. Defaults to 2.
Multislot.Max.Uplink=2
;List of allowed GPRS downlink codecs 1..4 for CS-1..CS-4.
;Currently, only 1 and 4 are supported e.g. 14.
Codecs.Downlink=14
;List of allowed GPRS uplink codecs 1..4 for CS-1..CS-4.
;Currently, only 1 and 4 are supported e.g. 14.
Codecs.Uplink=14
;How often to send keep-alive messages for persistent TBFs in milliseconds; must be long enough to avoid simultaneous in-flight duplicates, and short enough that MS gets one every 5 seconds.
;Allowed interval 200:5000(100)
;Defauts to 300
Uplink.KeepAlive=300
;After completion, uplink TBFs are held open for this time in milliseconds
;If non-zero, must be greater than GPRS.Uplink.KeepAlive
;This is broadcast in the beacon and it cannot be changed once BTS is started
;Allowed interval 0:6000(100)
;Defauts to 4000.
Uplink.Persist=4000
;When the first poll is sent for a downlink tbf, measured in blocks sent.
;Allowed values 5:15
;Defauts to 10
TBF.Downlink.Poll1=10
;Allow MS to request another uplink assignment at end up of uplink TBF. See GSM 4.60 9.2.3.4
;Defauts to yes.
TBF.EST=yes
;How long to try before giving up on a TBF
;Allowed interval 20000:40000
;Defauts to 30000
TBF.Expire=30000
;How many expired TBF structs to retain; they can be viewed with gprs list tbf -x
;Allowed interval 15:25
TBF.KeepExpiredCount=20
;If 0, no tbf retry, otherwise if a tbf fails it will be retried with this codec, numbered 1..4.
TBF.Retry=1
;Number of advance blocks to use in the CCCH reservation.
;Allowed interval 5:15
;Defaults to 10.
advanceblocks=10
;Timer 3168 in the MS controls the wait time after sending a Packet Resource Request to initiate a TBF before giving up or reattempting a Packet Access Procedure, which may imply sending a new RACH.
;This code is broadcast to the MS in the C0T0 beacon in the GPRS Cell Options IE. See GSM 04.60 12.24.
;Range 0..7 to represent 0.5sec to 4sec in 0.5sec steps.
CellOptions.T3168Code=5
;Timer 3192 in the MS specifies the time MS continues to listen on PDCH after all downlink TBFs are finished, and is used to reduce unnecessary RACH traffic.
;This code is broadcast to the MS in the C0T0 beacon in the GPRS Cell Options IE.
;The value must be one of the codes described in GSM 04.60 12.24.
;Value 0 implies 500msec
;2 implies 1500msec
;3 imples 0msec.
CellOptions.T3192Code=0
;If the initial unlink signal strength is less than this amount in DB GPRS uses a lower bandwidth but more robust encoding CS-1.
;This value should normally be GSM.Radio.RSSITarget + 10 dB.
;Interval allowed -65:-15
;Defaults to -40.
ChannelCodingControl.RSSI=-40
;The GPRS channel is considered congested if the desired bandwidth exceeds available bandwidth by this amount, specified in percent
;Interval allowed 100:300(5)
;Defaults to 200.
Channels.Congestion.Threshold=200
;How long in seconds GPRS congestion exceeds the Congestion
;Threshold before we attempt to allocate another channel for GPRS
;Interval allowed 30:90(5)
;Defaults to 60.
Channels.Congestion.Timer=60
;Minimum number of channels allocated for GPRS service on ARFCN C0.
;Interval allowed 0:7.
;Defaults to 3.
Channels.Min.C0=3
;Minimum number of channels allocated for GPRS service on ARFCNs other than C0
;Interval allowed 0:100
;Defaults to 0.
Channels.Min.CN=0
;Maximum number of channels allocated for GPRS service.
;Interval allowed 0:10.
;Defaults to 4.
Channels.Max=4
;Maximum number of assign messages sent.
;Interval allowed 5:15
;Defaults to 10
Counters.Assign=10
;Counts unused USF responses to detect nonresponsive MS. Should be > 8. See GSM04.60 sec 13.
;Interval allowed 8:32
;Defaults to 20
Counters.N3101=20
;Counts ACK/NACK attempts to detect nonresponsive MS. See GSM04.60 sec 13
;Interval allowed 4:12
;Defaults to 8.
Counters.N3103=8
;Counts unused RRBP responses to detect nonresponsive MS. See GSM04.60 sec 13
;Interval allowed 6:18
;Defaults to 12
Counters.N3105=12
;Maximum number of reassign messages sent
;Interval allowed 3:9
;Defaults to 6
Counters.Reassign=6
;Maximum number of TBF release messages sent
;Interval allowed 3:8
;Defaults to 5
Counters.TbfRelease=5
;How often to send keep-alive messages for persistent TBFs in milliseconds
;must be long enough to avoid simultaneous in-flight duplicates, and short enough that MS gets one every 5 seconds.
;GSM 5.08 10.2.2 indicates MS must get a block every 360ms.
;Interval allowed 200:5000(100)
;Defaults to 300
Downlink.KeepAlive=300
;After completion, downlink TBFs are held open for this time in milliseconds
;If non-zero, must be greater than GPRS.Downlink.KeepAlive.
Downlink.Persist=0
;Enable recognition of local TLLI.
LocalTLLI.Enable=yes
;How many expired MS structs to retain; they can be viewed with gprs list ms -x.
;Interval allowed 10:30
;Defaults to 20
MS.KeepExpiredCount=20