iface-modem-signal: added 5G signal information
Extended the ModemManager Signal interface to include 5G signal information for RSRP, RSRQ and SINR via libqmi. Also extended mmci to print 5G signal info.
This commit is contained in:

committed by
Aleksander Morgado

parent
711b17278e
commit
88923ffe39
@@ -57,6 +57,7 @@ static SectionInfo section_infos[] = {
|
||||
[MMC_S_MODEM_SIGNAL_GSM] = { "GSM" },
|
||||
[MMC_S_MODEM_SIGNAL_UMTS] = { "UMTS" },
|
||||
[MMC_S_MODEM_SIGNAL_LTE] = { "LTE" },
|
||||
[MMC_S_MODEM_SIGNAL_5G] = { "5G" },
|
||||
[MMC_S_MODEM_OMA] = { "OMA" },
|
||||
[MMC_S_MODEM_OMA_CURRENT] = { "Current session" },
|
||||
[MMC_S_MODEM_OMA_PENDING] = { "Pending sessions" },
|
||||
@@ -169,6 +170,9 @@ static FieldInfo field_infos[] = {
|
||||
[MMC_F_SIGNAL_LTE_RSRQ] = { "modem.signal.lte.rsrq", "rsrq", MMC_S_MODEM_SIGNAL_LTE, },
|
||||
[MMC_F_SIGNAL_LTE_RSRP] = { "modem.signal.lte.rsrp", "rsrp", MMC_S_MODEM_SIGNAL_LTE, },
|
||||
[MMC_F_SIGNAL_LTE_SNR] = { "modem.signal.lte.snr", "s/n", MMC_S_MODEM_SIGNAL_LTE, },
|
||||
[MMC_F_SIGNAL_5G_RSRQ] = { "modem.signal.5g.rsrq", "rsrq", MMC_S_MODEM_SIGNAL_5G, },
|
||||
[MMC_F_SIGNAL_5G_RSRP] = { "modem.signal.5g.rsrp", "rsrp", MMC_S_MODEM_SIGNAL_5G, },
|
||||
[MMC_F_SIGNAL_5G_SNR] = { "modem.signal.5g.snr", "s/n", MMC_S_MODEM_SIGNAL_5G, },
|
||||
[MMC_F_OMA_FEATURES] = { "modem.oma.features", "features", MMC_S_MODEM_OMA, },
|
||||
[MMC_F_OMA_CURRENT_TYPE] = { "modem.oma.current.type", "type", MMC_S_MODEM_OMA_CURRENT, },
|
||||
[MMC_F_OMA_CURRENT_STATE] = { "modem.oma.current.state", "state", MMC_S_MODEM_OMA_CURRENT, },
|
||||
|
Reference in New Issue
Block a user