Commit Graph

592 Commits

Author SHA1 Message Date
Denis Kenzior b6aed256b4 bluetooth: Minor style fixes 2011-02-08 21:16:03 -06:00
Denis Kenzior 671a7affee bluetooth: Get rid of memory leaks on error 2011-02-08 21:13:48 -06:00
Denis Kenzior ba9cd4adbb bluetooth: Refactor the authorization process
It is unnecessary to keep the IO watch around after the authorization
process has finished.  This also means client_list variable is not
really needed.

Since we destroy the watch once the auth_cb is called, we can also
remove the auth_pending variable.

Finally, the null check of path is not necessary
2011-02-08 21:13:29 -06:00
Frédéric Danis 4bb1e0d32c bluetooth: Add Bluetooth service authorization support 2011-02-08 16:49:37 -06:00
Frédéric Danis f3acfea531 bluetooth: Add bluetooth server support 2011-02-08 16:49:09 -06:00
Anand Ramakrishna 6608c0018d ifx: Fix for changed selftest AT command syntax
It is a fix to support the selftest AT command syntax changed in latest
IFX fw version.
2011-02-08 14:44:12 -08:00
Frédéric Danis bc793d945c bluetooth: Optimize D-Bus call flow
We can call manager GetProperties once inside bluetooth_ref and avoid
calling it every time bluetooth_register_uuid is called.
2011-02-08 12:44:39 -06:00
Anand Ramakrishna 09b169c95f ifx: Adding modem selftest for Infineon modem
Infineon modem selftest, during ifx_enable().
Two steps trigger with timeout. In case one fails, modem will not power up.
2011-02-07 13:41:59 -08:00
Aki Niemi cca8946cdb n900: Enable use of legacy subscriptions 2011-02-07 09:51:35 +02:00
Aki Niemi 68041bffba isiusb: Enable use of legacy subscriptions 2011-02-07 09:51:35 +02:00
Aki Niemi 7ffaea7fbd plugins: Adapt isiusb and gpio plugins to new API 2011-02-07 09:51:34 +02:00
Denis Kenzior 074f1ff516 push-notification: Fix the nulling of the agent
Same as the previous commit, but applies to push-notifications
2011-02-02 13:24:04 -06:00
Lucas De Marchi 16e3c0ffe4 smart-messaging: set agent to NULL after free
If agent is not set to NULL after it's freed, the following situation
would not work:

smart_messaging_register_agent()
smart_messaging_unregister_agent()
smart_messaging_register_agent()

And this one could potentially crash oFono:

smart_messaging_register_agent()
smart_messaging_unregister_agent()
smart_messaging_unregister_agent()
2011-02-02 13:23:30 -06:00
Lucas De Marchi 2770d0ddd3 plugins: fix misspelling 2011-02-01 18:35:48 +01:00
Lasse Kunnasluoto 98e942d11b ste: Add support for CBS interface
STE modems support standard AT commands in CBS
2011-02-01 16:44:33 +01:00
Jeevaka Badrappan 6433af838d mbm: add radio-settings support 2011-01-31 10:48:01 +01:00
Jeevaka Badrappan 8c667aadad plugins: remove NULL check 2011-01-29 18:39:37 +01:00
Marcel Holtmann 863ce7d93a gobi: Use permissive AT syntax parser
Trying to use the GSM V1 parser will break sending SMS. So just accept
that Gobi is another device where the strict syntax parser won't work.
2011-01-29 18:39:37 +01:00
Marcel Holtmann ff1c41a672 tc65: Move SMS support into post_sim stage 2011-01-29 10:34:31 +01:00
Marcel Holtmann f840ee6628 hso: Move SMS support into post_sim stage 2011-01-29 10:33:53 +01:00
Marcel Holtmann 4b8a5594ce zte: Move SMS support into post_sim stage 2011-01-29 10:32:36 +01:00
Marcel Holtmann bda85361ad novatel: Move SMS support into post_sim stage 2011-01-29 10:31:16 +01:00
Marcel Holtmann a5e83f5668 huawei: Move SMS support into post_sim stage 2011-01-29 10:30:03 +01:00
Marcel Holtmann 9cc7919e6f ste: Move SMS support into post_sim stage 2011-01-29 10:29:20 +01:00
Marcel Holtmann 93895ca934 mbm: Move SMS support into post_sim stage 2011-01-29 10:28:47 +01:00
Marcel Holtmann deaa45196d ifx: Move SMS support into post_sim stage 2011-01-29 10:28:05 +01:00
Marcel Holtmann 2b0dab3dcb gobi: Move SMS support into post_sim stage 2011-01-29 10:26:52 +01:00
Denis Kenzior 6d48fe7a05 phonesim: Move sms atom to post_sim state 2011-01-28 20:28:36 -06:00
Zhigang Li 1166ed5a3a udev: Enable Dell 5540 AGPS interface 2011-01-28 10:18:00 +01:00
Marcel Holtmann 56469ad415 sierra: Use vendor quirk for SIM driver 2011-01-27 15:50:00 +01:00
Marcel Holtmann b3568a3c3b sierra: Add support GPRS registration 2011-01-27 15:41:12 +01:00
Marcel Holtmann de648cf963 sierra: Add support for online mode 2011-01-27 15:35:56 +01:00
Marcel Holtmann ab47ccc692 novatel: Handle modem enable errors properly 2011-01-27 15:31:06 +01:00
Kai Vehmanen f6f0f4d121 n900: fix set online
Invalid MTC_STATE_REQ messages were sent, causing failures in going
online.
2011-01-27 12:59:41 +02:00
Marcel Holtmann 1f356f227b gobi: Handle broken SIM status notification gracefully 2011-01-24 12:55:25 +01:00
Marcel Holtmann fa32c1fd27 gobi: Enable handling for GPRS registration 2011-01-22 13:14:07 +01:00
Marcel Holtmann 55209a77c1 gobi: Check for SIM status first before enabling SIM card 2011-01-22 13:02:35 +01:00
Marcel Holtmann 7985e53fe7 gobi: Enable vendor quirk for network registration 2011-01-22 12:38:49 +01:00
Marcel Holtmann e7a05dbfd3 gobi: Add support for SMS, CBS and USSD interfaces 2011-01-22 11:37:03 +01:00
Frédéric Danis b7590b08d2 bluetooth: Add reference count for bluetooth utils
Add bluetooth_ref()/bluetooth_unref() to support reference count in
bluetooth utils.
2011-01-20 12:20:47 +01:00
Lucas De Marchi a72115510a huawei: do not query sim state on pre_sim
Sim state is already known after modem is enabled and there's no need to
query it again. Before this patch, query_sim_state() was called upon
huawei_enable() and huawei_pre_sim(). Both functions might call
notify_sim_state() with a valid state. Hence we could eventually end up
sending AT+CFUN=5 command twice.
2011-01-19 15:39:49 +01:00
Marcel Holtmann a4d14ccb3e ifx: Remove modification of GIOChannel before multiplexer setup
After g_at_chat_new() call the GIOChannel is already in non blocking,
no encoding and no buffering mode. So no need for extra modifications.
2011-01-19 15:32:52 +01:00
Lucas De Marchi edaff4b505 huawei: do not set timer more than once
If a "^SYSINFO" arrives after the timer for query_sim_locked() has been
set up, it'd would set a new timer, signaling a sim state change more
than once.
2011-01-19 14:21:29 +01:00
Lasse Kunnasluoto f11402907a ste: Use UTF-8 as a default character set 2011-01-18 16:56:27 +01:00
Tomasz Gregorek 802b3acbd9 mbm: Remove data->reopen_source timer before setting up new one
Check if there is a timer running already and remove it before
creating a new one. This will prevent calling reopen_callback() more
than if mbm_disconnect() is called more than once.
2011-01-14 14:40:47 +01:00
Tomasz Gregorek d104573d54 mbm: Adding timer removal to mbm_remove()
In case the modem is disconnected during enabling process, mbm_disconnect()
will set up data->reopen_source timer. This timer needs to be
removed in mbm_remove() to stop execution of reopen_callback() after
hardware disconnection.
2011-01-14 14:39:37 +01:00
Jeevaka Badrappan 00a2335ed4 ifx: add ctm create to ifx plugin 2011-01-14 14:34:48 +01:00
Dara Spieker-Doyle e0e734619f nokiacdma: Add CDMA devinfo support 2011-01-13 16:15:36 -06:00
Dara Spieker-Doyle 492f0629ca udev: Add nokiacdma device 2011-01-12 23:14:23 -06:00
Dara Spieker-Doyle f8a65e6817 ofono-rules: Add nokiacdma device 2011-01-12 23:14:04 -06:00