iface-modem-3gpp: add 5GNR to full 3GPP act mask

So that the logic looking for 3GPP related registration info works in
the QMI modem object when selected network is reported as 'unknown'
but still the radio interfaces list reports 5GNR.

  <<<<<< TLV:
  <<<<<<   type       = "Serving System" (0x01)
  <<<<<<   length     = 6
  <<<<<<   value      = 01:02:01:00:01:0C
  <<<<<<   translated = [ registration_state = 'registered' cs_attach_state = 'detached' ps_attach_state = 'attached' selected_network = 'unknown' radio_interfaces = '{ [0] = '5gnr '}' ]
This commit is contained in:
Aleksander Morgado
2020-04-09 07:48:21 +02:00
parent 2293fbe6ba
commit 32e2623052
2 changed files with 3 additions and 2 deletions

View File

@@ -2636,7 +2636,7 @@ common_process_serving_system_3gpp (MMBroadbandModemQmi *self,
/* Only process 3GPP info.
* Seen the case already where 'selected_network' gives UNKNOWN but we still
* have valid LTE info around. */
* have valid LTE/5GNR info around. */
if (selected_network == QMI_NAS_NETWORK_TYPE_3GPP ||
(selected_network == QMI_NAS_NETWORK_TYPE_UNKNOWN &&
(mm_access_technologies & MM_IFACE_MODEM_3GPP_ALL_ACCESS_TECHNOLOGIES_MASK))) {

View File

@@ -48,7 +48,8 @@
MM_MODEM_ACCESS_TECHNOLOGY_HSUPA | \
MM_MODEM_ACCESS_TECHNOLOGY_HSPA | \
MM_MODEM_ACCESS_TECHNOLOGY_HSPA_PLUS | \
MM_MODEM_ACCESS_TECHNOLOGY_LTE)
MM_MODEM_ACCESS_TECHNOLOGY_LTE | \
MM_MODEM_ACCESS_TECHNOLOGY_5GNR)
typedef struct _MMIfaceModem3gpp MMIfaceModem3gpp;