Commit Graph

167 Commits

Author SHA1 Message Date
b562696120 debug logs 2025-10-21 23:14:21 +08:00
ed3d502783 debug logs 2025-10-21 22:46:36 +08:00
11399e8942 debug logs 2025-10-21 00:21:18 +08:00
1e2c04e0bb debug logs 2025-10-18 14:56:12 +08:00
100d9873c8 debug logs 2025-10-18 14:25:07 +08:00
aeeb20499f debug logs 2025-10-18 12:04:24 +08:00
b8991bde50 debian files 2025-10-17 23:54:18 +08:00
01a7c0fe71 debian files 2025-10-17 22:45:39 +08:00
TheKit
0686f965fb add hack to allow more than 1 active context on MTK
[ratchanan@ubports.com: port the patch to ofono-binder-plugin]

Origin: vendor
Bug-UBports: https://gitlab.com/ubports/development/core/packaging/ofono-binder-plugin/-/issues/1
Forwarded: not-needed
2025-10-17 22:40:36 +08:00
e29eaa45e8 Makefile don't meddle with debian folder 2025-10-17 22:40:24 +08:00
Marius Gripsgard
cd40ce7466 Makefile: allow building against an oFono variant 2025-10-17 22:38:27 +08:00
TheKit
f1bc06ee38 Makefile: do not remove debian/*.install during clean step 2025-10-17 22:38:27 +08:00
Matti Lehtimäki
3aff488691 Version 1.1.21 1.1.21 2025-02-13 15:40:01 +02:00
Matti Lehtimäki
40c9293493 Merge pull request #43 from mer-hybris/jb63132
Fix VoLTE toggling. Fix some memory related and other issues
2025-02-13 15:35:57 +02:00
Matti Lehtimäki
b00ecc5417 [ofono-binder] Fix disabling and enabling VoLTE with toggle. JB#63009 2025-02-12 15:24:34 +02:00
Matti Lehtimäki
7dd348cb90 [ofono-binder] Fix incorrectly emitting binder property signals. JB#63132 2025-02-12 15:24:34 +02:00
Matti Lehtimäki
20f286f2a2 [ofono-binder] Fix null pointer dereference and incorrectly reporting call failure status. JB#63132 2025-02-12 15:24:34 +02:00
Matti Lehtimäki
33f5a70553 [ofono-binder] Fix double free when SMS sending fails. JB#63132
Only affects AIDL interface.
Fix an indentation style issue and reduce the scope of some variables.
2025-02-12 15:24:34 +02:00
Matti Lehtimäki
fadbe2be24 Version 1.1.20 1.1.20 2025-02-01 18:09:05 +02:00
Eugenio Paolantonio (g7)
4e9dc9670c [ofono-binder] util: drop RAF_EHRPD from UMTS and LTE families
EHRPD is only used in CDMA networks. The modem might not expect
it and raise an INVALID_ARGUMENT when using setPreferredNetworkTypeBitmap.

Signed-off-by: Eugenio Paolantonio (g7) <me@medesimo.eu>
2025-02-01 18:07:31 +02:00
Matti Lehtimäki
b1d9cf7c63 Version 1.1.19 1.1.19 2025-01-24 15:53:51 +02:00
Matti Lehtimäki
d9724f63bd Merge pull request #42 from mer-hybris/jb63068
Fix some memory issues in AIDL interface support
2025-01-24 15:52:01 +02:00
Matti Lehtimäki
4f6f4555f4 [ofono-binder] Fix initializing data profile for initial attach APN. JB#63068
Initialization was missing for AIDL interface.
2025-01-24 15:26:12 +02:00
Matti Lehtimäki
fd57dda0ba [ofono-binder] Fix memory allocation size for a string. JB#63068
Used in AIDL interface. Incorrect size caused writing outside of allocated memory.
2025-01-24 15:18:52 +02:00
Slava Monich
0ad76c3528 Version 1.1.18 1.1.18 2024-11-15 15:15:13 +02:00
Slava Monich
6b30a0ec0b [binder-ofono] Tweaked compilation warning binder_sms_on_sim
Replaced this warning in the release build:

src/binder_sms.c:1120:13: warning: unused variable 'ind_code' [-Wunused-variable]
     guint32 ind_code = self->interface_aidl == RADIO_MESSAGING_INTERFACE ?
             ^~~~~~~~

with this one (whichi appears in both release and debug builds):

src/binder_sms.c:1124:18: warning: comparison between 'RADIO_IND' {aka 'enum radio_ind'}
and 'enum radio_messaging_ind' [-Wenum-compare]
             code == RADIO_MESSAGING_IND_NEW_SMS_ON_SIM);
                  ^~

The enum-compare warning is at least useful because it reminds about
different enums being mixed up.
2024-11-15 15:13:17 +02:00
Slava Monich
2cfc88f62b Merge pull request #41 from monich/housekeeping
Fix compilation issues
2024-11-15 14:56:51 +02:00
Slava Monich
8287ee7558 [ofono-binder] Fix compilation issues
src/binder_voicecall.c: In function 'binder_voicecall_list_find_call_with_id':
src/binder_voicecall.c:377:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
     for (GSList* l = list; l; l = l->next) {
     ^

src/binder_voicecall.c: In function 'binder_voicecall_merge_call_lists':
src/binder_voicecall.c:403:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
     for (GSList* l = self->calls; l; l = l->next) {
     ^

src/binder_voicecall.c: In function 'binder_voicecall_call_state_changed_event':
src/binder_voicecall.c:1386:13: warning: unused variable 'ind_code' [-Wunused-variable]
     guint32 ind_code = self->interface_aidl == RADIO_VOICE_INTERFACE ?
             ^
2024-11-15 05:52:01 +02:00
Slava Monich
da9353ab74 Merge pull request #40 from monich/jb62411-1
Respect sms and voice IMS caps
2024-11-14 18:32:05 +02:00
Slava Monich
aebd7d431a [ofono-binder] Respect sms and voice IMS caps. JB#62411
Check the caps obtained from the IMS plugin in addition to the
registration status.
2024-11-07 03:19:46 +02:00
Matti Lehtimäki
f8eede4395 [ofono-binder] Fix external dial status. JB#62411 2024-11-03 01:41:14 +02:00
Slava Monich
50d226e401 Merge pull request #31 from NotKit/merge-ext-calls
Fallback to IRadio in binder_voicecall_answer and merge calls lists
2024-11-02 20:17:35 +02:00
Slava Monich
59d4bfb259 Merge pull request #39 from monich/build_fixes
Build fixes
2024-10-28 18:21:22 +02:00
Slava Monich
c413645fff [ofono-binder] Fix compilation errors
src/binder_plugin.c: In function 'binder_logger_dump_update_slot':
src/binder_plugin.c:471:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
     for (RADIO_AIDL_INTERFACE i = 0; i < RADIO_AIDL_INTERFACE_COUNT; i++) {
     ^
src/binder_plugin.c:471:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
src/binder_plugin.c: In function 'binder_logger_trace_update_slot':
src/binder_plugin.c:489:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
     for (RADIO_AIDL_INTERFACE i = 0; i < RADIO_AIDL_INTERFACE_COUNT; i++) {
     ^
src/binder_plugin.c: In function 'binder_plugin_is_slot_client_connected':
src/binder_plugin.c:533:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
     for (RADIO_AIDL_INTERFACE i = 0; i < RADIO_AIDL_INTERFACE_COUNT; i++) {
     ^
src/binder_plugin.c: In function 'binder_plugin_slot_shutdown':
src/binder_plugin.c:608:13: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
             for (RADIO_AIDL_INTERFACE i = 0; i < RADIO_AIDL_INTERFACE_COUNT; i++) {
             ^
src/binder_plugin.c: In function 'binder_plugin_slot_enabled_changed':
src/binder_plugin.c:787:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
     for (RADIO_AIDL_INTERFACE i = 0; i < RADIO_AIDL_INTERFACE_COUNT; i++) {
     ^
make: *** [Makefile:204: build/release/binder_plugin.o] Error 1
2024-10-28 03:02:56 +02:00
Slava Monich
04c803da45 [rpm] Use make_build macro when it's available 2024-10-28 02:58:54 +02:00
Slava Monich
1e9c46a485 [rpm] Bump ofono version requirement 2024-10-28 02:57:22 +02:00
Matti Lehtimäki
8d3a7a6048 Version 1.1.17 1.1.17 2024-09-26 21:30:31 +03:00
Matti Lehtimäki
c047df31bb Merge pull request #37 from mer-hybris/aidl-fix
[ofono-binder] Fix getting IMEI with HIDL interface. JB#61702
2024-09-26 21:29:43 +03:00
Matti Lehtimäki
1f2d9a7175 [ofono-binder] Fix getting IMEI with HIDL interface. JB#61702
Writing to incorrect array index overwrote other values.
2024-09-26 20:03:07 +03:00
Matti Lehtimäki
05b9507a7c Version 1.1.16 1.1.16 2024-09-26 14:32:32 +03:00
Matti Lehtimäki
51b3dfafa6 Merge pull request #36 from mer-hybris/aidl
Add support for AIDL interfaces
2024-09-26 14:26:44 +03:00
Nikita Ukhrenkov
eaeb88b504 [ofono-binder] Add USSD requests support for AIDL 2024-09-26 01:25:59 +03:00
Matti Lehtimäki
eb9fcfd261 [ofono-binder] Add IMS registration support for AIDL 2024-09-26 01:25:59 +03:00
Matti Lehtimäki
73c65171c6 [ofono-binder] Add SIM toolkit support for AIDL 2024-09-26 01:25:59 +03:00
Matti Lehtimäki
88de129781 [ofono-binder] Add call volume support for AIDL 2024-09-26 01:25:59 +03:00
Matti Lehtimäki
e96d1e6c29 [ofono-binder] Add call settings support for AIDL 2024-09-26 01:25:59 +03:00
Matti Lehtimäki
c016258c24 [ofono-binder] Add call forwarding support for AIDL 2024-09-26 01:25:59 +03:00
Matti Lehtimäki
4ccfd647c9 [ofono-binder] Add support for IRadioVoice interface 2024-09-26 01:25:59 +03:00
Matti Lehtimäki
46db487a09 [ofono-binder] Add support for AIDL call barring 2024-09-26 01:25:59 +03:00
Matti Lehtimäki
8c9ccc3cbd [ofono-binder] Add support for AIDL IRadioMessaging boardcast SMS 2024-09-26 01:25:59 +03:00