Commit Graph

108 Commits

Author SHA1 Message Date
Konrad Dybcio
60df9896b4 meson.build: Enable more warnings 2024-04-09 13:08:17 +02:00
Konrad Dybcio
dedf29cd9f qmi: fix format warnings 2024-04-09 12:58:19 +02:00
Konrad Dybcio
e96305af4e ns: fix format warnings 2024-04-09 12:58:19 +02:00
Konrad Dybcio
79e1bff341 lib: generate pkgconfig 2024-04-09 12:58:19 +02:00
Konrad Dybcio
0aa6f97771 lookup: fix format warnings 2024-04-09 12:58:19 +02:00
Konrad Dybcio
c3bdf79be2 treewide: meson
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
2024-04-09 12:58:19 +02:00
Konrad Dybcio
20d1f78be8 lookup: Add more services
42667c34e2/sec_config
2024-04-08 22:30:02 +02:00
Konrad Dybcio
2d7962efff Merge pull request #24 from a-wai/clean-service
Makefile: remove generated service file when cleaning
2024-04-08 22:25:25 +02:00
Konrad Dybcio
7777177772 Merge pull request #25 from Ristovski/patch-1
lookup: Add several new services
2024-04-08 22:24:32 +02:00
Konrad Dybcio
df4a4cbed5 Merge pull request #26 from flamingradian/ims-data-service
lookup: add IMS data service
2024-04-08 22:12:37 +02:00
Richard Acayan
22a69b4f5e lookup: add IMS data service
The IMS data service is the service responsible for configuring a
connection used by the modem for IMS. Add the service.

Signed-off-by: Richard Acayan <mailingradian@gmail.com>
2024-03-25 21:48:37 -04:00
Rafael Ristovski
d81b7a377c lookup: Add several new services 2023-11-01 17:14:40 +01:00
Arnaud Ferraris
936c1978d5 Makefile: remove generated service file when cleaning
After building the package, `make clean` doesn't delete the generated
service file. This patch ensures this file is included in the
`$(all-clean)` variable so it is removed when cleaning.
2023-08-17 12:16:03 +02:00
Dylan Van Assche
d0d471c96e lookup: add Snapdragon Sensor Core service
SDM845 and later expose a Snapdragon Sensor Core service (400) to access the sensors
 managed by a remoteproc. Add this service to the known list of services.

Signed-off-by: Dylan Van Assche <me@dylanvanassche.be>
2023-01-17 22:59:41 -06:00
Jami Kettunen
a4398c8bf2 Makefile: allow $(CFLAGS), $(LDFLAGS) override
The caller might have specified CFLAGS or LDFLAGS. Let's respect those.
Additionally drop LDFLAGS var definition as it is empty.
2023-01-05 11:00:29 -06:00
Bjorn Andersson
9dc7a88548 libqrtr: Zero-initialize sockaddr_qrtr
Valgrind complains that sockaddr_qrtr isn't properly initialized, even
though all fields are initialized. So explicitly clear the
sockaddr_qrtrs.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
v1.0
2020-12-07 08:44:31 -08:00
Bjorn Andersson
983b223423 lookup: Add TFTP to known services list
Service 4096 is a QRTR based implementation of the TFTP RFCs.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2020-11-16 10:38:14 -06:00
Loic Poulain
cb1a6476e6 qrtr-lookup: Add DPM service name
Data Port Mapper service is ID 47.

Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
2020-11-06 22:09:30 -08:00
Adam Serbinski
47e48a8d93 Android: Disable "treat warnings as errors". 2020-09-28 10:21:36 -05:00
Adam Serbinski
33bf949e4f Clang: fix for arithmetic disallowed on void pointers 2020-09-28 10:21:21 -05:00
Alex Khouderchah
fef484babd libqrtr: Use size_t for offsets
Currently, offsetof produces an unsigned long, while qmi_elem_info's
offset member is a uint32_t. Since this is not the same type on all
platforms, this change uses a size_t for both. stddef.h is also
included for the standard offsetof definition, which also produces a
size_t.

This change also makes similar modifications to list.h.
2020-09-28 10:18:59 -05:00
Julien Massot
2ed52a30f6 qrtr-ns.service: do not install as executable
Fix
systemd[1]: Configuration file /lib/systemd/system/qrtr-ns.service is marked executable. Please remove executable permission bits. Proceeding anyway.
2020-09-28 10:17:11 -05:00
Bjorn Andersson
7bd5cf3024 ns: Go dormant when exsting name server is found
With the introduction of the in-kernel nameserver launching the user
space qrtr-ns will fail, but typically other services depends on its
presence. As such, go dormant instead of failing when noticed that the
name service is already present.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2020-03-01 18:05:04 -08:00
Amit Pundir
2afd6f87b3 ANDROID: Add Android.bp makefile
Add Android.bp makefile to build libqrtr.so, qrtr-ns,
qrtr-cfg and qrtr-lookup targets for AOSP.

Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2020-02-03 09:17:15 -08:00
Bjorn Andersson
cd6bedd5d0 qrtr-ns.service: Add systemd service
Add qrtr-ns.service template and install this into /lib/systemd/system
after modifying it according to $(DESTDIR) and $(prefix)

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2019-07-24 23:25:16 -07:00