Commit graph

330 commits

Author SHA1 Message Date
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
Sukru Senli
6bca198934 firewall: default value and uci mapping fixes 2020-06-13 14:50:20 +02:00
Sukru Senli
a193d35b84 hosts: add ActiveLastChange parameter support 2020-06-13 13:49:18 +02:00
Amin Ben Ramdhane
41fdc02419 Ticket refs #2746: TR-181: IPv6Prefix validation is not working 2020-06-13 00:32:02 +01:00
Sukru Senli
bb6b54e3ef voiceservice: adapt new country codes 2020-06-11 18:20:26 +02:00
Daniel Danzberger
3b7fe9237b dm_strword: fix invalid memory access
Calling this dm_strword with an emtpy 'str' can cause invalid memory
access. This commit checks for an empty string.

NOTE: This function is insecure and can cause segfaults
      when 'str' is larger than 'source'

Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
2020-06-09 22:24:58 +02:00
Sukru Senli
9ee0484353 tr104: adapt to voice_client->asterisk config change 2020-06-08 17:19:39 +02:00
Amin Ben Ramdhane
cd31a6ca60 Ticket refs #2539: TR-181: Device.Hosts.Host.{i}.WANStats. 2020-06-08 12:43:16 +01:00
vdutta
d71af3a2a0 uspd: Remove invalid character from type field of operate cmd 2020-06-08 11:52:47 +05:30
Amin Ben Ramdhane
8d86290889 Ethernet.Interface.{i}.Stats: update stats values
Keep the parameters available in sysfs and read the missing ones from ubus ethernet/ifstats object
2020-06-05 18:40:32 +01:00
Sukru Senli
361a23aae1 wifi-iopsyswrt: fix AssociatedDevice Noise mapping 2020-06-05 18:23:24 +02:00
Amin Ben Ramdhane
7c43ff13a3 Ethernet.Interface.{i}.Stats: read values from ubus ethernet/stats instead of sysfs 2020-06-05 17:00:24 +01:00
Omar Kallel
b035427a05 Return default value of Device.ManagementServer.UpgradesManaged 2020-06-05 16:01:45 +01:00
Amin Ben Ramdhane
c30dd0d2db Ticket refs #2644: TR-181: Device.Ethernet.RMONStats.{i} object 2020-06-05 15:45:41 +01:00
Omar Kallel
bc947cf023 Device.RootDataModelVersion type is wrong 2020-06-05 15:07:47 +01:00
Omar Kallel
d8bf042598 revert the commit 98c3869a3c 2020-06-04 17:08:32 +01:00
Omar Kallel
4266617b1b extract add_list_value_change and send_active_value_change from dmctx 2020-06-04 17:06:23 +01:00
Omar Kallel
98c3869a3c remove manufacuter option from cwmp.cpe 2020-06-04 13:03:06 +01:00