Commit graph

260 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
Amin Ben Ramdhane
e4f1fd8653 WiFi: fix get/set value of SupportedFrequencyBands and OperatingFrequencyBand parameters 2020-06-22 16:43:17 +01:00
Sukru Senli
bea58e17e7 wifi: correct noise mapping 2020-06-18 16:04:53 +02:00
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
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
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
98c3869a3c remove manufacuter option from cwmp.cpe 2020-06-04 13:03:06 +01:00
Amin Ben Ramdhane
f390662d68 DeviceInfo: add DeviceCategory, AdditionalHardwareVersion and AdditionalSoftwareVersion parameters 2020-06-04 12:35:12 +01:00