Commit graph

493 commits

Author SHA1 Message Date
Amin Ben Ramdhane
0da026fd55 bbf: fix compilation error 2020-11-07 21:46:35 +01:00
Amin Ben Ramdhane
df0603eedb Ticket refs #3769: bbf: add support for dynamic obj/param when generating excel file 2020-11-07 21:31:44 +01:00
Amin Ben Ramdhane
38bbb5e455 Ticket refs #2920: TR-181: Device.IP.Interface.{i}. IPv4Address, IPv6Address and IPv6Prefix multi-instance objects are treated as single-instance 2020-11-07 19:12:29 +01:00
Amin Ben Ramdhane
3183933dad bbf: update python scripts to python3 2020-11-02 22:58:41 +01:00
Amin Ben Ramdhane
421dc03778 Ticket refs #3592: bbf: Data model generation tool - missing root of tree 2020-10-30 00:09:13 +01:00
Charles Foster
334f691901 HF-3025: Add support for TR-104i2 validation
Return the name of the generated file. This is then used for validation, and then to delete the file once complete
2020-10-29 12:51:25 +01:00
Simon Tate
eac4d8e5da bbf: Correct vendor config argument name
USP calls the icwmp script with this argument, which uses the TR-069
definition for vendor configuration.

The name needs to match the specification and the argument specified in
icwmp.
2020-10-27 13:21:22 +01:00
Amin Ben Ramdhane
bfb602d751 QoS: remove unused variables 2020-10-26 10:58:24 +01:00
Shubham Sharma
17cd590dbf bbf: Added Device.QoS.Classification parameters for DHCP options 60,61,77 2020-10-26 14:54:44 +05:30
Amin Ben Ramdhane
9d151ba377 QoS: Fix invalid parameter values 2020-10-24 14:30:00 +01:00
Amin Ben Ramdhane
143afb5f2b bbf: check and create a new dmmap file if not there when adding a new section 2020-10-23 17:33:54 +01:00
Amin Ben Ramdhane
6da9750f96 bbf: Fixed crash on QEMU 2020-10-23 12:17:40 +01:00
Amin Ben Ramdhane
a83984d914 Ticket refs #3539: bbf: the setting of Interface param has no effect on diagnostic objects 2020-10-19 23:06:05 +01:00
Amin Ben Ramdhane
8ba74d624b bbf: add unique_keys argument to the comment
-  change (const char *[]) -> LIST_KEY
2020-10-17 14:54:33 +01:00
Amin Ben Ramdhane
5839164c29 TR-181: Fixed invalid int && unsignedInt && hexBinary parameter values 2020-10-17 14:08:40 +01:00
Amin Ben Ramdhane
40873019ff tr104: fix compiler warning
-  strncpy size out of bounds.
2020-10-16 11:49:20 +01:00
Daniel Danzberger
5eaa3d3906 tr181: ieee1905: fix invalid use of strncat
- Using strncat with source string lenght as limit makes no sense
- Fixes potential stack overflow of list_val
- No need to 0 initialize full list_val buffer

Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
2020-10-16 10:39:52 +02:00
Amin Ben Ramdhane
a07102c32b Get_schema: add the missing unique keys for TR181 and TR104
- Update JSON files for tr181 and tr104
- Update the generator
2020-10-14 16:33:02 +01:00
Amin Ben Ramdhane
e6bef090e9 fix uspd compilation 2020-10-14 12:53:49 +01:00
Amin Ben Ramdhane
c4c10e2b9c WiFi.DataElements: fix some issues 2020-10-14 11:50:45 +01:00
Amin Ben Ramdhane
78471d0f0a WiFi.DataElements: move source code 2020-10-14 11:50:37 +01:00
sverma
4b47c9feab bbf: Added 'base64' datatype 2020-10-14 11:27:08 +05:30
sverma
2a88a4c5af bbf: Added support for Device.WiFi.DataElements.Network. 2020-10-13 19:14:15 +05:30
vdutta
e98590509b test: Trigger uspd test on non-protected branch 2020-10-13 12:31:16 +02:00
Shubham Sharma
a9fc190ed1 get_schema: Get unique keys from multi instance objects
- As per TR181, there could be one or more unique keys for each
   multi-instance object. Added support to get the unique keys
   associated with the multi-instance object.
 - Changes for generate_source_code.sh to have unique keys as
   extra object parameter.
2020-10-13 10:51:47 +01:00
nevadita.chatterjee
ec19e0c787 bbf: Added generic_phy topology param in ieee1905 2020-10-13 11:02:44 +02:00
vdutta
dca7c8f17d test: trigger uspd tests 2020-10-13 11:00:21 +02:00
Amin Ben Ramdhane
2d113c576d Ticket refs#3484: TR-181: Invalid dateTime parameter values 2020-10-12 18:57:48 +01:00
Amin Ben Ramdhane
ef0d2e9f6b Ticket refs#3480: TR-181: Invalid IPv6Adress parameter values 2020-10-12 18:56:52 +01:00
Amin Ben Ramdhane
6b10b2c8e0 QoS: Fix compilation on OpenWrt platform 2020-10-11 19:19:42 +01:00
Rahul
2f2a0ed678 bbf: add support for QoS.Policer 2020-10-11 20:17:04 +02:00
nevadita.chatterjee
0078bc882f bbf: Added CUSTOM_PREFIX param in ieee1905 2020-10-10 17:04:21 +02:00
Amin Ben Ramdhane
c395e8dd51 DHCPv4: fix SentOption segfault issue
- Device.DHCPv4.Client.{i}.SentOption.1.Enable : fix get/set segfault issue
- Device.DHCPv4.Client.{i}.SentOption.1.Tag : fix get/set segfault issue
- Device.DHCPv4.Client.{i}.SentOption.1.Value : fix get/set segfault issue
- Device.DHCPv4.Client.{i}.SentOption.: fix add/del segfault issue
2020-10-10 12:46:34 +01:00
Amin Ben Ramdhane
608bb009c9 DHCPv4: fix MaxAddress param value 2020-10-10 12:41:05 +01:00
Amin Ben Ramdhane
c6602debdd Revert "DHCPv4: fix segfault issue"
This reverts commit 893e27b7f9.
2020-10-10 12:35:42 +01:00
Amin Ben Ramdhane
17294eace9 ServerSelectionDiagnostics: add a custom_prefix to port parameter 2020-10-09 14:05:56 +01:00
Amin Ben Ramdhane
893e27b7f9 DHCPv4: fix segfault issue
- Device.DHCPv4.Server.Pool.{i}.MaxAddress: fix its value
- Device.DHCPv4.Client.{i}.SentOption.1.Enable : fix get/set segfault issue
- Device.DHCPv4.Client.{i}.SentOption.1.Tag : fix get/set segfault issue
- Device.DHCPv4.Client.{i}.SentOption.1.Value : fix get/set segfault issue
- Device.DHCPv4.Client.{i}.ReqOption.: fix add/del segfault issue
2020-10-08 19:19:27 +01:00
Amin Ben Ramdhane
a8dc2edcfa WiFi: fix some issues
- Device.WiFi.Radio.1.SupportedStandards : fix its value
- Device.WiFi.EndPoint.1.WPS.ConfigMethodsEnabled : fix its set value
- Device.WiFi.EndPoint.1.WPS.PIN : fix its set value
- Device.WiFi.EndPoint. : fix segfault when calling delete_obj all
2020-10-08 19:19:18 +01:00
Amin Ben Ramdhane
5573fd538a InterfaceStack: fix the value of LowerAlias parameter when it's mapped to VLANTermination 2020-10-08 19:19:06 +01:00
Amin Ben Ramdhane
44afc16309 DynamicDNS: fix ServerPort & LastUpdate issues 2020-10-08 19:18:58 +01:00
Amin Ben Ramdhane
a92bad46c5 Ethernet: change the type of UnknownProtoPacketsReceived parameter 2020-10-08 19:18:49 +01:00
Omar Kallel
5dec85888a Clean just parameters list from the context 2020-10-08 19:00:18 +01:00
Omar Kallel
0b0e8a9bdc Extract end_session_flag from bbf to icwmp 2020-10-08 18:59:33 +01:00
Omar Kallel
3505476fa7 Fix warnings 2020-10-08 18:45:14 +01:00
Omar Kallel
718b1504c7 cleanup: remove unused notification functions 2020-10-08 18:41:33 +01:00
Omar Kallel
69a7acef3f Add entry get_value function for full path parameter 2020-10-08 18:41:07 +01:00
Omar Kallel
55ee5403eb add function to update .dm_enabled_file called from external program 2020-10-08 18:40:34 +01:00
Amin Ben Ramdhane
240b7b7488 Voice: fix the Get/Set value of CodecList parameter 2020-09-29 19:11:18 +01:00
Yalu Zhang
bbce1a47af Solve problems found in the second round of internal test
Make CallStatus and CallLog's parameters more TR-104 compliant.
2020-09-29 17:08:16 +02:00
Amin Ben Ramdhane
895c6d6e88 bbf: use dmuci_init_bbfdm function when allocating uci_ctx_bbfdm 2020-09-28 13:11:07 +01:00