| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
Added the protocol type of initial attach apn depends on protocol
type in LTE Atom.
|
| |
|
|
|
|
|
| |
oFono cannot determines the call of direction when the voicecall
is triggered in rilmodem
|
|
|
|
|
| |
gcc-6 fails to compile ofono due to #pragma directives. Limit them to
gcc versions where they are needed.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Previous commit changes character conversion functions to use ell memory
allocation routines. Update all uses to free memory using the same.
|
|
|
|
|
|
| |
There are a large number of files in the tree that define _GNU_SOURCE
despite not actually using features hidden behind this flag. This patch
removes all these definitions in one fell swoop...
|
|
|
|
|
|
|
|
| |
The driver vtables are read-only structures. This patch declares them as
'const' allowing the compiler to (optionally) put them in the RELRO
section. RELRO pages may be marked as read-only by the linker after
the relocations have been done ensuring that they aren't inadvertently
or maliciously altered at runtime.
|
|
|
|
|
|
|
|
|
|
|
| |
Added the explicit support for auth NONE.
It needs to be added in all drivers/*/gprs-context.c atoms.
This method is already supported by all atoms that support
authentication (ie, all but Sierra' swmodem driver).
The behavior is left unchanged in case of inconsistent parameters:
if username is empty, then fallback to auth NONE.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In file included from drivers/rilmodem/network-registration.c:40:
drivers/rilmodem/network-registration.c: In function ‘ril_cops_list_cb’:
./gril/gril.h:98:11: error: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Werror=restrict]
sprintf(print_buf, x); \
^~~~~~~~~
drivers/rilmodem/network-registration.c:583:3: note: in expansion of macro ‘g_ril_append_print_buf’
g_ril_append_print_buf(nd->ril, "%s [lalpha=%s, salpha=%s, "
^~~~~~~~~~~~~~~~~~~~~~
./gril/gril.h:98:11: error: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Werror=restrict]
sprintf(print_buf, x); \
^~~~~~~~~
drivers/rilmodem/network-registration.c:593:2: note: in expansion of macro ‘g_ril_append_print_buf’
g_ril_append_print_buf(nd->ril, "%s}", print_buf);
^~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/rilmodem/call-forwarding.c:41:
drivers/rilmodem/call-forwarding.c: In function ‘ril_query_call_fwd_cb’:
./gril/gril.h:98:11: error: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Werror=restrict]
sprintf(print_buf, x); \
^~~~~~~~~
drivers/rilmodem/call-forwarding.c:114:3: note: in expansion of macro ‘g_ril_append_print_buf’
g_ril_append_print_buf(fd->ril, "%s [%d,%d,%d,%s,%d]",
^~~~~~~~~~~~~~~~~~~~~~
./gril/gril.h:98:11: error: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Werror=restrict]
sprintf(print_buf, x); \
^~~~~~~~~
drivers/rilmodem/call-forwarding.c:124:2: note: in expansion of macro ‘g_ril_append_print_buf’
g_ril_append_print_buf(fd->ril, "%s}", print_buf);
^~~~~~~~~~~~~~~~~~~~~~
|
| |
|
| |
|
|
|
|
|
| |
Rilmodem driver updated to handle enabling
and disabling periodic serving cell updates
|
|
|
|
|
|
|
| |
drivers/rilmodem/stk.c: In function ‘ril_stk_probe’:
drivers/rilmodem/stk.c:210:18: error: ‘data’ is used uninitialized in
this function [-Werror=uninitialized]
struct cb_data *cbd = cb_data_new(stk, NULL, data);
|
|
|
|
|
|
| |
sending RIL_REQUEST_REPORT_STK_SERVICE_IS_RUNNING after
stk atom is created so that modem will inititialize
sim toolkit by sending terminal profile to sim.
|
| |
|
|
|
|
|
| |
Adds rilmodem driver for setting the default APN command.
The default APN is manage by config storage.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
split ril_pin_change_state_cb based on functionality w.r.t.
facility lock, puk and pin. Rename ril_pin_change_state to
more appropriate name ril_set_facility_lock and rename
ril_pin_change_state_cb to ril_enter_sim_pin_cb.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
The SIM PIN retries were not getting reset when the correct PIN/PUK
was entered.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Since the set_band implementation uses an OEM hook, it should be wrapped
behind a vendor quirk.
|
|
|
|
| |
set_band driver to set GSM band and UMTS band
|
| |
|
| |
|
|
|
|
|
|
|
| |
addrs variable seems to be used whenever multiple addresses are being
references. Either as a strv or a compound string separated by a
separator. In these cases addrs was used for a single address, which
was confusing.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
For historical reasons a netmask was always being set, even if one was
not provided.
|
| |
|
| |
|
| |
|
| |
|