Commit graph

116 commits

Author SHA1 Message Date
Omar Kallel
24f856aad7 Ticket #6702: icwmp migrate from multithreading to ulooop (enhance sessions events manipulations) 2022-01-21 14:17:05 +01:00
Omar Kallel
d485fc0eef Revert DUMMY_MODE macro 2021-11-22 15:40:09 +01:00
Omar Kallel
4bef706ddf Ticket refs #6614: icwmp: fix static code anlysis issues generated by cpp check 2021-11-22 15:27:44 +01:00
Omar Kallel
dd51b8e770 Update year in head comment 2021-10-13 16:20:18 +01:00
Omar Kallel
49c0641b31 Ticket refs #5566: icwmp: move notifications feature from bbf to icwmp package 2021-08-09 17:22:07 +01:00
Omar Kallel
2ed3de6b28 Create new file rpc_soap.c instead of xml 2021-06-28 10:07:43 +01:00
Omar Kallel
520aac547b Ticket refs #5445: icwmp: SOAP messages unit tests 2021-06-25 11:47:05 +01:00
Amin Ben Ramdhane
a9f72148e2 exit icwmp properly when catching a signal 2021-06-24 09:10:03 +01:00
Omar Kallel
32246cad8d Ticket refs #5366: icwmp: fix transaction issue in case there are multiple RPC calls in one session 2021-06-17 15:40:59 +01:00
Omar Kallel
16659d7c16 Ticket refs #5041: cwmp: In DownloadRPC add support for '6 Stored Firmware Image' type 2021-06-04 14:49:59 +01:00
Amin Ben Ramdhane
faaedd342f Fix x86 compilation error using GCC 9 2021-06-04 14:49:41 +01:00
Omar Kallel
f73a82a126 Ticket refs #4935: icwmp: make all free of dynamic memory allocations (malloc, calloc, asprintf, strdup) in the end session 2021-06-04 14:49:28 +01:00
Simon Tate
8f7af4bd2d Fix crash on no parameter_key
Default parameter_key to a 0 length string, instead of NULL.

Otherwise, the code in cwmp_ubus_call and blobmsg_add_string
 will attempt a strlen on a NULL string, which segfaults.
2021-05-21 13:12:53 +00:00
Omar Kallel
53d5b0503a Ticket refs #3988: icwmpd: Unit Test of Data Model Interface and SOAP messages 2021-05-19 17:32:29 +01:00
Omar Kallel
067629637e Ticket refs #3731: icwmpd: Static Code Analysis (cpd) 2021-05-19 16:51:11 +01:00
Omar Kallel
218ee7fbc7 code enhancements and arrangement: session download upload scheduleInform changedustate 2021-05-18 12:34:29 +01:00
Omar Kallel
f5ac401208 Ticket refs #3731: icwmpd: Static Code Analysis (flawfinder) 2021-04-20 17:23:04 +01:00
Omar Kallel
5b24edae8f Ticket #4712: icwmp: convert icwmp.sh script to a C code 2021-04-15 10:57:37 +01:00
Omar Kallel
62cdbebd70 Enhance notification functions update_notify_file and check_value_change & add the function cwmp_get_single_parameter_value to call Inform parameters instead 2021-04-15 10:57:16 +01:00
Omar Kallel
5a4e7a0cfb Ticket refs #4423: icwmpd: icwmpd leaks memory 2021-03-23 13:36:35 +01:00
Omar Kallel
3bd3f9093b Fix some memory mngment issues 2021-03-05 16:32:20 +01:00
Omar Kallel
014239d54d Fix dslform-org namespace in soap-env tag 2021-03-02 10:43:11 +01:00
Omar Kallel
fc7687de2d Make icwmp compiling under x86 2021-01-19 17:26:46 +01:00
Omar Kallel
bf90808bbd Revert "Fiw flawfinder errors"
This reverts commit 416c954c21.
2021-01-06 14:07:42 +01:00
Omar Kallel
416c954c21 Fiw flawfinder errors 2021-01-06 11:35:58 +01:00
Omar Kallel
323fad3442 linux kernel styling complete && other cleanups 2021-01-05 15:59:16 +01:00
Omar Kallel
1d032520d0 Linux Kernel code-styling 2021-01-04 09:01:35 +01:00
Omar Kallel
71ac908626 Revert "Linux Kernel Coding Style"
This reverts commit a51a8eb4e7.
2021-01-04 08:49:37 +01:00
Omar Kallel
a51a8eb4e7 Linux Kernel Coding Style 2021-01-04 08:12:14 +01:00
Omar Kallel
6cf5c90a44 remove all bbf and dmmap from icwmp 2020-12-31 18:09:58 +01:00
Omar Kallel
5c92271ba5 Ticket refs #4068: CWMP: use usp.raw operate commands for Diagnostics 2020-12-31 18:09:27 +01:00
Omar Kallel
969d611db3 Add Werror to CFLAGS and Fix corresponding errors 2020-12-24 11:22:09 +01:00
Omar Kallel
699f340017 Ticket refs #4067: icwmp: source code enhancements 2020-12-23 19:28:14 +01:00
Amin Ben Ramdhane
be5ba980aa SoftwareModule: enhance ChangeDuState method 2020-12-21 20:37:44 +01:00
Omar Kallel
de35f8ef62 Fix memory leak coming from json 2020-12-18 13:31:46 +01:00
Omar Kallel
20fd75607a use usp.raw get Device.SoftwareModules.DeploymentUnit. instead the ubus method swmodules 2020-12-15 19:17:29 +01:00
Omar Kallel
299c59f2e8 move and update some bbf functions to icwmp && Delete some libbbfdm includes and TR098 macro 2020-12-15 15:17:57 +01:00
Omar Kallel
69baee1750 Align with uspd transaction_id updates 2020-12-11 11:30:33 +01:00
Omar Kallel
f1560b1305 Add uci api & fix other issues 2020-12-09 19:03:00 +01:00
Omar Kallel
22beb8fb06 Remove icwmpd cli && add md5 api 2020-12-08 11:46:25 +01:00
Omar Kallel
ebb598cc39 Fix transaction issues 2020-12-07 09:55:57 +01:00
Omar Kallel
be813a5501 Increase ubus_invoke timeout to be able to get Device. && fix ParameterValueStruct array number elements 2020-12-02 15:12:21 +01:00
Omar Kallel
ebc9a6fd10 Use transaction ubus methods && use setm_values instead of set ubus method 2020-12-01 17:54:40 +01:00
Omar Kallel
c579c9b4e9 Use the ubus mehtod 'usp.raw init_notify' to update dm_enabled_notify file && get inform parameters from a string array 2020-11-21 02:13:40 +01:00
Omar Kallel
5fba75c401 Fix warnings 2020-11-20 11:27:12 +01:00
Omar Kallel
9a54f684df Notification enhancements 2020-11-20 11:27:12 +01:00
Omar Kallel
31e806bc82 Fix set_values: parameterkey 2020-11-20 11:27:12 +01:00
Omar Kallel
5ea6e2e411 Ticket refs #3473: CWMP: make icwmpd run on top of ubus usp.raw object (Apply for RPC methods) 2020-11-20 11:26:57 +01:00
Omar Kallel
bd40ad3097 revert from the commit 47934d448f xml.c changements 2020-11-20 10:48:05 +01:00
Omar Kallel
74dbf0ef31 Revert "Ticket refs #3725: bbf: remove unnecessary arguments from object/parameter definition"
This reverts commit ed7eb20a1a.
2020-11-20 10:39:32 +01:00