ofono/drivers
Christophe Ronco 89c92e7277 qmimodem: fix sim file reading on MC7304
Command read_file_info on MC7304 always fails.
Using qmicli or AT command, I am able to read file info.
Qmicli command is:
qmicli -d /dev/cdc-wdm0 --uim-get-file-attributes=0x3f00,0x7fff,0x6fad
[(null)] Successfully got file '/dev/cdc-wdm0' attributes from the UIM:
Card result:
        SW1: '0x90'
        SW2: '0x00'
File attributes:
        File size: 4
        File ID: 28589
        File type: transparent
        Record size: 0
        Record count: 0
        Read security attributes: (always) (null)
        Write security attributes: (single) adm
        Increase security attributes: (always) (null)
        Deactivate security attributes: (single) adm
        Activate security attributes: (single) adm
        Raw:    62:17:82:02:41:21:83:02:6F:AD:8A:01:05:8B:...

After a check of parameters sent by qmimodem driver and qmicli,
the only difference is on parameter "Session Information".
Session type sent by qmimodem driver is 'Card on slot 1'.
Session type sent by qmicli command is 'primary-gw-provisioning'.
Changing session type in qmimodem driver fixed problem (on this modem).

Comparing with what is done by qmili command
2017-02-17 11:16:54 -06:00
..
atmodem atmodem: use ATD99 to enter data state when needed 2017-02-16 11:52:49 -06:00
calypsomodem drivers: Update copyright information 2011-10-10 13:39:48 -07:00
cdmamodem cdma-connman: Turn off modem dormancy timeouts 2011-12-09 05:35:48 -06:00
dunmodem dunmodem: Add stub for gprs. 2011-08-03 22:34:04 +02:00
gemaltomodem drivers: Add gemaltomodem driver to handle GNSS 2017-01-19 13:34:36 -06:00
hfpmodem hfpmodem: Use g_slist_free_full 2016-04-22 15:20:43 -05:00
hsomodem hsomodem: Remove atom if driver fails to init 2012-03-26 16:50:36 -05:00
huaweimodem huaweimodem: Fix DHCP parsing on 32-bit platforms 2016-08-10 11:21:56 -05:00
iceramodem iceramodem: Read supported bands as part of radio settings 2012-05-25 20:54:21 +02:00
ifxmodem ifxmodem: Use g_slist_free_full 2016-04-22 15:21:11 -05:00
infineonmodem infineon: Definitions for infineon modem 2015-10-13 21:35:07 -05:00
isimodem isi: Change query_locked to query_facility_lock 2016-04-27 11:13:33 -05:00
mbmmodem drivers: Update copyright information 2011-10-10 13:39:48 -07:00
nwmodem nwmodem: Remove atom if driver fails to init 2012-03-26 16:50:59 -05:00
qmimodem qmimodem: fix sim file reading on MC7304 2017-02-17 11:16:54 -06:00
rilmodem rilmodem: Fix warning 2017-02-07 11:05:09 -06:00
speedupmodem speedup: No need to parse error 2012-04-16 13:15:52 -05:00
stemodem stemodem: Use g_slist_free_full 2016-04-22 15:22:07 -05:00
swmodem swmodem: Add extra informational AT+CGCONTRDP command 2012-06-25 00:02:17 -07:00
telitmodem telitmodem: support for CDC-NCM network adapter 2017-01-27 20:35:50 -06:00
ubloxmodem ubloxmodem: Fixup minor style issues 2016-12-01 11:27:21 -06:00
ztemodem ztemodem: Remove atom if driver fails to init 2012-03-26 16:50:11 -05:00