[PATCH 0/2] Re: Getting frequency band in use
Bjørn Mork
bjorn at mork.no
Tue Apr 29 13:03:08 PDT 2014
Aleksander Morgado <aleksander at aleksander.es> writes:
> Isn't that QMI_NAS_GET_CELL_LOCATION_INFO (0x0043). I think I already
> tried to add it once to libqmi, but got bored because the TLVs were
> too long :)
I started out now, but got bored too. So I'm posting these half
finished patches so any volunteers can continue. They desperately need
a cleanup touch, and probably saner output formatting. But they sort of
work:
bjorn at nemi:~$ qmicli -d /dev/cdc-wdm0 --nas-get-cell-location-info
[/dev/cdc-wdm0] Successfully got cell location info
Intrafrequency LTE Info
UE In Idle Mode: 'yes'
Tracking Area Code: '31201'
Global Cell ID: '17019392'
EUTRA Absolute RFChannel Number: '3050'
Serving Cell ID: '285'
Cell Reselection Priority: '7'
SNon Intra Search Threshold: '10'
Serving Cell Low Threshold: '8'
SIntra Search Threshold: '58'
Cell [0]:
Physical Cell ID: '285'
RSRQ: '65468'
RSRP: '64421'
RSSI: '64688'
Cell Selection RXLevel: '16'
Interfrequency LTE Info
UE In Idle Mode: 'yes'
Frequency [0]:
EUTRA Absolute RFChannel Number: '1450'
Selection RXLevel Low Threshold: '0'
Cell Selection RXLevel High Threshold: '12'
Cell Reselection Priority: '6'
Frequency [1]:
EUTRA Absolute RFChannel Number: '6400'
Selection RXLevel Low Threshold: '0'
Cell Selection RXLevel High Threshold: '16'
Cell Reselection Priority: '5'
LTE Info Neighboring GSM
UE In Idle Mode: 'yes'
LTE Info Neighboring WCDMA
UE In Idle Mode: 'yes'
Frequency [0]:
EUTRA Absolute RFChannel Number: '10737'
Cell Reselection Priority: '3'
Cell Reselection High Threshold: '0'
Cell Reselection Low Threshold: '8'
bjorn at nemi:~$ qmicli -d /dev/cdc-wdm0 --nas-get-cell-location-info
[/dev/cdc-wdm0] Successfully got cell location info
Intrafrequency LTE Info
UE In Idle Mode: 'no'
Tracking Area Code: '31201'
Global Cell ID: '17019392'
EUTRA Absolute RFChannel Number: '3050'
Serving Cell ID: '285'
Cell Reselection Priority: '0'
SNon Intra Search Threshold: '0'
Serving Cell Low Threshold: '0'
SIntra Search Threshold: '0'
Cell [0]:
Physical Cell ID: '285'
RSRQ: '65506'
RSRP: '64418'
RSSI: '64666'
Cell Selection RXLevel: '0'
Cell [1]:
Physical Cell ID: '19'
RSRQ: '65389'
RSRP: '64313'
RSSI: '64672'
Cell Selection RXLevel: '0'
Cell [2]:
Physical Cell ID: '58'
RSRQ: '65333'
RSRP: '64248'
RSSI: '64657'
Cell Selection RXLevel: '0'
Interfrequency LTE Info
UE In Idle Mode: 'no'
LTE Info Neighboring GSM
UE In Idle Mode: 'no'
LTE Info Neighboring WCDMA
UE In Idle Mode: 'no'
Bjørn Mork (2):
nas: add "Get Cell Location Info"
qmicli: add NAS Get Cell Location Info
data/qmi-service-nas.json | 254 +++++++++++++++++++++++++++
src/qmicli/qmicli-nas.c | 424 ++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 678 insertions(+)
--
2.0.0.rc0
More information about the libqmi-devel
mailing list