        if tp in ['802-3-ethernet', '802-11-wireless']:
          return NetworkType.wifi
        elif tp in ['gsm']:
          modem = self.get_modem()
          access_t = modem.Get(MM_MODEM, 'AccessTechnologies', dbus_interface=DBUS_PROPS)
          if access_t >= MM_MODEM_ACCESS_TECHNOLOGY_LTE:
            return NetworkType.cell4G
          elif access_t >= MM_MODEM_ACCESS_TECHNOLOGY_UMTS:
            return NetworkType.cell3G
          else:
 
</s> remove       tp = primary_connection.Get(NM_CON_ACT, 'Type', dbus_interface=DBUS_PROPS)
 </s> add       tp = primary_connection.Get(NM_CON_ACT, 'Type', dbus_interface=DBUS_PROPS, timeout=TIMEOUT) </s> remove       primary_connection = self.nm.Get(NM, 'PrimaryConnection', dbus_interface=DBUS_PROPS)
 </s> add       primary_connection = self.nm.Get(NM, 'PrimaryConnection', dbus_interface=DBUS_PROPS, timeout=TIMEOUT) </s> remove     wlan_path = self.nm.GetDeviceByIpIface('wlan0', dbus_interface=NM)
 </s> add     wlan_path = self.nm.GetDeviceByIpIface('wlan0', dbus_interface=NM, timeout=TIMEOUT) </s> remove     sim_path = modem.Get(MM_MODEM, 'Sim', dbus_interface=DBUS_PROPS)
 </s> add     sim_path = modem.Get(MM_MODEM, 'Sim', dbus_interface=DBUS_PROPS, timeout=TIMEOUT) </s> remove     objects = self.mm.GetManagedObjects(dbus_interface="org.freedesktop.DBus.ObjectManager")
 </s> add     objects = self.mm.GetManagedObjects(dbus_interface="org.freedesktop.DBus.ObjectManager", timeout=TIMEOUT)
        access_t = modem.Get(MM_MODEM, 'AccessTechnologies', dbus_interface=DBUS_PROPS, timeout=TIMEOUT)
        if tp in ['802-3-ethernet', '802-11-wireless']:
          return NetworkType.wifi
        elif tp in ['gsm']:
          modem = self.get_modem()
        access_t = modem.Get(MM_MODEM, 'AccessTechnologies', dbus_interface=DBUS_PROPS, timeout=TIMEOUT)
          if access_t >= MM_MODEM_ACCESS_TECHNOLOGY_LTE:
            return NetworkType.cell4G
          elif access_t >= MM_MODEM_ACCESS_TECHNOLOGY_UMTS:
            return NetworkType.cell3G
          else:
keep keep keep keep replace keep keep keep keep keep
 Add timeout to dbus calls 
selfdrive/hardware/tici/hardware.py