platform/upstream/ofono.git
12 years agoifxmodem: Add support for IPv6 and dual mode contexts
Marcel Holtmann [Fri, 10 Feb 2012 10:45:34 +0000 (11:45 +0100)]
ifxmodem: Add support for IPv6 and dual mode contexts

12 years agoRelease 1.4 1.4
Marcel Holtmann [Fri, 10 Feb 2012 09:48:25 +0000 (10:48 +0100)]
Release 1.4

12 years agobtio: Add BtIOMode enum to be used with BT_IO_OPT_MODE
Luiz Augusto von Dentz [Thu, 2 Feb 2012 21:57:05 +0000 (13:57 -0800)]
btio: Add BtIOMode enum to be used with BT_IO_OPT_MODE

12 years agobtio: Add L2ERTM type
Luiz Augusto von Dentz [Wed, 1 Feb 2012 01:25:34 +0000 (17:25 -0800)]
btio: Add L2ERTM type

L2ERTM type uses L2CAP socket in SOCK_STREAM instead of SOCK_SEQPACKET

12 years agoifxmodem: Remove audio settings mode handling
Marcel Holtmann [Fri, 10 Feb 2012 09:04:34 +0000 (10:04 +0100)]
ifxmodem: Remove audio settings mode handling

With the current updated setup, the audio settings mode is no longer
provided. So don't bother even trying to configure it.

12 years agoifxmodem: Remove another usage g_utf8_validate
Marcel Holtmann [Fri, 10 Feb 2012 08:42:54 +0000 (09:42 +0100)]
ifxmodem: Remove another usage g_utf8_validate

12 years agoifx: Don't use g_utf8_validate
Denis Kenzior [Fri, 10 Feb 2012 06:38:37 +0000 (00:38 -0600)]
ifx: Don't use g_utf8_validate

Emergency Numbers can only be digits, so there's no point to use the
'Hammer of Thor' that is g_utf8_validate when a much simpler function
will do the job just as well.

12 years agoifx: Take out bad merge
Denis Kenzior [Fri, 10 Feb 2012 04:35:21 +0000 (22:35 -0600)]
ifx: Take out bad merge

12 years agoifx: Modify XLEMA behavior
Denis Kenzior [Fri, 10 Feb 2012 04:34:02 +0000 (22:34 -0600)]
ifx: Modify XLEMA behavior

XLEMA reports emergency numbers that are hardcoded (e.g. 112 and 911)
and that are already read from EFecc.  The additional emergency numbers
we are interested in should only come from the NVM or the network NITZ
update.

12 years agoifx: Use CFUN=0 (Minimum Functionality) to disable modem
Marcel Holtmann [Fri, 10 Feb 2012 01:42:43 +0000 (02:42 +0100)]
ifx: Use CFUN=0 (Minimum Functionality) to disable modem

12 years agoifxmodem: Handle malformed emergency numbers
Marcel Holtmann [Fri, 10 Feb 2012 01:15:16 +0000 (02:15 +0100)]
ifxmodem: Handle malformed emergency numbers

This might be either a modem firmware bug or the SIM card is provisioned
really badly, but the last entry contains garbage characters.

ofonod[20620]: Voice: < \r\n+XLEMA: 1,9,"112",,1\r\n\r\n+XLEMA: 2,9,"911",,1\r\n\r\n+XLEMA: 3,9,"000",57,1\r\n\r\n+XLEMA: 4,9,"08",49,1\r\n\r\n+XLEMA: 5,9,"112",49,1\r\n\r\n+XLEMA: 6,9,"118",0,1\r\n\r\n+XLEMA: 7,9,"119",0,1\r\n\r\n+XLEMA: 8,9,"911",0,1\r\n\r\n+XLEMA: 9,9,"999\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377",0,1\r\n

Fix this by just validating the string and cutting off once an invalid
character is found.

12 years agoifx: Remove handling of audio settings setup
Marcel Holtmann [Fri, 10 Feb 2012 00:17:06 +0000 (01:17 +0100)]
ifx: Remove handling of audio settings setup

The audio settings setup is now done as port of the audio settings atom.

12 years agovoicecall: Fix emulator AT+CHUP for HFP
Frédéric Danis [Thu, 9 Feb 2012 09:12:34 +0000 (10:12 +0100)]
voicecall: Fix emulator AT+CHUP for HFP

AT+CHUP should be able to hang-up active or incoming calls

12 years agoifx: Add necessary incantations for audio
Denis Kenzior [Wed, 8 Feb 2012 02:00:52 +0000 (20:00 -0600)]
ifx: Add necessary incantations for audio

12 years agoifx: Fix compilation issue
Marcel Holtmann [Fri, 3 Feb 2012 05:51:26 +0000 (21:51 -0800)]
ifx: Fix compilation issue

12 years agostkutil: Make valgrind happy
Denis Kenzior [Thu, 2 Feb 2012 15:17:04 +0000 (09:17 -0600)]
stkutil: Make valgrind happy

==29809== Conditional jump or move depends on uninitialised value(s)
==29809==    at 0x4E826C: stk_file_iter_next (stkutil.c:212)
==29809==    by 0x4E8CF8: parse_dataobj_file_list (stkutil.c:635)
==29809==    by 0x4EBA29: parse_dataobj (stkutil.c:2410)
==29809==    by 0x4ECFB5: parse_refresh (stkutil.c:2971)
==29809==    by 0x4EECA3: parse_command_body (stkutil.c:3826)
==29809==    by 0x4EF0DF: stk_command_new_from_pdu (stkutil.c:3948)
==29809==    by 0x4D50DA: ofono_stk_proactive_command_handled_notify
(stk.c:2885)

12 years agoifx: Make sure query XSIMSTATE
Denis Kenzior [Thu, 2 Feb 2012 15:15:36 +0000 (09:15 -0600)]
ifx: Make sure query XSIMSTATE

XSIMSTATE=1 does not seem to reliably activate XSIM notifications
anymore.  So query the XSIMSTATE at startup instead.

12 years agoifx: Use a proper prefix for XGENDATA
Denis Kenzior [Thu, 2 Feb 2012 11:53:53 +0000 (05:53 -0600)]
ifx: Use a proper prefix for XGENDATA

12 years agosim: Fix crash due to uninitialized spn_watch
Denis Kenzior [Tue, 24 Jan 2012 17:33:16 +0000 (11:33 -0600)]
sim: Fix crash due to uninitialized spn_watch

12 years agobtio: Remove the default security level from btio
Vinicius Costa Gomes [Tue, 24 Jan 2012 13:57:22 +0000 (10:57 -0300)]
btio: Remove the default security level from btio

The default value of sec_level when setting *any* option
using bt_io_set() was BT_SECURITY_MEDIUM. This was causing
the security procedure being started in some situations that
it should not.

12 years agobtio: Add support for getting the Encryption Key Size via btio
Vinicius Costa Gomes [Tue, 24 Jan 2012 13:57:19 +0000 (10:57 -0300)]
btio: Add support for getting the Encryption Key Size via btio

Some profiles specify some restriction depending on the length
of the key used to encrypt the link, this adds an way to retrieve
that value from the kernel.

12 years agosim: Make SPN change atomic for consumers
Oleg Zhurakivskyy [Mon, 23 Jan 2012 09:41:36 +0000 (11:41 +0200)]
sim: Make SPN change atomic for consumers

Due to new spn watch semantics, ofono_sim_get_spn()
will report the absence of SPN while reading it,
which is probably incorrect.

12 years agoRelease 1.3 1.3
Marcel Holtmann [Fri, 20 Jan 2012 15:59:32 +0000 (16:59 +0100)]
Release 1.3

12 years agoTODO: Mark Handsfree interface task as done
Denis Kenzior [Wed, 18 Jan 2012 19:28:31 +0000 (13:28 -0600)]
TODO: Mark Handsfree interface task as done

12 years agoTODO: Mark GPRS provisioning task as done
Denis Kenzior [Wed, 18 Jan 2012 19:20:29 +0000 (13:20 -0600)]
TODO: Mark GPRS provisioning task as done

12 years agoTODO: Mark SAP task as done
Denis Kenzior [Wed, 18 Jan 2012 19:10:48 +0000 (13:10 -0600)]
TODO: Mark SAP task as done

12 years agomodem: Use __ofono_atom_find
Denis Kenzior [Wed, 18 Jan 2012 19:01:16 +0000 (13:01 -0600)]
modem: Use __ofono_atom_find

Also remove defunct comment about registered status

12 years agostk: find_atom only returns registered atoms
Denis Kenzior [Wed, 18 Jan 2012 18:58:20 +0000 (12:58 -0600)]
stk: find_atom only returns registered atoms

This seems to be an oversight from an earlier refactoring.

12 years agosms: Don't need the sim member now
Denis Kenzior [Wed, 18 Jan 2012 18:55:02 +0000 (12:55 -0600)]
sms: Don't need the sim member now

12 years agocbs: finding SIM atom seems to not necessary now
Denis Kenzior [Wed, 18 Jan 2012 18:52:01 +0000 (12:52 -0600)]
cbs: finding SIM atom seems to not necessary now

12 years agostk: Use __ofono_atom_find
Denis Kenzior [Wed, 18 Jan 2012 18:50:55 +0000 (12:50 -0600)]
stk: Use __ofono_atom_find

12 years agogprs: Use __ofono_atom_find
Denis Kenzior [Wed, 18 Jan 2012 18:36:37 +0000 (12:36 -0600)]
gprs: Use __ofono_atom_find

12 years agocdma-connman: Use __ofono_atom_find
Denis Kenzior [Wed, 18 Jan 2012 17:54:42 +0000 (11:54 -0600)]
cdma-connman: Use __ofono_atom_find

12 years agovoicecall: Use __ofono_atom_find
Denis Kenzior [Wed, 18 Jan 2012 17:52:17 +0000 (11:52 -0600)]
voicecall: Use __ofono_atom_find

12 years agoussd: Use __ofono_atom_find
Denis Kenzior [Wed, 18 Jan 2012 17:45:49 +0000 (11:45 -0600)]
ussd: Use __ofono_atom_find

12 years agoemulator: Use __ofono_atom_find
Denis Kenzior [Wed, 18 Jan 2012 17:43:59 +0000 (11:43 -0600)]
emulator: Use __ofono_atom_find

12 years agocall-forwarding: Use __ofono_atom_find
Denis Kenzior [Wed, 18 Jan 2012 17:42:20 +0000 (11:42 -0600)]
call-forwarding: Use __ofono_atom_find

12 years agosms: Use __ofono_atom_find
Denis Kenzior [Wed, 18 Jan 2012 17:37:02 +0000 (11:37 -0600)]
sms: Use __ofono_atom_find

12 years agocbs: Use __ofono_atom_find macro
Denis Kenzior [Wed, 18 Jan 2012 17:29:12 +0000 (11:29 -0600)]
cbs: Use __ofono_atom_find macro

12 years agonetwork: Use __ofono_atom_find macro
Denis Kenzior [Wed, 18 Jan 2012 17:24:14 +0000 (11:24 -0600)]
network: Use __ofono_atom_find macro

12 years agomessage-waiting: Use __ofono_atom_find macro
Denis Kenzior [Wed, 18 Jan 2012 17:23:54 +0000 (11:23 -0600)]
message-waiting: Use __ofono_atom_find macro

12 years agoofono: Add __ofono_atom_find macro
Denis Kenzior [Wed, 18 Jan 2012 17:23:18 +0000 (11:23 -0600)]
ofono: Add __ofono_atom_find macro

12 years agonetwork: Access SPN directly from the sim atom
Oleg Zhurakivskyy [Wed, 18 Jan 2012 11:56:29 +0000 (13:56 +0200)]
network: Access SPN directly from the sim atom

12 years agosim: Add ofono_sim_get_spn() implementation
Oleg Zhurakivskyy [Wed, 18 Jan 2012 11:56:28 +0000 (13:56 +0200)]
sim: Add ofono_sim_get_spn() implementation

12 years agoinclude: Add ofono_sim_get_spn() declaration
Oleg Zhurakivskyy [Wed, 18 Jan 2012 11:56:28 +0000 (13:56 +0200)]
include: Add ofono_sim_get_spn() declaration

12 years agonetwork: Optimize away one unneeded assignment
Denis Kenzior [Wed, 18 Jan 2012 16:41:43 +0000 (10:41 -0600)]
network: Optimize away one unneeded assignment

12 years agonetwork: Use sim SPN watch API
Oleg Zhurakivskyy [Wed, 18 Jan 2012 11:56:27 +0000 (13:56 +0200)]
network: Use sim SPN watch API

12 years agogprs: Trivial code reflow
Denis Kenzior [Wed, 18 Jan 2012 16:33:56 +0000 (10:33 -0600)]
gprs: Trivial code reflow

12 years agogprs: Use sim SPN watch API
Oleg Zhurakivskyy [Wed, 18 Jan 2012 11:56:26 +0000 (13:56 +0200)]
gprs: Use sim SPN watch API

12 years agobtio: Remove support for hciX source addresses
Marcel Holtmann [Tue, 17 Jan 2012 10:47:59 +0000 (11:47 +0100)]
btio: Remove support for hciX source addresses

12 years agobtio: Fix byte order conversion when getting L2CAP CID
Santiago Carot-Nemesio [Mon, 5 Dec 2011 11:54:45 +0000 (12:54 +0100)]
btio: Fix byte order conversion when getting L2CAP CID

The L2CAP CID is passed and received in little endian byte order
through the socket interface so a conversion is in place before
passing it onwards.

12 years agobtio: Fix byte order conversion when getting L2CAP PSM
Santiago Carot-Nemesio [Wed, 30 Nov 2011 16:36:16 +0000 (17:36 +0100)]
btio: Fix byte order conversion when getting L2CAP PSM

The L2CAP PSM is passed and received in little endian byte order through
the socket interface so a conversion is in place before passing it
onwards.

12 years agobtio: Fix errno handling convention
Anderson Lizardo [Wed, 16 Nov 2011 13:20:01 +0000 (09:20 -0400)]
btio: Fix errno handling convention

Variables which are assigned to the errno variable (usually called
"err") should be negative, and "-err" should be used where a positive
value is needed.

12 years agobtio: add BT_IO_OPT_PRIORITY option
Luiz Augusto von Dentz [Thu, 3 Nov 2011 15:15:39 +0000 (17:15 +0200)]
btio: add BT_IO_OPT_PRIORITY option

BT_IO_OPT_PRIORITY uses SO_PRIORITY to set the priority of the socket

12 years agoudev: Limit ZTE port selection to specific product identifiers
Marcel Holtmann [Tue, 17 Jan 2012 09:38:07 +0000 (10:38 +0100)]
udev: Limit ZTE port selection to specific product identifiers

12 years agoudev: Keep vendor and product identifiers around
Marcel Holtmann [Tue, 17 Jan 2012 09:35:23 +0000 (10:35 +0100)]
udev: Keep vendor and product identifiers around

12 years agosim: Add SPN watch capability
Oleg Zhurakivskyy [Mon, 9 Jan 2012 10:30:42 +0000 (12:30 +0200)]
sim: Add SPN watch capability

12 years agosim: Minor style fixes
Oleg Zhurakivskyy [Mon, 9 Jan 2012 10:30:41 +0000 (12:30 +0200)]
sim: Minor style fixes

12 years agobuild: Add support for providing provision database location
Marcel Holtmann [Fri, 13 Jan 2012 10:52:28 +0000 (11:52 +0100)]
build: Add support for providing provision database location

12 years agoudev: Add detection support for SIM COM modems
Marcel Holtmann [Fri, 13 Jan 2012 03:56:02 +0000 (04:56 +0100)]
udev: Add detection support for SIM COM modems

12 years agoAUTHORS: Mention Renat's contributions
Denis Kenzior [Thu, 12 Jan 2012 05:50:36 +0000 (23:50 -0600)]
AUTHORS: Mention Renat's contributions

12 years agodoc: SIM900 driver usage documentation
Renat Zaripov [Thu, 12 Jan 2012 12:32:21 +0000 (16:32 +0400)]
doc: SIM900 driver usage documentation

Adding a short description for usage of SIM900 plugin

12 years agoudev: Add SIMCOM SIM900 detection support
Renat Zaripov [Thu, 12 Jan 2012 12:32:20 +0000 (16:32 +0400)]
udev: Add SIMCOM SIM900 detection support

This allows for detection of SIM900 modem module in case
of appropriate driver specified in udev rules.

Example rule:
KERNEL=="gsmtty3", ENV{OFONO_DRIVER}="sim900"

12 years agoplugins: Add support for sim900 by SIMCOM
Renat Zaripov [Thu, 12 Jan 2012 12:32:19 +0000 (16:32 +0400)]
plugins: Add support for sim900 by SIMCOM

This patch add support for SIM900 GSM module
http://wm.sim.com/Sim/FrontShow_en/wireless/detail.aspx?cid=6&nid=770

12 years agoatmodem: Add SIMCOM vendor quirk
Renat Zaripov [Thu, 12 Jan 2012 12:32:22 +0000 (16:32 +0400)]
atmodem: Add SIMCOM vendor quirk

Adding vendor quirk for SIMCOM SIM900 modem module.

12 years agohuaweimodem: Reset errors for USSD cancel operation
Marcel Holtmann [Thu, 12 Jan 2012 05:25:36 +0000 (06:25 +0100)]
huaweimodem: Reset errors for USSD cancel operation

12 years agohuawei: Select USSD atom driver based on firmware mode
Marcel Holtmann [Thu, 12 Jan 2012 05:02:27 +0000 (06:02 +0100)]
huawei: Select USSD atom driver based on firmware mode

12 years agohuaweimodem: Add support for USSD 8-bit PDU mode
Marcel Holtmann [Thu, 12 Jan 2012 04:58:05 +0000 (05:58 +0100)]
huaweimodem: Add support for USSD 8-bit PDU mode

The Huawei devices support a special 8-bit PDU mode for USSD that is
by default selected (AT^USSDMODE=1). It avoids the complicated logic
for character set selection and conversion.

12 years agospeedup: Setup CSCS after SIM card has been detected
Marcel Holtmann [Thu, 12 Jan 2012 03:38:50 +0000 (04:38 +0100)]
speedup: Setup CSCS after SIM card has been detected

12 years agohso: Setup CSCS after SIM card has been detected
Marcel Holtmann [Thu, 12 Jan 2012 03:37:40 +0000 (04:37 +0100)]
hso: Setup CSCS after SIM card has been detected

12 years agohuawei: Setup CSCS after SIM card has been detected
Marcel Holtmann [Thu, 12 Jan 2012 03:37:03 +0000 (04:37 +0100)]
huawei: Setup CSCS after SIM card has been detected

12 years agoatmodem: Add more debug for USSD response parsing
Marcel Holtmann [Thu, 12 Jan 2012 03:01:07 +0000 (04:01 +0100)]
atmodem: Add more debug for USSD response parsing

12 years agoudev: Use g_ascii_isalnum instead of isalnum
Denis Kenzior [Wed, 11 Jan 2012 20:31:21 +0000 (14:31 -0600)]
udev: Use g_ascii_isalnum instead of isalnum

12 years agogatutil: Use g_ascii_isprint instead of isprint
Denis Kenzior [Wed, 11 Jan 2012 20:31:09 +0000 (14:31 -0600)]
gatutil: Use g_ascii_isprint instead of isprint

12 years agohuawei: Print and store NDIS support results
Marcel Holtmann [Wed, 11 Jan 2012 20:35:25 +0000 (21:35 +0100)]
huawei: Print and store NDIS support results

12 years agohuawei: Refactor logic slightly
Denis Kenzior [Wed, 11 Jan 2012 12:49:46 +0000 (06:49 -0600)]
huawei: Refactor logic slightly

12 years agohuawei: Create sim atom for cdma modems
Guillaume Zajac [Wed, 11 Jan 2012 16:28:34 +0000 (17:28 +0100)]
huawei: Create sim atom for cdma modems

Don't create atom if sim is embedded.
Atom will use "atmodem-noef" drivers to support PIN management
and IMSI retrieval.

12 years agoatmodem: Create new sim driver without EF entries
Guillaume Zajac [Wed, 11 Jan 2012 16:28:33 +0000 (17:28 +0100)]
atmodem: Create new sim driver without EF entries

This driver will be used by CDMA modems to support PIN
management and IMSI retreival.
EF entries for CDMA modems cannot be implemented without
manufacturers specifications.

12 years agozte: Setup CSCS on both ports
Denis Kenzior [Wed, 11 Jan 2012 12:37:05 +0000 (06:37 -0600)]
zte: Setup CSCS on both ports

12 years agospeedup: Setup CSCS on both ports
Denis Kenzior [Wed, 11 Jan 2012 12:36:52 +0000 (06:36 -0600)]
speedup: Setup CSCS on both ports

12 years agonokia: Setup CSCS on both ports
Denis Kenzior [Wed, 11 Jan 2012 12:36:41 +0000 (06:36 -0600)]
nokia: Setup CSCS on both ports

12 years agohuawei: Setup CSCS on both ports
Denis Kenzior [Wed, 11 Jan 2012 12:36:14 +0000 (06:36 -0600)]
huawei: Setup CSCS on both ports

12 years agohso: Setup CSCS properly
Denis Kenzior [Wed, 11 Jan 2012 12:29:43 +0000 (06:29 -0600)]
hso: Setup CSCS properly

12 years agoussd: Remove CSCS handling for QUALCOMM_MSM
Denis Kenzior [Wed, 11 Jan 2012 12:12:05 +0000 (06:12 -0600)]
ussd: Remove CSCS handling for QUALCOMM_MSM

12 years agohuawei: Check for NDIS vs modem dial-up mode
Marcel Holtmann [Wed, 11 Jan 2012 15:33:02 +0000 (16:33 +0100)]
huawei: Check for NDIS vs modem dial-up mode

12 years agobuild: Build provisioning plugins if enabled
Marcel Holtmann [Tue, 10 Jan 2012 15:27:50 +0000 (07:27 -0800)]
build: Build provisioning plugins if enabled

12 years agobuild: Add option for disabling provisioning support
Marcel Holtmann [Tue, 10 Jan 2012 15:27:26 +0000 (07:27 -0800)]
build: Add option for disabling provisioning support

12 years agomodem: Tweak produced path
Denis Kenzior [Sat, 7 Jan 2012 19:23:32 +0000 (13:23 -0600)]
modem: Tweak produced path

For drivers that contain digits at the end the currently produced
path can be somewhat confusing.

12 years agoofono.rules: Add N900 rule for stock kernels
Denis Kenzior [Sat, 7 Jan 2012 19:20:09 +0000 (13:20 -0600)]
ofono.rules: Add N900 rule for stock kernels

From a patch set by Luke Dash

12 years agocdma-netreg: Add provider name and SID support
Philippe Nunes [Wed, 14 Dec 2011 17:56:07 +0000 (18:56 +0100)]
cdma-netreg: Add provider name and SID support

12 years agocdma-provision: Add cdma provisioning plugin
Philippe Nunes [Wed, 14 Dec 2011 17:56:06 +0000 (18:56 +0100)]
cdma-provision: Add cdma provisioning plugin

12 years agocdma-provision: Add driver APIs implementation
Philippe Nunes [Wed, 14 Dec 2011 17:56:05 +0000 (18:56 +0100)]
cdma-provision: Add driver APIs implementation

12 years agoofono.h: add API to get cdma provider name
Philippe Nunes [Wed, 14 Dec 2011 17:56:04 +0000 (18:56 +0100)]
ofono.h: add API to get cdma provider name

12 years agocdma-provision: Add driver APIs header
Philippe Nunes [Wed, 14 Dec 2011 17:56:03 +0000 (18:56 +0100)]
cdma-provision: Add driver APIs header

12 years agoudevng: Remove huaweicdma label from driver_list
Guillaume Zajac [Mon, 9 Jan 2012 13:10:56 +0000 (14:10 +0100)]
udevng: Remove huaweicdma label from driver_list

12 years agoRelease 1.2 1.2
Marcel Holtmann [Sun, 8 Jan 2012 08:19:46 +0000 (00:19 -0800)]
Release 1.2

12 years agohuawei: Adapt to changed atom driver name for CDMA netreg
Marcel Holtmann [Sat, 7 Jan 2012 03:55:34 +0000 (19:55 -0800)]
huawei: Adapt to changed atom driver name for CDMA netreg

12 years agohuaweimodem: Move CDMA network registration into default driver
Marcel Holtmann [Sat, 7 Jan 2012 03:52:34 +0000 (19:52 -0800)]
huaweimodem: Move CDMA network registration into default driver

With merging the GSM/UTMS and CDMA modem plugin into a unified version,
it also makes sense to merge the Huawei specific vendor atom drivers
into one.

12 years agohuawei: Use CFUN=5 for CDMA offline state handling
Marcel Holtmann [Sat, 7 Jan 2012 03:16:43 +0000 (19:16 -0800)]
huawei: Use CFUN=5 for CDMA offline state handling

The Huawei CDMA modems only support CFUN=5 for offline mode and so
enforce this one if CDMA support has been detected. Even if the modem
would indicate AT^RFSWITCH support.

12 years agohuawei: Handle modems with ROM based SIM cards
Marcel Holtmann [Sat, 7 Jan 2012 03:11:03 +0000 (19:11 -0800)]
huawei: Handle modems with ROM based SIM cards

Some modem contain ROM based SIM cards indicated by SIM state 240 and
these need to be treated as SIM present.