| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Otherwise callback will be called on late response with dangling user_data.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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;
| ^~~
|
|
|
|
|
|
|
|
|
|
|
|
| |
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];
| ^~~
|
|
|
|
|
|
|
|
| |
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);
| ^~
|
|
|
|
|
| |
EC200T doesn't indicate that the Phonebook initialization
is completed (==4) if AT+CFUN=4
|
|
|
|
| |
3GPP mandated CHAP to be used as the default
|
|
|
|
|
| |
If the user name or user name together with the password for an AP
are not provided the NONE auth method should be used
|
|
|
|
|
| |
If a user name or user name together with a password for an AP
are not provided the NONE auth method should be used
|
|
|
|
| |
This reverts commit a5bdf48ca7be70a9b33a47dae0ea03bf842efdd2.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
| |
|
| |
|
|
|
|
|
|
|
| |
Quectel devices returns "Revision:" before the manufacture and revision.
Via dbus:
"Manufacturer" s "Revision: MTK 0828"
"Revision" s "Revision: M95FAR02A08"
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Gemalto modem does not allow to enable Supplementary Service
during post_sim stage. So move ussd atom to post_online stage.
|
|
|
|
| |
Instantiate Gemalto radio-settings atom in post_sim.
|
|
|
|
| |
Add support for Gemalto specific radio settings.
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Handled dual mode technology preference "lte,gsm" for Quectel BG96.
Quectel BG96 doesn't support ANY mode.
|
|
|
|
|
| |
Allow setting of "lte,gsm" mode,
for modems that doesn't support ANY mode.
|
|
|
|
|
|
|
|
| |
Added one new value for TechnologyPreference property
as follows:
"lte,gsm" Dual mode operation with LTE
and GSM radio access whith preference
for LTE.
|
| |
|
|
|
|
|
| |
Correct handling of short AIDs will take more than that, but
leaving part of the array uninitialized is wrong in any case.
|
| |
|
| |
|
| |
|
|
|
|
| |
g_utf8_validate_len() is support after glib 2.60
|
|
|
|
| |
Session has to be open in order to have a valid session_id
|
|
|
|
| |
Otherwise open_channel won't be called again after a failure.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Handle USSD QMI indication messages.
Add support for UCS2 USS Data coding scheme.
Check for User Action TLV type.
|
| |
|