Commit Graph

5524 Commits

Author SHA1 Message Date
Guillaume Zajac 77ae92efc0 speedupcdma: Create skeleton for Speed Up CDMA modem support 2011-07-21 11:46:33 +02:00
Bertrand Aygon c7a5c2d07e ofono.rules: Add rules for Tata ZTE MF 631 2011-07-20 08:22:58 -05:00
Denis Kenzior 191570a1ba hfpmodem: Minor whitespace fix 2011-07-20 08:22:25 -05:00
Bertrand Aygon 68ee8b5f2b doc: add username and password for CDMA PPP authentication. 2011-07-20 15:13:37 +02:00
Denis Kenzior aa58348bbc voicecall: Free settings when sim gets locked out 2011-07-19 15:07:02 -05:00
Denis Kenzior c6c01110ec sim: Support SIM_STATE_LOCKED_OUT 2011-07-19 14:20:09 -05:00
Denis Kenzior 7abc4f0a1a include: Introduce a new SIM_LOCKED_OUT state
This is the same as SIM_INSERTED state, except we have already queried
the always-readable EFs
2011-07-19 14:10:17 -05:00
Denis Kenzior 4adc4a728d sim: Break out state notification into own method 2011-07-19 14:10:17 -05:00
Frédéric Danis 9751914274 voicecall: close settings when SIM is removed
This also fixes the case where +BLDN uses an invalid number when the SIM
is removed.
2011-07-19 12:09:22 -05:00
Frédéric Danis d3f8eae1ff voicecall: fix callheld indicator for PTS
Fix PTS test TP/TWC/BV-03-I [Call Waiting- Hold Active/Retrieve
Waiting Call or Held].

PTS test fails after receiving intermediate update of callheld indicator
with value 0 (no held call) before it receives update to value 1
(active and held calls). This is due to the non-atomic update of calls
status after call swap (moving first call to active state before moving
second one to hold state).

HFP 1.5 spec specifies that an update of callheld indicator to 1 should
be sent after AT+CHLD=2 command.
As oFono emulator sends +CIEV only if the indicator value changes, we
need to use an intermediate state for callheld indicator (2, all calls on
hold).

So, in case of multiple active calls, or an active call with an active
mutiparty call, force update of callheld indicator to 2.
2011-07-19 11:18:22 -05:00
Bertrand Aygon 006c8825e4 ofono.rules: Add rules for Reliance ZTE MF 688 2011-07-18 07:47:40 -05:00
Marcel Holtmann 12f9cd10bf Release 0.52 2011-07-17 19:41:24 +02:00
Marcel Holtmann ce1c60d4e5 connman: Handle D-Bus without fd passing support 2011-07-17 19:35:29 +02:00
Marcel Holtmann c91f546b2b build: Always compile unit tests 2011-07-15 22:19:47 +02:00
Jeevaka Badrappan 213d70dca3 stk: Fix crash seen in stk_alpha_id_unset
If there is no default agent, then current agent also will
be NULL. So, call stk_agent_request_cancel only when there is a valid
current agent.
2011-07-15 11:35:13 -05:00
Jeevaka Badrappan c65903bddd ifxmodem: add support for user_confirmation in stk 2011-07-15 11:09:04 -05:00
Jeevaka Badrappan 00d16d1387 include: Add driver api for user confirmation 2011-07-15 09:30:07 -05:00
Denis Kenzior fd47c3a502 voicecall: Minor style fix 2011-07-14 19:58:32 -05:00
Denis Kenzior e825cf3ee4 voicecall: dial_request_user_cancel is not safe
It is not safe to call dial_request_user_cancel directly.  This is
because there might be a situation where the SIM requested the calls to
be dropped first.  If we're still executing the release_all_active
request and someone calls hangup -> crash.

Instead it is safer to throttle the hangup requests until the call is
actually dialing.

In similar fashion, we should not allow hanging up a specific call if a
dial request is active, unless that call is part of the SIM dial
request.  Note that by default this is not known until the driver's dial
implementation returns and the call is in the dialing (or alerting /
connected) state.
2011-07-14 19:15:53 -05:00
Denis Kenzior 70df9939db voicecall: Send busy to DBus if emulator is pending 2011-07-14 18:28:37 -05:00
Denis Kenzior 688258a7c6 voicecall: Don't send response to defunct emulator 2011-07-14 18:28:37 -05:00
Denis Kenzior b0566f0bb7 voicecall: Throttle emulators
Make sure that only a single request from (possibly multiple) emulators
is ever sent to the voicecall driver.  In the beginning it wasn't clear
whether this will be necessary, however several command implementations
already implemented basic throttling (+CHUP, ATD, CHLD=3, CHLD=2x) and
it made sense to make this more formal.

The other constraint is the abrupt removal of the emulator atom while an
operation is pending.  This case must be handled gracefully.  See next
commit.
2011-07-14 18:28:33 -05:00
Denis Kenzior 2ff685ac54 voicecall: Minor style fixes 2011-07-14 18:25:31 -05:00
Frédéric Dalleau f403f71573 voicecall: manage multiparty list in AT+CHLD=2X 2011-07-14 18:25:31 -05:00
Frédéric Dalleau 90311a6313 voicecall: manage multiparty list in AT+CHLD=3 2011-07-14 18:25:31 -05:00
Denis Kenzior 5179489b11 voicecall: Minor style fix 2011-07-14 18:25:31 -05:00
Bertrand Aygon d9b369fffe ofono.rules: Add rules for ZTE MF 637 modem 2011-07-12 11:19:35 -05:00
Bertrand Aygon b25c1a26fd ofono.rules: Add rules for SpeedUp 8000 modem 2011-07-12 11:17:53 -05:00
Denis Kenzior 947c164a67 connman: Refactor request_reply 2011-07-12 11:16:48 -05:00
Denis Kenzior 4c4c5ef107 connman: Perform more renaming 2011-07-12 09:34:36 -05:00
Denis Kenzior 67c501891f connman: Refactor pns_release 2011-07-12 09:27:44 -05:00
Denis Kenzior 143553b7c9 connman: Rename to be clearer 2011-07-12 09:03:57 -05:00
Guillaume Zajac 84a1b5fcd0 plugins: add connman private network driver 2011-07-12 09:01:43 -05:00
Guillaume Zajac 96b10ac89a huaweicdma: Create skeleton for Huawei CDMA modem support 2011-07-12 14:00:37 +02:00
Denis Kenzior 329f2d724b gatserver: fix certain bad behavior
Due to the new GAtIO semantics, the receive function is called
immediately if the receive buffer is not empty.  This caused certain
funny behavior in non-command (e.g. empty, a/) processing.
2011-07-11 15:51:34 -05:00
Bertrand Aygon 1789bd5d4b ofono.rules: Add udev rules for SpeedUp 7300 2011-07-10 12:26:13 -05:00
Nicolas Bertrand 87d85808d2 ofono.rules: Add ofono rules for ZTE MF190 2011-07-10 09:24:05 -05:00
Marcel Holtmann 6094556558 huawei: Use correct command for setting offline mode
According to some Huawei related documentation it is better to use
AT+CFUN=7 for offline mode instead of AT+CFUN=5.
2011-07-11 15:06:02 +02:00
Marcel Holtmann 8d60016b23 atmodem: Request device capabilities from devinfo driver
The result of the capabilities command is currently not used to identify
GSM support or not. However for debugging purposes the information are
part of the AT command debug log now.
2011-07-11 15:03:38 +02:00
Vinicius Costa Gomes 6549cb6346 btio: Fix the return value of bt_io functions
Some bt_io methods were ignoring the value stored in errno when
reporting the error to the caller.
2011-07-09 18:47:29 +02:00
Frédéric Danis 4129f1a05a phonesim: add support of +CBC
PTS test TP/PSI/BV-03-I [Transfer Battery Level Indication] needs to
change battery level and check that the battery level indication is
received at the HF.
So add support for +CBC in phonesim plugin, and force update of the
battery indicator on HFP AG Emulator registration.
2011-07-08 13:24:21 -05:00
Bertrand Aygon 2c8f864204 zte: Create gprs & gc in post_sim 2011-07-07 01:16:25 -05:00
Bertrand Aygon 54dd702841 zte: Use decode_at_error instead 2011-07-07 01:15:21 -05:00
Denis Kenzior a4cfed9eae emulator: Make the logic a bit more readable 2011-07-06 04:16:16 -05:00
Frédéric Danis 8c64487098 emulator: fix CCWA for PTS
During test TP/TCA/BV-05-I [Terminate Ongoing Call – While Call Waiting]
PTS fails if multiple +CCWA are sent (waiting for 1st phone number when
waiting one becomes incoming, intead of 2nd phone number).
So, send only 1 +CCWA.

Update RING timer management to be started as soon as an incoming call
exists, and retrieve +CLIP info for incoming or waiting call (in case
of waiting call becoming incoming call, call indicator changes before
internal call status is updated)

Force to send +CCWA (if needed) on reception of AT+CCWA=1
2011-07-06 04:16:12 -05:00
Andrzej Zaborowski 045ac8cf94 stk: Use the right command pointer 2011-07-06 04:14:47 -05:00
Bertrand Aygon ca62334863 udev: Add udev rules for SpeedUp modems 2011-07-06 02:01:58 -05:00
Bertrand Aygon 13aa7facc6 plugins: add speedup driver 2011-07-06 02:00:58 -05:00
Luiz Augusto von Dentz a5f5dd2569 bluetooth: Remove data in all situations
If an adapter or device is removed any data associate should be removed,
otherwise the next time they appear/are created the drivers may not
asssociate again.
2011-07-05 21:11:08 -05:00
Guillaume Zajac 5e1e2a335e rules: Add ofono rule for Huwaei modem E173 2011-07-05 21:07:53 -05:00