Commit Graph

5510 Commits

Author SHA1 Message Date
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
Guillaume Zajac b4058c6072 rules: Add ofono rule for ZTE modem MF668 2011-07-05 21:06:53 -05:00
Guillaume Zajac a3963a0e6e rules: Add ofono rule for ZTE modem MF180 2011-07-05 21:06:48 -05:00
Marcel Holtmann b63c34adcf main: Move signalfd setup in its own function 2011-07-01 21:33:16 -07:00
Denis Kenzior 46e08f905a AUTHORS: Mention Luiz's contributions 2011-07-01 03:14:07 -05:00
Luiz Augusto von Dentz c9714bd4b5 bluetooth: make uuid profile detection more generic 2011-06-30 22:10:09 -05:00
Luiz Augusto von Dentz 55f1c95ed1 bluetooth: use lower case for UUIDs
BlueZ also uses lower case
2011-06-30 22:05:56 -05:00
Marcel Holtmann f79b2d7504 Release 0.51 2011-06-30 20:15:56 -07:00
Marcel Holtmann 0ca2a09f34 stkutil: Fix alignment issue with channel data length 2011-06-30 19:32:46 -07:00
Marcel Holtmann 6a183627f5 stkutil: Fix alignment issue with building event list 2011-06-30 19:32:11 -07:00
Marcel Holtmann 263e554d53 stkutil: Add missing call to va_end() 2011-06-30 17:33:59 -07:00
Marcel Holtmann 7f7492669a build: Split non-root unit tests to have make check succeed 2011-06-30 16:19:24 -07:00
Marcel Holtmann 0c20ee6c53 build: Add unit test cases to make check funtionality 2011-06-30 16:04:12 -07:00
Denis Kenzior 024b0c5c6f AUTHORS: Mention Michael's contributions 2011-06-30 00:42:48 -05:00
Michael Schloh von Bennewitz a90d81e310 udev: fix detection of HP HS2330 (3607gw)
commit 6a2847f7ab introduced basic
detection of HP HS2330 based on OEM Ericsson F3607gw modems.

Because some (or all?) HS2330 modems contain flawed text identifiers
containing strange (probably erroneous) binary sequences in place of
the ASCII space '\x20' character, the previous commit is incomplete.
The following logic detects the modem properly, by comparing binary
data as well as ASCII text values.
2011-06-30 00:39:44 -05:00