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.
Denis Kenzior [Thu, 2 Feb 2012 11:53:53 +0000 (05:53 -0600)]
ifx: Use a proper prefix for XGENDATA
Denis Kenzior [Tue, 24 Jan 2012 17:33:16 +0000 (11:33 -0600)]
sim: Fix crash due to uninitialized spn_watch
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.
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.
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.
Marcel Holtmann [Fri, 20 Jan 2012 15:59:32 +0000 (16:59 +0100)]
Release 1.3
Denis Kenzior [Wed, 18 Jan 2012 19:28:31 +0000 (13:28 -0600)]
TODO: Mark Handsfree interface task as done
Denis Kenzior [Wed, 18 Jan 2012 19:20:29 +0000 (13:20 -0600)]
TODO: Mark GPRS provisioning task as done
Denis Kenzior [Wed, 18 Jan 2012 19:10:48 +0000 (13:10 -0600)]
TODO: Mark SAP task as done
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
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.
Denis Kenzior [Wed, 18 Jan 2012 18:55:02 +0000 (12:55 -0600)]
sms: Don't need the sim member now
Denis Kenzior [Wed, 18 Jan 2012 18:52:01 +0000 (12:52 -0600)]
cbs: finding SIM atom seems to not necessary now
Denis Kenzior [Wed, 18 Jan 2012 18:50:55 +0000 (12:50 -0600)]
stk: Use __ofono_atom_find
Denis Kenzior [Wed, 18 Jan 2012 18:36:37 +0000 (12:36 -0600)]
gprs: Use __ofono_atom_find
Denis Kenzior [Wed, 18 Jan 2012 17:54:42 +0000 (11:54 -0600)]
cdma-connman: Use __ofono_atom_find
Denis Kenzior [Wed, 18 Jan 2012 17:52:17 +0000 (11:52 -0600)]
voicecall: Use __ofono_atom_find
Denis Kenzior [Wed, 18 Jan 2012 17:45:49 +0000 (11:45 -0600)]
ussd: Use __ofono_atom_find
Denis Kenzior [Wed, 18 Jan 2012 17:43:59 +0000 (11:43 -0600)]
emulator: Use __ofono_atom_find
Denis Kenzior [Wed, 18 Jan 2012 17:42:20 +0000 (11:42 -0600)]
call-forwarding: Use __ofono_atom_find
Denis Kenzior [Wed, 18 Jan 2012 17:37:02 +0000 (11:37 -0600)]
sms: Use __ofono_atom_find
Denis Kenzior [Wed, 18 Jan 2012 17:29:12 +0000 (11:29 -0600)]
cbs: Use __ofono_atom_find macro
Denis Kenzior [Wed, 18 Jan 2012 17:24:14 +0000 (11:24 -0600)]
network: 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
Denis Kenzior [Wed, 18 Jan 2012 17:23:18 +0000 (11:23 -0600)]
ofono: Add __ofono_atom_find macro
Oleg Zhurakivskyy [Wed, 18 Jan 2012 11:56:29 +0000 (13:56 +0200)]
network: Access SPN directly from the sim atom
Oleg Zhurakivskyy [Wed, 18 Jan 2012 11:56:28 +0000 (13:56 +0200)]
sim: Add ofono_sim_get_spn() implementation
Oleg Zhurakivskyy [Wed, 18 Jan 2012 11:56:28 +0000 (13:56 +0200)]
include: Add ofono_sim_get_spn() declaration
Denis Kenzior [Wed, 18 Jan 2012 16:41:43 +0000 (10:41 -0600)]
network: Optimize away one unneeded assignment
Oleg Zhurakivskyy [Wed, 18 Jan 2012 11:56:27 +0000 (13:56 +0200)]
network: Use sim SPN watch API
Denis Kenzior [Wed, 18 Jan 2012 16:33:56 +0000 (10:33 -0600)]
gprs: Trivial code reflow
Oleg Zhurakivskyy [Wed, 18 Jan 2012 11:56:26 +0000 (13:56 +0200)]
gprs: Use sim SPN watch API
Marcel Holtmann [Tue, 17 Jan 2012 10:47:59 +0000 (11:47 +0100)]
btio: Remove support for hciX source addresses
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.
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.
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.
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
Marcel Holtmann [Tue, 17 Jan 2012 09:38:07 +0000 (10:38 +0100)]
udev: Limit ZTE port selection to specific product identifiers
Marcel Holtmann [Tue, 17 Jan 2012 09:35:23 +0000 (10:35 +0100)]
udev: Keep vendor and product identifiers around
Oleg Zhurakivskyy [Mon, 9 Jan 2012 10:30:42 +0000 (12:30 +0200)]
sim: Add SPN watch capability
Oleg Zhurakivskyy [Mon, 9 Jan 2012 10:30:41 +0000 (12:30 +0200)]
sim: Minor style fixes
Marcel Holtmann [Fri, 13 Jan 2012 10:52:28 +0000 (11:52 +0100)]
build: Add support for providing provision database location
Marcel Holtmann [Fri, 13 Jan 2012 03:56:02 +0000 (04:56 +0100)]
udev: Add detection support for SIM COM modems
Denis Kenzior [Thu, 12 Jan 2012 05:50:36 +0000 (23:50 -0600)]
AUTHORS: Mention Renat's contributions
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
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"
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
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.
Marcel Holtmann [Thu, 12 Jan 2012 05:25:36 +0000 (06:25 +0100)]
huaweimodem: Reset errors for USSD cancel operation
Marcel Holtmann [Thu, 12 Jan 2012 05:02:27 +0000 (06:02 +0100)]
huawei: Select USSD atom driver based on firmware 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.
Marcel Holtmann [Thu, 12 Jan 2012 03:38:50 +0000 (04:38 +0100)]
speedup: 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
Marcel Holtmann [Thu, 12 Jan 2012 03:37:03 +0000 (04:37 +0100)]
huawei: Setup CSCS after SIM card has been detected
Marcel Holtmann [Thu, 12 Jan 2012 03:01:07 +0000 (04:01 +0100)]
atmodem: Add more debug for USSD response parsing
Denis Kenzior [Wed, 11 Jan 2012 20:31:21 +0000 (14:31 -0600)]
udev: Use g_ascii_isalnum instead of isalnum
Denis Kenzior [Wed, 11 Jan 2012 20:31:09 +0000 (14:31 -0600)]
gatutil: Use g_ascii_isprint instead of isprint
Marcel Holtmann [Wed, 11 Jan 2012 20:35:25 +0000 (21:35 +0100)]
huawei: Print and store NDIS support results
Denis Kenzior [Wed, 11 Jan 2012 12:49:46 +0000 (06:49 -0600)]
huawei: Refactor logic slightly
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.
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.
Denis Kenzior [Wed, 11 Jan 2012 12:37:05 +0000 (06:37 -0600)]
zte: Setup CSCS on both ports
Denis Kenzior [Wed, 11 Jan 2012 12:36:52 +0000 (06:36 -0600)]
speedup: Setup CSCS on both ports
Denis Kenzior [Wed, 11 Jan 2012 12:36:41 +0000 (06:36 -0600)]
nokia: Setup CSCS on both ports
Denis Kenzior [Wed, 11 Jan 2012 12:36:14 +0000 (06:36 -0600)]
huawei: Setup CSCS on both ports
Denis Kenzior [Wed, 11 Jan 2012 12:29:43 +0000 (06:29 -0600)]
hso: Setup CSCS properly
Denis Kenzior [Wed, 11 Jan 2012 12:12:05 +0000 (06:12 -0600)]
ussd: Remove CSCS handling for QUALCOMM_MSM
Marcel Holtmann [Wed, 11 Jan 2012 15:33:02 +0000 (16:33 +0100)]
huawei: Check for NDIS vs modem dial-up mode
Marcel Holtmann [Tue, 10 Jan 2012 15:27:50 +0000 (07:27 -0800)]
build: Build provisioning plugins if enabled
Marcel Holtmann [Tue, 10 Jan 2012 15:27:26 +0000 (07:27 -0800)]
build: Add option for disabling provisioning support
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.
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
Philippe Nunes [Wed, 14 Dec 2011 17:56:07 +0000 (18:56 +0100)]
cdma-netreg: Add provider name and SID support
Philippe Nunes [Wed, 14 Dec 2011 17:56:06 +0000 (18:56 +0100)]
cdma-provision: Add cdma provisioning plugin
Philippe Nunes [Wed, 14 Dec 2011 17:56:05 +0000 (18:56 +0100)]
cdma-provision: Add driver APIs implementation
Philippe Nunes [Wed, 14 Dec 2011 17:56:04 +0000 (18:56 +0100)]
ofono.h: add API to get cdma provider name
Philippe Nunes [Wed, 14 Dec 2011 17:56:03 +0000 (18:56 +0100)]
cdma-provision: Add driver APIs header
Guillaume Zajac [Mon, 9 Jan 2012 13:10:56 +0000 (14:10 +0100)]
udevng: Remove huaweicdma label from driver_list
Marcel Holtmann [Sun, 8 Jan 2012 08:19:46 +0000 (00:19 -0800)]
Release 1.2
Marcel Holtmann [Sat, 7 Jan 2012 03:55:34 +0000 (19:55 -0800)]
huawei: Adapt to changed atom driver name for CDMA netreg
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.
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.
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.
Marcel Holtmann [Sat, 7 Jan 2012 03:08:13 +0000 (19:08 -0800)]
huawei: Create CDMA atoms if support has been detected
In case the modem supports CDMA (+CIS707-A capability), then enable
CDMA atoms. However only enable if GSM support is not detected.
Marcel Holtmann [Sat, 7 Jan 2012 02:52:12 +0000 (18:52 -0800)]
hso: Enable voice call handling if support has been detected
Check if AT_OPCMENABLE is supported and if so, then enable the voice
call handling as well.
Marcel Holtmann [Sat, 7 Jan 2012 02:30:12 +0000 (18:30 -0800)]
huawei: Create GSM/UMTS atoms only if support has been detected
Marcel Holtmann [Fri, 6 Jan 2012 22:08:35 +0000 (14:08 -0800)]
atmodem: Add call state polling for Qualcomm MSM based modems
The voice call support of the Qualcomm MSM based modems does not report
NO CARRIER, NO ANSWER or BUSY unsolicited notifications. So keep polling
for call state changes via AT+CLCC even during an active call.
Marcel Holtmann [Fri, 6 Jan 2012 22:05:59 +0000 (14:05 -0800)]
atmodem: Disable AT+COLP for Qualcomm MSM based modems
In case of Qualcomm MSM based modems, AT+COLP=0 needs to be used to make
ATD<number>; return right away. Otherwise it only returns once the remote
party accepted or rejected the call.
Guillaume Zajac [Fri, 6 Jan 2012 15:28:38 +0000 (16:28 +0100)]
huaweicdma: Delete unused plugin
Guillaume Zajac [Fri, 6 Jan 2012 15:28:36 +0000 (16:28 +0100)]
udev: Simplify vendor_list for Huawei constructor
According to Huawei constructor, the port mapping is identical
for all the modems. We can decide to use GSM or CDMA drivers into
the plugin.
Marcel Holtmann [Fri, 6 Jan 2012 21:31:38 +0000 (13:31 -0800)]
huawei: Check for supported modem capabilities first
Use ATI and +GCAP response to determine supported modem capabilities
and check if modem does support GSM.
Marcel Holtmann [Fri, 6 Jan 2012 21:19:30 +0000 (13:19 -0800)]
huawei: Change state variable name for voice support
Denis Kenzior [Mon, 2 Jan 2012 16:57:27 +0000 (10:57 -0600)]
gsmdial: Set recording after ppp_open
Syam Sidhardhan [Thu, 29 Dec 2011 22:58:01 +0000 (04:28 +0530)]
atutil: Fix newline before EOF
Jussi Kukkonen [Mon, 2 Jan 2012 12:27:26 +0000 (14:27 +0200)]
sim: fix "network" is pin type for "networkpuk"
Marcel Holtmann [Mon, 2 Jan 2012 02:25:00 +0000 (18:25 -0800)]
test: Add script for rejecting incoming calls
Marcel Holtmann [Mon, 2 Jan 2012 02:00:39 +0000 (18:00 -0800)]
hso: Add support for detecting is no SIM card is present
Marcel Holtmann [Sat, 31 Dec 2011 19:45:02 +0000 (11:45 -0800)]
Release 1.1
Syam Sidhardhan [Thu, 29 Dec 2011 22:00:35 +0000 (03:30 +0530)]
telit: Fix empty parameter list in function