Skip to content

broadband-modem-mbim: add supported modes from CustomDataClass

Some modems (e.g. Telit FN990) reports 5G capabilities in CustomDataClass field of device-caps cid: take this into account when retrieving the supported modes.

Before the patch:

  Modes     |            supported: allowed: 3g; preferred: none
            |                       allowed: 4g; preferred: none
            |                       allowed: 3g, 4g; preferred: none
            |              current: allowed: 3g, 4g, 5g; preferred: none

After the patch:

  Modes     |            supported: allowed: 3g; preferred: none
            |                       allowed: 4g; preferred: none
            |                       allowed: 3g, 4g; preferred: none
            |                       allowed: 5g; preferred: none
            |                       allowed: 3g, 5g; preferred: none
            |                       allowed: 4g, 5g; preferred: none
            |                       allowed: 3g, 4g, 5g; preferred: none
            |              current: allowed: 3g, 4g, 5g; preferred: none
Edited by Daniele Palmas

Merge request reports

Loading