summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Release 2.1HEAD2.1masterMarcel Holtmann2023-04-122-1/+6
|
* plugins: quectel: re-organize code for ussd & lte initAlexandru Ardelean2023-02-131-2/+14
| | | | | | | The BG95 modem (family) supports LTE, but not USSD. So, we'll split the init of the LTE separately, and add a helper function (called quectel_model_supports_lte()) which will return true if the modem supports LTE.
* docs: update ofono mailing listAlexandru Ardelean2023-02-133-3/+3
| | | | | | | | | | | | I've re-sent some patches to 'ofono@lists.linux.dev' and it worked. Initially, my patches/emails got denied by the email server (when sending to ofono@ofono.org). Checking 'https://lore.kernel.org/ofono/' it seems that my patches went through, so it looks like the docs could use with an update. The websites are not changed, as http://ofono.org redirects to https://git.kernel.org/pub/scm/network/ofono/ofono.git
* AUTHORS: Mention Ivaylo's contributionsDenis Kenzior2022-09-191-0/+1
|
* qmimodem: Fix shared service creation logicIvaylo Dimitrov2022-09-191-34/+96
| | | | | | | | | | | | | qmi_service_create_shared() tries to find already created service of the same type and if it fails to find one, start a creation of a new service. This creation takes some time, so if while it is not complete, any new calls to qmi_service_create_shared() will still fail to find a service of that type and will start creation. This can easily lead to client ids exhaustion and service creation failures. Fix that by adding logic that delays responses to any shared service creation requests after the first one, until that request either fails or succeeds.
* qmimodem: Remove service create request on timeoutIvaylo Dimitrov2022-09-191-23/+43
| | | | Otherwise callback will be called on late response with dangling user_data.
* voicecall: Make sure SIM ecc numbers are always readIvaylo Dimitrov2022-09-191-12/+28
| | | | | | | | | | It might happen that by the time ofono_voicecall_register() is called, SIM is already in OFONO_SIM_STATE_READY state so SIM emergency numbers are never read. Fix that by adding code that reads emergency numbers even in the above case. Also, make sure ECC file watch is properly removed and sim_context is free()-ed.
* Release 2.02.0Marcel Holtmann2022-09-082-1/+6
|
* build: Switch to modern autoconf optionsMarcel Holtmann2022-09-084-7/+13
|
* configure: Update to support Autoconf >= 2.69Marcel Holtmann2022-09-081-28/+30
|
* call-barring: Quiet GCC warningDenis Kenzior2022-09-081-3/+3
| | | | | | | | | | | | | CC src/call-barring.o In function ‘cb_lock_property_lookup’, inlined from ‘cb_set_property’ at src/call-barring.c:854:7: src/call-barring.c:776:18: error: ‘len’ may be used uninitialized [-Werror=maybe-uninitialized] 776 | property += len; | ~~~~~~~~~^~~~~~ src/call-barring.c: In function ‘cb_set_property’: src/call-barring.c:759:16: note: ‘len’ was declared here 759 | size_t len; | ^~~
* gemaltomodem: Fix GCC warningDenis Kenzior2022-09-081-2/+1
| | | | | | | | | | | | CC drivers/gemaltomodem/gprs-context.o drivers/gemaltomodem/gprs-context.c: In function ‘gemalto_gprs_activate_primary’: drivers/gemaltomodem/gprs-context.c:195:13: error: the comparison will always evaluate as ‘true’ for the address of ‘apn’ will never be NULL [-Werror=address] 195 | if (ctx->apn) | ^~~ In file included from drivers/gemaltomodem/gprs-context.c:36: ./include/ofono/gprs-context.h:44:14: note: ‘apn’ declared here 44 | char apn[OFONO_GPRS_MAX_APN_LENGTH + 1]; | ^~~
* mbmmodem: Fix GCC warningDenis Kenzior2022-09-081-3/+3
| | | | | | | | CC drivers/mbmmodem/gprs-context.o drivers/mbmmodem/gprs-context.c: In function ‘mbm_e2ipcfg_cb’: drivers/mbmmodem/gprs-context.c:138:25: error: ‘%s’ directive argument is null [-Werror=format-overflow=] 138 | ofono_info("IP: %s Gateway: %s", ip, gateway); | ^~
* quectel: fixing EC200T modem initializationSergei Golubtsov2022-09-061-1/+6
| | | | | EC200T doesn't indicate that the Phonebook initialization is completed (==4) if AT+CFUN=4
* file provision plugin: use CHAP auth by defaultSergei Golubtsov2022-09-061-1/+1
| | | | 3GPP mandated CHAP to be used as the default
* lte: switch auth to NONE if other options cannot be usedSergei Golubtsov2022-09-061-1/+2
| | | | | If the user name or user name together with the password for an AP are not provided the NONE auth method should be used
* mbpi: switch to auth NONE if other options cannot be usedSergei Golubtsov2022-09-061-0/+4
| | | | | If a user name or user name together with a password for an AP are not provided the NONE auth method should be used
* Revert "mbpi: support for auth NONE"Sergei Golubtsov2022-09-061-6/+0
| | | | This reverts commit a5bdf48ca7be70a9b33a47dae0ea03bf842efdd2.
* Release 1.341.34Marcel Holtmann2022-01-052-1/+5
|
* rilmodem: fix a problem that manager_dial_callback is never calledXiaoyi Chen2021-12-162-1/+12
| | | | | | | | | | | | | This problem does not happen each time when dialing. It's only observed with some sim cards under certain network. The time sequence to reproduce the problem is: - send dial request - receive unsol event call state changed - send clcc poll request - clcc poll response (vd->cb is null here) - dial response - setup vd->cb (then it never gets called)
* rilmodem: fix handling both of SUCCESS AND FAILUREJongSeok Won2021-12-161-1/+3
|
* rilmodem: fix register of unsolicited notifyXiaoyi Chen2021-12-131-3/+3
|
* quectel: get devinfoSean Nyekjaer2021-12-061-0/+2
| | | | | | | Quectel devices returns "Revision:" before the manufacture and revision. Via dbus: "Manufacturer" s "Revision: MTK 0828" "Revision" s "Revision: M95FAR02A08"
* build: Add cleanup.h from ellDenis Kenzior2021-11-021-1/+2
|
* Release 1.331.33Marcel Holtmann2021-09-152-1/+6
|
* simfs: Fix reads beyond the first blockSlava Monich2021-07-301-8/+6
|
* gemalto: radio-settings: cleanupSergey Matyukevich2021-07-271-9/+6
| | | | | | Enum ofono_radio_access_mode has been replaced by unsigned int. This change allows to move handling of all the modes into 'switch' in the function gemalto_set_rat_mode.
* plugins: gemalto: move ussd atom to post_onlineSergey Matyukevich2021-07-151-2/+2
| | | | | Gemalto modem does not allow to enable Supplementary Service during post_sim stage. So move ussd atom to post_online stage.
* plugins: gemalto: add radio-settings atomSergey Matyukevich2021-07-151-0/+2
| | | | Instantiate Gemalto radio-settings atom in post_sim.
* gemalto: add radio-settings driverSergey Matyukevich2021-07-154-0/+273
| | | | Add support for Gemalto specific radio settings.
* README: Mention the new OFTC irc channelDenis Kenzior2021-06-151-0/+3
|
* radio-settings: Do not use enum ofono_access_modeDenis Kenzior2021-06-0113-47/+36
| | | | | | | Originally the enum was only meant to signify a single radio access mode preference, but over time its meaning was overloaded to be a bitfield with multiple preferences. Switch away from using an enum value to using an unsigned int to make it clearer that the value is a bitfield.
* qmimodem: Add handling of dual mode technology preferenceSean Nyekjaer2021-06-011-0/+6
| | | | | Handled dual mode technology preference "lte,gsm" for Quectel BG96. Quectel BG96 doesn't support ANY mode.
* radio-settings: Add handling of dual mode technology preferenceSean Nyekjaer2021-06-011-0/+6
| | | | | Allow setting of "lte,gsm" mode, for modems that doesn't support ANY mode.
* doc: radio-settings: adding UE dual mode operation propertySean Nyekjaer2021-06-011-0/+3
| | | | | | | | Added one new value for TechnologyPreference property as follows: "lte,gsm" Dual mode operation with LTE and GSM radio access whith preference for LTE.
* sim-auth: Parse auth response according to TS 31.102Slava Monich2021-06-014-84/+234
|
* simutil: Fill unused part of AID with FFsSlava Monich2021-06-011-0/+1
| | | | | Correct handling of short AIDs will take more than that, but leaving part of the array uninitialized is wrong in any case.
* Release 1.321.32Marcel Holtmann2021-05-052-1/+7
|
* treewide: Introduce support for missing g_memdup2Marcel Holtmann2021-05-0520-4/+47
|
* build: check for glib >= 2.68 first before checking for glib >= 2.60Marcel Holtmann2021-05-041-1/+3
|
* build: require glib >= 2.60JongSeok Won2021-04-301-2/+2
| | | | g_utf8_validate_len() is support after glib 2.60
* sim-auth: Only close open sessionsSlava Monich2021-04-301-1/+2
| | | | Session has to be open in order to have a valid session_id
* sim-auth: Remove watch if open_channel failsSlava Monich2021-04-301-0/+2
| | | | Otherwise open_channel won't be called again after a failure.
* build: Always link in the ell/useful.h header fileMarcel Holtmann2021-04-281-3/+13
|
* build: Include ell/main-private.h when using internal ELLMarcel Holtmann2021-04-281-0/+1
|
* treewide: Replace g_memdup with g_memdup2Marcel Holtmann2021-04-2817-25/+25
|
* mbimmodem: Remove usage of likely and unlikelyMarcel Holtmann2021-04-282-46/+45
|
* AUTHORS: Mention Alexey's contributionsDenis Kenzior2021-02-221-0/+1
|
* qmimodem: Add USSD indication supportAlexey Andreyev2021-02-221-0/+44
| | | | | | Handle USSD QMI indication messages. Add support for UCS2 USS Data coding scheme. Check for User Action TLV type.
* unit: add validate_utf8_tlv testsSergey Matyukevich2021-01-191-0/+22
|