test:netmon: support EARFCN, Eband and CQI in testing scripts

This commit is contained in:
Djalal Harouni 2016-12-13 12:05:27 +01:00 committed by Denis Kenzior
parent 9898cc5fad
commit 5a35d19eb0
1 changed files with 12 additions and 0 deletions

View File

@ -31,6 +31,9 @@ rscp = 'ReceivedSignalCodePower'
ecn0 = 'ReceivedEnergyRatio'
rsrq = 'ReferenceSignalReceivedQuality'
rsrp = 'ReferenceSignalReceivedPower'
earfcn = 'EARFCN'
eband = 'EBand'
cqi = 'ChannelQualityIndicator'
print("Current serving cell information:")
@ -73,4 +76,13 @@ if rsrq in servingcell:
if rsrp in servingcell:
print(" [ Reference Signal Received Power = %d]" % (servingcell[rsrp]))
if earfcn in servingcell:
print(" [ E-UTRA Absolue Radio Frequency Channel = %d ]" % (servingcell[earfcn]))
if eband in servingcell:
print(" [ E-UTRA operating Band = %d ]" % (servingcell[eband]))
if cqi in servingcell:
print(" [ Channel Quality Indicator = %d ]" % (servingcell[cqi]))
print('')