Commit graph

363 commits

Author SHA1 Message Date
vdutta
a9dff9e621 operate: remove dependency of cmwp uci config 2020-09-11 13:01:35 +05:30
Amin Ben Ramdhane
720d704121 XMPP: update config options 2020-09-10 10:53:15 +01:00
Amin Ben Ramdhane
e9e1f3e886 STUN: add enable option 2020-09-10 10:53:06 +01:00
Amin Ben Ramdhane
bf62e02162 move twamp to its package as dynamic library 2020-09-10 10:52:57 +01:00
Amin Ben Ramdhane
8a96e39cb9 move udpechoserver to its package as dynamic library 2020-09-10 10:52:48 +01:00
Amin Ben Ramdhane
39eef2ada2 move bulkdata to its package as dynamic library 2020-09-10 10:52:38 +01:00
Amin Ben Ramdhane
7057d87e84 move xmpp to its package as dynamic library 2020-09-10 10:52:27 +01:00
Amin Ben Ramdhane
82d001806e Update config file name 2020-09-10 10:52:14 +01:00
Amin Ben Ramdhane
8d721664e6 db config: move /lib/db -> /etc/board-db due to changes in targets 2020-09-08 12:24:55 +01:00
Feten Besbes
1977b8308f Refs 2970 : GNX 27788: TR181: call order dependency when creating bridge 2020-09-07 19:10:46 +01:00
Amin Ben Ramdhane
e20b717d17 bbf: update dynamic library generator 2020-09-03 22:34:15 +01:00
Amin Ben Ramdhane
99705ac5f9 bbf: fix compiler warnings 2020-09-03 21:47:26 +01:00
Yalu Zhang
5bb35f740c TR-104: the correct range of telephone-event payload type shall be 96-127
Refer to https://www.iana.org/assignments/rtp-parameters/rtp-parameters.xhtml#rtp-parameters-1
2020-09-03 17:49:49 +02:00
Amin Ben Ramdhane
3a807945f9 Update bbf generator and json files 2020-09-03 14:17:04 +01:00
Amin Ben Ramdhane
ef8e6c2000 Bridging: check the dmmap file before calling add object 2020-09-03 11:16:33 +01:00
nevadita.chatterjee
725981c900 bbf: Added ieee1905 code 2020-09-02 18:30:16 +02:00
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