Commit graph

347 commits

Author SHA1 Message Date
Yalu Zhang
efdef65178 TR-104: reimplementation of voice service Device.Services.VoiceService. as per tr-104-2-0-2-usp
- Configurations
- Capabilities
- Status
- Call logs
2020-09-01 20:06:23 +02:00
Feten Besbes
8780d08ad2 Refs #2862: TR181 : issues related to Lowerlayers management and order dependency 2020-09-01 18:07:50 +01:00
Amin Ben Ramdhane
bc400a368d Ticket refs#3005: fix issue in get schema method 2020-08-31 14:59:37 +01:00
Amin Ben Ramdhane
9b2fdc3562 Ticket refs #2845: fix add object issues 2020-08-31 10:22:31 +01:00
Feten Besbes
450f72bbde Refs 27780 - TR181: Segfault starting icwmpd in basic bridge configuration 2020-08-28 18:12:09 +01:00
Daniel Danzberger
0e46e0630b operate: fix memory issues
- Fix memleak of not free'd json_tokener_parse memory
- Make read-only memory const

Note that this commit changes the operation input argument from
'char *' to 'json_object *', which breaks older dynamic_operate
implementations from outisde the bbf source tree.

Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
2020-08-27 12:43:48 +02:00
Daniel Danzberger
c1501b5077 tr181: implement Device.DeviceInfo.FirmwareImage.
This implementation uses the currently running image as image number 1.
An OS dependent implementation with multi Firmware support will be
added in the future.

Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
2020-08-26 14:01:51 +02:00
Amin Ben Ramdhane
f9d2c345f1 Ticket refs #2974: Referenced objects have trailing dot 2020-08-26 11:26:33 +01:00
Omar Kallel
7ec89f485b Fix InterfaceStack issues: Ethernet.Link, Bridge.x.Port. 2020-08-25 15:31:30 +01:00
Omar Kallel
2b25d77d26 InterfaceStack LowerAlias: case PPP is higher and VLANTermination is Lower 2020-08-25 15:31:15 +01:00
Omar Kallel
7a4e9504fd Fix some InterfaceStack LowerLayer/LowerAlias 2020-08-25 15:31:02 +01:00
Omar Kallel
e9755c741e Fix InterfaceStack issue case Lowerlayer is Ethernet.Link. 2020-08-25 15:30:49 +01:00
Amin Ben Ramdhane
a9e1a747b4 WiFi.Neighboring operate: fix OperatingFrequencyBand and Noise parameters 2020-08-22 17:15:30 +01:00
Amin Ben Ramdhane
bbecdd7444 Ticket refs #2845: bbf: add support the case uci config is updated manually 2020-08-22 16:37:32 +01:00
Amin Ben Ramdhane
83f69f9c53 bbf: fix compiler warnings 2020-08-18 15:43:32 +01:00
Rohit Topno
5dfeca7cdb bbf: Made ingress and egress qos mapping configurable through tr181.
Author:    Rohit Topno <r.topno@gxgroup.eu>
 Date:      Wed Aug 12 00:34:33 2020 +0530
2020-08-18 15:34:23 +02:00
Amin Ben Ramdhane
8bc317df54 bbf: clean mcast
- Move missing mcast functions from dmcommon file to mcast file
- Remove extern from function declarations
- Fix some indentation
- Comment unsupported parameters
2020-08-18 14:27:56 +01:00
Ratish
e766b7717a bbf : Removal of duplicate code from igmp and mld files. 2020-08-18 12:07:41 +02:00
Ratish
454be64405 igmp stats: Moved the mcast specific function to igmp file and mld file. 2020-08-18 12:07:41 +02:00
Daniel Danzberger
164250ca8e Add CMD_GET_INSTANCES
This new command will return all instances on a given path

Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
2020-08-06 10:34:41 +02:00
Omar Kallel
7b409eba77 Device.InterfaceStack LowerAlias fixes: missing some stacks 2020-08-03 12:40:13 +01:00
Omar Kallel
ae78994eea Ticket refs #2930: TR-181: Invalid Device.InterfaceStack.{i}.LowerAlias values 2020-07-28 12:32:08 +01:00
Sukru Senli
902cb572a0 wifi: fix handlig of MaxAllowedAssociations and WMM parameters 2020-07-27 11:13:03 +02:00
Vivek Kumar Dutta
32f5cb92dd dmcommon: Update boolean validator 2020-07-16 11:38:09 +02:00
Daniel Danzberger
c924d27338 tr181: qos-openwrt: fix #endif's without #if
This commit fixes compile errors when use -DGENERIC_OPENWRT,
due to unopened #endif's

Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
2020-07-11 15:08:22 +02:00
Amin Ben Ramdhane
6a0545cf50 TR181 : issues related to Lowerlayers management and order dependency 2020-07-11 09:16:23 +01:00
Amin Ben Ramdhane
452858fe1e WiFi.Radio.: fix get/set of [AutoChannelRefreshPeriod,RegulatoryDomain,SupportedOperatingChannelBandwidths] parameters 2020-07-11 09:15:13 +01:00
Amin Ben Ramdhane
712071eaaf Ticker refs #2909: TR-181: some DHCP and Firewall objects are missing Alias parameter 2020-07-10 10:57:20 +01:00
Amin Ben Ramdhane
9f48e11e9b Ticket refs #2903: TR-181: Device.WiFi.Radio.{i}.[SupportedOperatingChannelBandwidths && PossibleChannel] parameters is reporting wrong data 2020-07-09 17:42:10 +01:00
Amin Ben Ramdhane
b408257e35 Enhance code structure 2020-07-08 18:38:08 +01:00
vdutta
bfd4f7bae5 obuspa: Get data model schema present in DUT
- Obuspa required to register the schema present in DUT, in the
 current methods, for multi-instance objects the instance is only
 visible if at-least one object/instance present, this leads to
 anomaly in obuspa, when some objects getting created in run-time.
 e.g: Device.WiFi.AccessPoint.1.AssociatedDevice.
 - This change will dump the complete schema irrespective of that node/object
 availability.
2020-07-08 13:51:42 +02:00
Amin Ben Ramdhane
f3c9ed9efd PPP.Interface.: fix get value of stats parameters 2020-07-07 19:39:08 +01:00
Omar Kallel
cfb5016c90 fix Device.WiFi.AccessPoint.1.AllowedMACAddress parameter 2020-07-06 12:06:10 +01:00
Rahul
1cf9c8330f bbf: add support anywan type upstream iface in igmp
It was observed on dg400prime that the uci config was not correctly
generated when wan was of type anywan, this has been taken care of in
this patch. For anywan type IP interface, the list of upstream interfaces
is generated to keep each interface in mind. So, Device.IP.Interface.2
in this case will generate
	list upstream_interface 'eth5.1'
	list upstream_interface 'atm0.1'
	list upstream_interface 'ptm0.1'

test:
- Verify that config is correctly generated for normal interface.
- Verify that config is correctly generated for anywan interface.
- Verify that config is correctly generated for bridge interface.
2020-07-05 16:19:03 +05:30
Rohit Topno
1992e2a560 bbf: Added Support to configure QoS classification object and its parameters. 2020-07-01 14:42:53 +02:00
Amin Ben Ramdhane
f6657f03b9 IP: fix set value of IPv6Enable parameter 2020-06-30 19:05:07 +01:00
Rohit Topno
6b396341f1 igmp stats: Reduced code duplication. Reduced functions containing common code into single function. 2020-06-29 11:37:27 +02:00
Rohit Topno
32838bd17a igmp: Added function definition to get igmp snooping and proxy stats through bbf.
The main changes are in x_iopsys_eu_igmp.c file. Changes in other file is only to
get reference to Device.Hosts.Host object for associated device host IP (linker function)
2020-06-29 11:37:27 +02:00
vdutta
57ae1244cc obuspa: List supported operate commands 2020-06-29 12:50:01 +05:30
Amin Ben Ramdhane
2e4bc3688b UCI: added get value functions with a default value 2020-06-28 19:02:09 +01:00
Amin Ben Ramdhane
e0334ebe18 WiFi: added add/delete object for AccessPoint object 2020-06-26 16:35:24 +01:00
Amin Ben Ramdhane
0ac2a81280 SoftwareModules: add operate commands 2020-06-25 18:24:27 +01:00
Omar Kallel
9b8c23ee30 Enhance separation between libbbf_api and libbbfdm for list_enabled_lw_notify variable && fix warnings 2020-06-23 11:39:55 +01:00
Omar Kallel
856d4de5df enhance separation between libbbf_api and libbbfdm (functions: dm_update_file_enabled_notify, copy_temporary_file_to_original_file, del_list_fault_param, json functions) 2020-06-23 10:47:57 +01:00
Omar Kallel
ca758fd9f3 Enhance bbf libs separation: upnp_in_user_mask, list_execute_end_session, apply_end_session, cwmp_set_end_session 2020-06-23 10:47:46 +01:00
Omar Kallel
b6be5bdaa0 Enhance separation between libbbf_api and libbbfdm: apply for end_session_flag variable 2020-06-23 10:47:28 +01:00
Amin Ben Ramdhane
e4f1fd8653 WiFi: fix get/set value of SupportedFrequencyBands and OperatingFrequencyBand parameters 2020-06-22 16:43:17 +01:00
vdutta
ca77ff8d68 obuspa: Added object_type in GET_NAME method 2020-06-19 09:49:37 +01:00
Sukru Senli
bea58e17e7 wifi: correct noise mapping 2020-06-18 16:04:53 +02:00
vdutta
5370a70bee uspd: Report usp fault number if set fails 2020-06-17 19:10:51 +05:30