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:
@@ -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))) {
|
||||
|
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user